@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
|
@@ -886,6 +886,9 @@ export class SeamHttpEndpoints {
|
|
|
886
886
|
await clientSessions.get()
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
+
/**
|
|
890
|
+
* Creates a new [access code](https://docs.seam.co/low-level-apis/access-codes). For granting access, we recommend [Access Grants](https://docs.seam.co/use-cases/granting-access) instead: they work across both standalone smart locks and access control systems and manage the underlying codes for you. Use this low-level endpoint only when you need direct control over a code on a single device, such as setting a custom PIN value.
|
|
891
|
+
*/
|
|
889
892
|
get '/access_codes/create'(): (
|
|
890
893
|
parameters: AccessCodesCreateParameters,
|
|
891
894
|
options?: AccessCodesCreateOptions,
|
|
@@ -899,6 +902,19 @@ export class SeamHttpEndpoints {
|
|
|
899
902
|
}
|
|
900
903
|
}
|
|
901
904
|
|
|
905
|
+
/**
|
|
906
|
+
* Creates new [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.
|
|
907
|
+
*
|
|
908
|
+
* Users with more than one door lock in a property may want to create groups of linked access codes, all of which have the same code (PIN). For example, a short-term rental host may want to provide guests the same PIN for both a front door lock and a back door lock.
|
|
909
|
+
*
|
|
910
|
+
* If you specify a custom code, Seam assigns this custom code to each of the resulting access codes. However, in this case, Seam does not link these access codes together with a `common_code_key`. That is, `common_code_key` remains null for these access codes.
|
|
911
|
+
*
|
|
912
|
+
* If you want to change these access codes that are not linked by a `common_code_key`, you cannot use `/access_codes/update_multiple`. However, you can update each of these access codes individually, using `/access_codes/update`.
|
|
913
|
+
*
|
|
914
|
+
* See also [Creating and Updating Multiple Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes).
|
|
915
|
+
*
|
|
916
|
+
* For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes.
|
|
917
|
+
*/
|
|
902
918
|
get '/access_codes/create_multiple'(): (
|
|
903
919
|
parameters: AccessCodesCreateMultipleParameters,
|
|
904
920
|
options?: AccessCodesCreateMultipleOptions,
|
|
@@ -912,6 +928,9 @@ export class SeamHttpEndpoints {
|
|
|
912
928
|
}
|
|
913
929
|
}
|
|
914
930
|
|
|
931
|
+
/**
|
|
932
|
+
* Deletes an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
|
|
933
|
+
*/
|
|
915
934
|
get '/access_codes/delete'(): (
|
|
916
935
|
parameters: AccessCodesDeleteParameters,
|
|
917
936
|
options?: AccessCodesDeleteOptions,
|
|
@@ -925,6 +944,9 @@ export class SeamHttpEndpoints {
|
|
|
925
944
|
}
|
|
926
945
|
}
|
|
927
946
|
|
|
947
|
+
/**
|
|
948
|
+
* Generates a code for an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes), given a device ID.
|
|
949
|
+
*/
|
|
928
950
|
get '/access_codes/generate_code'(): (
|
|
929
951
|
parameters: AccessCodesGenerateCodeParameters,
|
|
930
952
|
options?: AccessCodesGenerateCodeOptions,
|
|
@@ -938,6 +960,11 @@ export class SeamHttpEndpoints {
|
|
|
938
960
|
}
|
|
939
961
|
}
|
|
940
962
|
|
|
963
|
+
/**
|
|
964
|
+
* Returns a specified [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
|
|
965
|
+
*
|
|
966
|
+
* You must specify either `access_code_id` or both `device_id` and `code`.
|
|
967
|
+
*/
|
|
941
968
|
get '/access_codes/get'(): (
|
|
942
969
|
parameters?: AccessCodesGetParameters,
|
|
943
970
|
options?: AccessCodesGetOptions,
|
|
@@ -951,6 +978,11 @@ export class SeamHttpEndpoints {
|
|
|
951
978
|
}
|
|
952
979
|
}
|
|
953
980
|
|
|
981
|
+
/**
|
|
982
|
+
* Returns a list of all [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
|
|
983
|
+
*
|
|
984
|
+
* Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.
|
|
985
|
+
*/
|
|
954
986
|
get '/access_codes/list'(): (
|
|
955
987
|
parameters?: AccessCodesListParameters,
|
|
956
988
|
options?: AccessCodesListOptions,
|
|
@@ -964,6 +996,17 @@ export class SeamHttpEndpoints {
|
|
|
964
996
|
}
|
|
965
997
|
}
|
|
966
998
|
|
|
999
|
+
/**
|
|
1000
|
+
* Retrieves a backup access code for an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes). See also [Managing Backup Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes).
|
|
1001
|
+
*
|
|
1002
|
+
* A backup access code pool is a collection of pre-programmed access codes stored on a device, ready for use. These codes are programmed in addition to the regular access codes on Seam, serving as a safety net for any issues with the primary codes. If there's ever a complication with a primary access code—be it due to intermittent connectivity, manual removal from a device, or provider outages—a backup code can be retrieved. Its end time can then be adjusted to align with the original code, facilitating seamless and uninterrupted access.
|
|
1003
|
+
*
|
|
1004
|
+
* You can pull a backup access code from the pool at any time. These backup codes are guaranteed to work immediately and automatically programmed to be removed from the device after the access code ends.
|
|
1005
|
+
*
|
|
1006
|
+
* You can only pull backup access codes for time-bound access codes.
|
|
1007
|
+
*
|
|
1008
|
+
* Before pulling a backup access code, make sure that the device's `properties.supports_backup_access_code_pool` is `true`. Then, to activate the backup pool, set `use_backup_access_code_pool` to `true` when creating an access code.
|
|
1009
|
+
*/
|
|
967
1010
|
get '/access_codes/pull_backup_access_code'(): (
|
|
968
1011
|
parameters: AccessCodesPullBackupAccessCodeParameters,
|
|
969
1012
|
options?: AccessCodesPullBackupAccessCodeOptions,
|
|
@@ -977,6 +1020,11 @@ export class SeamHttpEndpoints {
|
|
|
977
1020
|
}
|
|
978
1021
|
}
|
|
979
1022
|
|
|
1023
|
+
/**
|
|
1024
|
+
* Enables you to report access code-related constraints for a device. Currently, supports reporting supported code length constraints for SmartThings devices.
|
|
1025
|
+
*
|
|
1026
|
+
* Specify either `supported_code_lengths` or `min_code_length`/`max_code_length`.
|
|
1027
|
+
*/
|
|
980
1028
|
get '/access_codes/report_device_constraints'(): (
|
|
981
1029
|
parameters: AccessCodesReportDeviceConstraintsParameters,
|
|
982
1030
|
options?: AccessCodesReportDeviceConstraintsOptions,
|
|
@@ -990,6 +1038,11 @@ export class SeamHttpEndpoints {
|
|
|
990
1038
|
}
|
|
991
1039
|
}
|
|
992
1040
|
|
|
1041
|
+
/**
|
|
1042
|
+
* Updates a specified active or upcoming [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
|
|
1043
|
+
*
|
|
1044
|
+
* See also [Modifying Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/modifying-access-codes).
|
|
1045
|
+
*/
|
|
993
1046
|
get '/access_codes/update'(): (
|
|
994
1047
|
parameters: AccessCodesUpdateParameters,
|
|
995
1048
|
options?: AccessCodesUpdateOptions,
|
|
@@ -1003,6 +1056,13 @@ export class SeamHttpEndpoints {
|
|
|
1003
1056
|
}
|
|
1004
1057
|
}
|
|
1005
1058
|
|
|
1059
|
+
/**
|
|
1060
|
+
* Updates [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.
|
|
1061
|
+
*
|
|
1062
|
+
* Specify the `common_code_key` to identify the set of access codes that you want to update.
|
|
1063
|
+
*
|
|
1064
|
+
* See also [Update Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes#update-linked-access-codes).
|
|
1065
|
+
*/
|
|
1006
1066
|
get '/access_codes/update_multiple'(): (
|
|
1007
1067
|
parameters: AccessCodesUpdateMultipleParameters,
|
|
1008
1068
|
options?: AccessCodesUpdateMultipleOptions,
|
|
@@ -1016,6 +1076,9 @@ export class SeamHttpEndpoints {
|
|
|
1016
1076
|
}
|
|
1017
1077
|
}
|
|
1018
1078
|
|
|
1079
|
+
/**
|
|
1080
|
+
* Simulates the creation of an [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) in a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
1081
|
+
*/
|
|
1019
1082
|
get '/access_codes/simulate/create_unmanaged_access_code'(): (
|
|
1020
1083
|
parameters: AccessCodesSimulateCreateUnmanagedAccessCodeParameters,
|
|
1021
1084
|
options?: AccessCodesSimulateCreateUnmanagedAccessCodeOptions,
|
|
@@ -1031,6 +1094,13 @@ export class SeamHttpEndpoints {
|
|
|
1031
1094
|
}
|
|
1032
1095
|
}
|
|
1033
1096
|
|
|
1097
|
+
/**
|
|
1098
|
+
* Converts an [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) to an [access code managed through Seam](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
|
|
1099
|
+
*
|
|
1100
|
+
* An unmanaged access code has a limited set of operations that you can perform on it. Once you convert an unmanaged access code to a managed access code, the full set of access code operations and lifecycle events becomes available for it.
|
|
1101
|
+
*
|
|
1102
|
+
* Note that not all device providers support converting an unmanaged access code to a managed access code.
|
|
1103
|
+
*/
|
|
1034
1104
|
get '/access_codes/unmanaged/convert_to_managed'(): (
|
|
1035
1105
|
parameters: AccessCodesUnmanagedConvertToManagedParameters,
|
|
1036
1106
|
options?: AccessCodesUnmanagedConvertToManagedOptions,
|
|
@@ -1044,6 +1114,9 @@ export class SeamHttpEndpoints {
|
|
|
1044
1114
|
}
|
|
1045
1115
|
}
|
|
1046
1116
|
|
|
1117
|
+
/**
|
|
1118
|
+
* Deletes an [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
|
|
1119
|
+
*/
|
|
1047
1120
|
get '/access_codes/unmanaged/delete'(): (
|
|
1048
1121
|
parameters: AccessCodesUnmanagedDeleteParameters,
|
|
1049
1122
|
options?: AccessCodesUnmanagedDeleteOptions,
|
|
@@ -1057,6 +1130,11 @@ export class SeamHttpEndpoints {
|
|
|
1057
1130
|
}
|
|
1058
1131
|
}
|
|
1059
1132
|
|
|
1133
|
+
/**
|
|
1134
|
+
* Returns a specified [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
|
|
1135
|
+
*
|
|
1136
|
+
* You must specify either `access_code_id` or both `device_id` and `code`.
|
|
1137
|
+
*/
|
|
1060
1138
|
get '/access_codes/unmanaged/get'(): (
|
|
1061
1139
|
parameters?: AccessCodesUnmanagedGetParameters,
|
|
1062
1140
|
options?: AccessCodesUnmanagedGetOptions,
|
|
@@ -1070,6 +1148,9 @@ export class SeamHttpEndpoints {
|
|
|
1070
1148
|
}
|
|
1071
1149
|
}
|
|
1072
1150
|
|
|
1151
|
+
/**
|
|
1152
|
+
* Returns a list of all [unmanaged access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
|
|
1153
|
+
*/
|
|
1073
1154
|
get '/access_codes/unmanaged/list'(): (
|
|
1074
1155
|
parameters: AccessCodesUnmanagedListParameters,
|
|
1075
1156
|
options?: AccessCodesUnmanagedListOptions,
|
|
@@ -1083,6 +1164,9 @@ export class SeamHttpEndpoints {
|
|
|
1083
1164
|
}
|
|
1084
1165
|
}
|
|
1085
1166
|
|
|
1167
|
+
/**
|
|
1168
|
+
* Updates a specified [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
|
|
1169
|
+
*/
|
|
1086
1170
|
get '/access_codes/unmanaged/update'(): (
|
|
1087
1171
|
parameters: AccessCodesUnmanagedUpdateParameters,
|
|
1088
1172
|
options?: AccessCodesUnmanagedUpdateOptions,
|
|
@@ -1096,6 +1180,9 @@ export class SeamHttpEndpoints {
|
|
|
1096
1180
|
}
|
|
1097
1181
|
}
|
|
1098
1182
|
|
|
1183
|
+
/**
|
|
1184
|
+
* Creates a new [Access Grant](https://docs.seam.co/use-cases/granting-access/access-grants). Access Grants are the default and recommended way to grant a user access to any physical space, irrespective of the locking hardware. They work with both standalone smart locks (using `device_ids`) and access control systems (using `acs_entrance_ids` or `space_ids`), and can issue PIN codes, key cards, and mobile keys through a single request.
|
|
1185
|
+
*/
|
|
1099
1186
|
get '/access_grants/create'(): (
|
|
1100
1187
|
parameters: AccessGrantsCreateParameters,
|
|
1101
1188
|
options?: AccessGrantsCreateOptions,
|
|
@@ -1109,6 +1196,9 @@ export class SeamHttpEndpoints {
|
|
|
1109
1196
|
}
|
|
1110
1197
|
}
|
|
1111
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* Delete an Access Grant.
|
|
1201
|
+
*/
|
|
1112
1202
|
get '/access_grants/delete'(): (
|
|
1113
1203
|
parameters: AccessGrantsDeleteParameters,
|
|
1114
1204
|
options?: AccessGrantsDeleteOptions,
|
|
@@ -1122,6 +1212,9 @@ export class SeamHttpEndpoints {
|
|
|
1122
1212
|
}
|
|
1123
1213
|
}
|
|
1124
1214
|
|
|
1215
|
+
/**
|
|
1216
|
+
* Get an Access Grant.
|
|
1217
|
+
*/
|
|
1125
1218
|
get '/access_grants/get'(): (
|
|
1126
1219
|
parameters?: AccessGrantsGetParameters,
|
|
1127
1220
|
options?: AccessGrantsGetOptions,
|
|
@@ -1135,6 +1228,9 @@ export class SeamHttpEndpoints {
|
|
|
1135
1228
|
}
|
|
1136
1229
|
}
|
|
1137
1230
|
|
|
1231
|
+
/**
|
|
1232
|
+
* Gets all related resources for one or more Access Grants.
|
|
1233
|
+
*/
|
|
1138
1234
|
get '/access_grants/get_related'(): (
|
|
1139
1235
|
parameters?: AccessGrantsGetRelatedParameters,
|
|
1140
1236
|
options?: AccessGrantsGetRelatedOptions,
|
|
@@ -1148,6 +1244,9 @@ export class SeamHttpEndpoints {
|
|
|
1148
1244
|
}
|
|
1149
1245
|
}
|
|
1150
1246
|
|
|
1247
|
+
/**
|
|
1248
|
+
* Gets an Access Grant.
|
|
1249
|
+
*/
|
|
1151
1250
|
get '/access_grants/list'(): (
|
|
1152
1251
|
parameters?: AccessGrantsListParameters,
|
|
1153
1252
|
options?: AccessGrantsListOptions,
|
|
@@ -1161,6 +1260,9 @@ export class SeamHttpEndpoints {
|
|
|
1161
1260
|
}
|
|
1162
1261
|
}
|
|
1163
1262
|
|
|
1263
|
+
/**
|
|
1264
|
+
* Adds additional requested access methods to an existing Access Grant.
|
|
1265
|
+
*/
|
|
1164
1266
|
get '/access_grants/request_access_methods'(): (
|
|
1165
1267
|
parameters: AccessGrantsRequestAccessMethodsParameters,
|
|
1166
1268
|
options?: AccessGrantsRequestAccessMethodsOptions,
|
|
@@ -1174,6 +1276,9 @@ export class SeamHttpEndpoints {
|
|
|
1174
1276
|
}
|
|
1175
1277
|
}
|
|
1176
1278
|
|
|
1279
|
+
/**
|
|
1280
|
+
* Updates an existing Access Grant's time window.
|
|
1281
|
+
*/
|
|
1177
1282
|
get '/access_grants/update'(): (
|
|
1178
1283
|
parameters?: AccessGrantsUpdateParameters,
|
|
1179
1284
|
options?: AccessGrantsUpdateOptions,
|
|
@@ -1187,6 +1292,9 @@ export class SeamHttpEndpoints {
|
|
|
1187
1292
|
}
|
|
1188
1293
|
}
|
|
1189
1294
|
|
|
1295
|
+
/**
|
|
1296
|
+
* Get an unmanaged Access Grant (where is_managed = false).
|
|
1297
|
+
*/
|
|
1190
1298
|
get '/access_grants/unmanaged/get'(): (
|
|
1191
1299
|
parameters: AccessGrantsUnmanagedGetParameters,
|
|
1192
1300
|
options?: AccessGrantsUnmanagedGetOptions,
|
|
@@ -1200,6 +1308,9 @@ export class SeamHttpEndpoints {
|
|
|
1200
1308
|
}
|
|
1201
1309
|
}
|
|
1202
1310
|
|
|
1311
|
+
/**
|
|
1312
|
+
* Gets unmanaged Access Grants (where is_managed = false).
|
|
1313
|
+
*/
|
|
1203
1314
|
get '/access_grants/unmanaged/list'(): (
|
|
1204
1315
|
parameters?: AccessGrantsUnmanagedListParameters,
|
|
1205
1316
|
options?: AccessGrantsUnmanagedListOptions,
|
|
@@ -1213,6 +1324,13 @@ export class SeamHttpEndpoints {
|
|
|
1213
1324
|
}
|
|
1214
1325
|
}
|
|
1215
1326
|
|
|
1327
|
+
/**
|
|
1328
|
+
* Updates an unmanaged Access Grant to make it managed.
|
|
1329
|
+
*
|
|
1330
|
+
* This endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.
|
|
1331
|
+
*
|
|
1332
|
+
* When converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.
|
|
1333
|
+
*/
|
|
1216
1334
|
get '/access_grants/unmanaged/update'(): (
|
|
1217
1335
|
parameters: AccessGrantsUnmanagedUpdateParameters,
|
|
1218
1336
|
options?: AccessGrantsUnmanagedUpdateOptions,
|
|
@@ -1226,6 +1344,9 @@ export class SeamHttpEndpoints {
|
|
|
1226
1344
|
}
|
|
1227
1345
|
}
|
|
1228
1346
|
|
|
1347
|
+
/**
|
|
1348
|
+
* Assigns a pre-registered card credential, identified by `card_number`, to a card-mode access method. Use this endpoint for access systems that use pre-registered cards, where a physical card must be associated with an access method before it can be used for access. Assigning a card credential also triggers issuance of the access method.
|
|
1349
|
+
*/
|
|
1229
1350
|
get '/access_methods/assign_card'(): (
|
|
1230
1351
|
parameters: AccessMethodsAssignCardParameters,
|
|
1231
1352
|
options?: AccessMethodsAssignCardOptions,
|
|
@@ -1239,6 +1360,9 @@ export class SeamHttpEndpoints {
|
|
|
1239
1360
|
}
|
|
1240
1361
|
}
|
|
1241
1362
|
|
|
1363
|
+
/**
|
|
1364
|
+
* Deletes an access method.
|
|
1365
|
+
*/
|
|
1242
1366
|
get '/access_methods/delete'(): (
|
|
1243
1367
|
parameters?: AccessMethodsDeleteParameters,
|
|
1244
1368
|
options?: AccessMethodsDeleteOptions,
|
|
@@ -1252,6 +1376,9 @@ export class SeamHttpEndpoints {
|
|
|
1252
1376
|
}
|
|
1253
1377
|
}
|
|
1254
1378
|
|
|
1379
|
+
/**
|
|
1380
|
+
* Encodes an existing access method onto a plastic card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
|
|
1381
|
+
*/
|
|
1255
1382
|
get '/access_methods/encode'(): (
|
|
1256
1383
|
parameters: AccessMethodsEncodeParameters,
|
|
1257
1384
|
options?: AccessMethodsEncodeOptions,
|
|
@@ -1265,6 +1392,9 @@ export class SeamHttpEndpoints {
|
|
|
1265
1392
|
}
|
|
1266
1393
|
}
|
|
1267
1394
|
|
|
1395
|
+
/**
|
|
1396
|
+
* Gets an access method.
|
|
1397
|
+
*/
|
|
1268
1398
|
get '/access_methods/get'(): (
|
|
1269
1399
|
parameters: AccessMethodsGetParameters,
|
|
1270
1400
|
options?: AccessMethodsGetOptions,
|
|
@@ -1278,6 +1408,9 @@ export class SeamHttpEndpoints {
|
|
|
1278
1408
|
}
|
|
1279
1409
|
}
|
|
1280
1410
|
|
|
1411
|
+
/**
|
|
1412
|
+
* Gets all related resources for one or more Access Methods.
|
|
1413
|
+
*/
|
|
1281
1414
|
get '/access_methods/get_related'(): (
|
|
1282
1415
|
parameters: AccessMethodsGetRelatedParameters,
|
|
1283
1416
|
options?: AccessMethodsGetRelatedOptions,
|
|
@@ -1291,6 +1424,9 @@ export class SeamHttpEndpoints {
|
|
|
1291
1424
|
}
|
|
1292
1425
|
}
|
|
1293
1426
|
|
|
1427
|
+
/**
|
|
1428
|
+
* Lists all access methods, usually filtered by Access Grant.
|
|
1429
|
+
*/
|
|
1294
1430
|
get '/access_methods/list'(): (
|
|
1295
1431
|
parameters?: AccessMethodsListParameters,
|
|
1296
1432
|
options?: AccessMethodsListOptions,
|
|
@@ -1304,6 +1440,9 @@ export class SeamHttpEndpoints {
|
|
|
1304
1440
|
}
|
|
1305
1441
|
}
|
|
1306
1442
|
|
|
1443
|
+
/**
|
|
1444
|
+
* Remotely unlocks a specified [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) using the cloud key credential associated with an access method. Returns an action attempt that tracks the progress of the unlock operation.
|
|
1445
|
+
*/
|
|
1307
1446
|
get '/access_methods/unlock_door'(): (
|
|
1308
1447
|
parameters: AccessMethodsUnlockDoorParameters,
|
|
1309
1448
|
options?: AccessMethodsUnlockDoorOptions,
|
|
@@ -1317,6 +1456,9 @@ export class SeamHttpEndpoints {
|
|
|
1317
1456
|
}
|
|
1318
1457
|
}
|
|
1319
1458
|
|
|
1459
|
+
/**
|
|
1460
|
+
* Gets an unmanaged access method (where is_managed = false).
|
|
1461
|
+
*/
|
|
1320
1462
|
get '/access_methods/unmanaged/get'(): (
|
|
1321
1463
|
parameters: AccessMethodsUnmanagedGetParameters,
|
|
1322
1464
|
options?: AccessMethodsUnmanagedGetOptions,
|
|
@@ -1330,6 +1472,9 @@ export class SeamHttpEndpoints {
|
|
|
1330
1472
|
}
|
|
1331
1473
|
}
|
|
1332
1474
|
|
|
1475
|
+
/**
|
|
1476
|
+
* Lists all unmanaged access methods (where is_managed = false), usually filtered by Access Grant.
|
|
1477
|
+
*/
|
|
1333
1478
|
get '/access_methods/unmanaged/list'(): (
|
|
1334
1479
|
parameters: AccessMethodsUnmanagedListParameters,
|
|
1335
1480
|
options?: AccessMethodsUnmanagedListOptions,
|
|
@@ -1343,6 +1488,9 @@ export class SeamHttpEndpoints {
|
|
|
1343
1488
|
}
|
|
1344
1489
|
}
|
|
1345
1490
|
|
|
1491
|
+
/**
|
|
1492
|
+
* 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).
|
|
1493
|
+
*/
|
|
1346
1494
|
get '/acs/access_groups/add_user'(): (
|
|
1347
1495
|
parameters: AcsAccessGroupsAddUserParameters,
|
|
1348
1496
|
options?: AcsAccessGroupsAddUserOptions,
|
|
@@ -1356,6 +1504,9 @@ export class SeamHttpEndpoints {
|
|
|
1356
1504
|
}
|
|
1357
1505
|
}
|
|
1358
1506
|
|
|
1507
|
+
/**
|
|
1508
|
+
* Deletes a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
1509
|
+
*/
|
|
1359
1510
|
get '/acs/access_groups/delete'(): (
|
|
1360
1511
|
parameters: AcsAccessGroupsDeleteParameters,
|
|
1361
1512
|
options?: AcsAccessGroupsDeleteOptions,
|
|
@@ -1369,6 +1520,9 @@ export class SeamHttpEndpoints {
|
|
|
1369
1520
|
}
|
|
1370
1521
|
}
|
|
1371
1522
|
|
|
1523
|
+
/**
|
|
1524
|
+
* Returns a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
1525
|
+
*/
|
|
1372
1526
|
get '/acs/access_groups/get'(): (
|
|
1373
1527
|
parameters: AcsAccessGroupsGetParameters,
|
|
1374
1528
|
options?: AcsAccessGroupsGetOptions,
|
|
@@ -1382,6 +1536,9 @@ export class SeamHttpEndpoints {
|
|
|
1382
1536
|
}
|
|
1383
1537
|
}
|
|
1384
1538
|
|
|
1539
|
+
/**
|
|
1540
|
+
* Returns a list of all [access groups](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
1541
|
+
*/
|
|
1385
1542
|
get '/acs/access_groups/list'(): (
|
|
1386
1543
|
parameters?: AcsAccessGroupsListParameters,
|
|
1387
1544
|
options?: AcsAccessGroupsListOptions,
|
|
@@ -1395,6 +1552,9 @@ export class SeamHttpEndpoints {
|
|
|
1395
1552
|
}
|
|
1396
1553
|
}
|
|
1397
1554
|
|
|
1555
|
+
/**
|
|
1556
|
+
* 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).
|
|
1557
|
+
*/
|
|
1398
1558
|
get '/acs/access_groups/list_accessible_entrances'(): (
|
|
1399
1559
|
parameters: AcsAccessGroupsListAccessibleEntrancesParameters,
|
|
1400
1560
|
options?: AcsAccessGroupsListAccessibleEntrancesOptions,
|
|
@@ -1408,6 +1568,9 @@ export class SeamHttpEndpoints {
|
|
|
1408
1568
|
}
|
|
1409
1569
|
}
|
|
1410
1570
|
|
|
1571
|
+
/**
|
|
1572
|
+
* 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).
|
|
1573
|
+
*/
|
|
1411
1574
|
get '/acs/access_groups/list_users'(): (
|
|
1412
1575
|
parameters: AcsAccessGroupsListUsersParameters,
|
|
1413
1576
|
options?: AcsAccessGroupsListUsersOptions,
|
|
@@ -1421,6 +1584,9 @@ export class SeamHttpEndpoints {
|
|
|
1421
1584
|
}
|
|
1422
1585
|
}
|
|
1423
1586
|
|
|
1587
|
+
/**
|
|
1588
|
+
* 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).
|
|
1589
|
+
*/
|
|
1424
1590
|
get '/acs/access_groups/remove_user'(): (
|
|
1425
1591
|
parameters: AcsAccessGroupsRemoveUserParameters,
|
|
1426
1592
|
options?: AcsAccessGroupsRemoveUserOptions,
|
|
@@ -1434,6 +1600,9 @@ export class SeamHttpEndpoints {
|
|
|
1434
1600
|
}
|
|
1435
1601
|
}
|
|
1436
1602
|
|
|
1603
|
+
/**
|
|
1604
|
+
* 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).
|
|
1605
|
+
*/
|
|
1437
1606
|
get '/acs/credentials/assign'(): (
|
|
1438
1607
|
parameters: AcsCredentialsAssignParameters,
|
|
1439
1608
|
options?: AcsCredentialsAssignOptions,
|
|
@@ -1447,6 +1616,9 @@ export class SeamHttpEndpoints {
|
|
|
1447
1616
|
}
|
|
1448
1617
|
}
|
|
1449
1618
|
|
|
1619
|
+
/**
|
|
1620
|
+
* 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.
|
|
1621
|
+
*/
|
|
1450
1622
|
get '/acs/credentials/create'(): (
|
|
1451
1623
|
parameters: AcsCredentialsCreateParameters,
|
|
1452
1624
|
options?: AcsCredentialsCreateOptions,
|
|
@@ -1460,6 +1632,9 @@ export class SeamHttpEndpoints {
|
|
|
1460
1632
|
}
|
|
1461
1633
|
}
|
|
1462
1634
|
|
|
1635
|
+
/**
|
|
1636
|
+
* Deletes a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
1637
|
+
*/
|
|
1463
1638
|
get '/acs/credentials/delete'(): (
|
|
1464
1639
|
parameters: AcsCredentialsDeleteParameters,
|
|
1465
1640
|
options?: AcsCredentialsDeleteOptions,
|
|
@@ -1473,6 +1648,9 @@ export class SeamHttpEndpoints {
|
|
|
1473
1648
|
}
|
|
1474
1649
|
}
|
|
1475
1650
|
|
|
1651
|
+
/**
|
|
1652
|
+
* Returns a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
1653
|
+
*/
|
|
1476
1654
|
get '/acs/credentials/get'(): (
|
|
1477
1655
|
parameters: AcsCredentialsGetParameters,
|
|
1478
1656
|
options?: AcsCredentialsGetOptions,
|
|
@@ -1486,6 +1664,9 @@ export class SeamHttpEndpoints {
|
|
|
1486
1664
|
}
|
|
1487
1665
|
}
|
|
1488
1666
|
|
|
1667
|
+
/**
|
|
1668
|
+
* Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
1669
|
+
*/
|
|
1489
1670
|
get '/acs/credentials/list'(): (
|
|
1490
1671
|
parameters?: AcsCredentialsListParameters,
|
|
1491
1672
|
options?: AcsCredentialsListOptions,
|
|
@@ -1499,6 +1680,9 @@ export class SeamHttpEndpoints {
|
|
|
1499
1680
|
}
|
|
1500
1681
|
}
|
|
1501
1682
|
|
|
1683
|
+
/**
|
|
1684
|
+
* 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.
|
|
1685
|
+
*/
|
|
1502
1686
|
get '/acs/credentials/list_accessible_entrances'(): (
|
|
1503
1687
|
parameters: AcsCredentialsListAccessibleEntrancesParameters,
|
|
1504
1688
|
options?: AcsCredentialsListAccessibleEntrancesOptions,
|
|
@@ -1512,6 +1696,9 @@ export class SeamHttpEndpoints {
|
|
|
1512
1696
|
}
|
|
1513
1697
|
}
|
|
1514
1698
|
|
|
1699
|
+
/**
|
|
1700
|
+
* 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).
|
|
1701
|
+
*/
|
|
1515
1702
|
get '/acs/credentials/unassign'(): (
|
|
1516
1703
|
parameters: AcsCredentialsUnassignParameters,
|
|
1517
1704
|
options?: AcsCredentialsUnassignOptions,
|
|
@@ -1525,6 +1712,9 @@ export class SeamHttpEndpoints {
|
|
|
1525
1712
|
}
|
|
1526
1713
|
}
|
|
1527
1714
|
|
|
1715
|
+
/**
|
|
1716
|
+
* Updates the code and ends at date and time for a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
1717
|
+
*/
|
|
1528
1718
|
get '/acs/credentials/update'(): (
|
|
1529
1719
|
parameters: AcsCredentialsUpdateParameters,
|
|
1530
1720
|
options?: AcsCredentialsUpdateOptions,
|
|
@@ -1538,6 +1728,9 @@ export class SeamHttpEndpoints {
|
|
|
1538
1728
|
}
|
|
1539
1729
|
}
|
|
1540
1730
|
|
|
1731
|
+
/**
|
|
1732
|
+
* 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`
|
|
1733
|
+
*/
|
|
1541
1734
|
get '/acs/encoders/encode_credential'(): (
|
|
1542
1735
|
parameters: AcsEncodersEncodeCredentialParameters,
|
|
1543
1736
|
options?: AcsEncodersEncodeCredentialOptions,
|
|
@@ -1551,6 +1744,9 @@ export class SeamHttpEndpoints {
|
|
|
1551
1744
|
}
|
|
1552
1745
|
}
|
|
1553
1746
|
|
|
1747
|
+
/**
|
|
1748
|
+
* Returns a specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
|
|
1749
|
+
*/
|
|
1554
1750
|
get '/acs/encoders/get'(): (
|
|
1555
1751
|
parameters: AcsEncodersGetParameters,
|
|
1556
1752
|
options?: AcsEncodersGetOptions,
|
|
@@ -1564,6 +1760,9 @@ export class SeamHttpEndpoints {
|
|
|
1564
1760
|
}
|
|
1565
1761
|
}
|
|
1566
1762
|
|
|
1763
|
+
/**
|
|
1764
|
+
* Returns a list of all [encoders](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
|
|
1765
|
+
*/
|
|
1567
1766
|
get '/acs/encoders/list'(): (
|
|
1568
1767
|
parameters?: AcsEncodersListParameters,
|
|
1569
1768
|
options?: AcsEncodersListOptions,
|
|
@@ -1577,6 +1776,9 @@ export class SeamHttpEndpoints {
|
|
|
1577
1776
|
}
|
|
1578
1777
|
}
|
|
1579
1778
|
|
|
1779
|
+
/**
|
|
1780
|
+
* 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).
|
|
1781
|
+
*/
|
|
1580
1782
|
get '/acs/encoders/scan_credential'(): (
|
|
1581
1783
|
parameters: AcsEncodersScanCredentialParameters,
|
|
1582
1784
|
options?: AcsEncodersScanCredentialOptions,
|
|
@@ -1590,6 +1792,9 @@ export class SeamHttpEndpoints {
|
|
|
1590
1792
|
}
|
|
1591
1793
|
}
|
|
1592
1794
|
|
|
1795
|
+
/**
|
|
1796
|
+
* 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`.
|
|
1797
|
+
*/
|
|
1593
1798
|
get '/acs/encoders/scan_to_assign_credential'(): (
|
|
1594
1799
|
parameters: AcsEncodersScanToAssignCredentialParameters,
|
|
1595
1800
|
options?: AcsEncodersScanToAssignCredentialOptions,
|
|
@@ -1603,6 +1808,9 @@ export class SeamHttpEndpoints {
|
|
|
1603
1808
|
}
|
|
1604
1809
|
}
|
|
1605
1810
|
|
|
1811
|
+
/**
|
|
1812
|
+
* 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).
|
|
1813
|
+
*/
|
|
1606
1814
|
get '/acs/encoders/simulate/next_credential_encode_will_fail'(): (
|
|
1607
1815
|
parameters: AcsEncodersSimulateNextCredentialEncodeWillFailParameters,
|
|
1608
1816
|
options?: AcsEncodersSimulateNextCredentialEncodeWillFailOptions,
|
|
@@ -1618,6 +1826,9 @@ export class SeamHttpEndpoints {
|
|
|
1618
1826
|
}
|
|
1619
1827
|
}
|
|
1620
1828
|
|
|
1829
|
+
/**
|
|
1830
|
+
* 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).
|
|
1831
|
+
*/
|
|
1621
1832
|
get '/acs/encoders/simulate/next_credential_encode_will_succeed'(): (
|
|
1622
1833
|
parameters: AcsEncodersSimulateNextCredentialEncodeWillSucceedParameters,
|
|
1623
1834
|
options?: AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions,
|
|
@@ -1635,6 +1846,9 @@ export class SeamHttpEndpoints {
|
|
|
1635
1846
|
}
|
|
1636
1847
|
}
|
|
1637
1848
|
|
|
1849
|
+
/**
|
|
1850
|
+
* 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).
|
|
1851
|
+
*/
|
|
1638
1852
|
get '/acs/encoders/simulate/next_credential_scan_will_fail'(): (
|
|
1639
1853
|
parameters: AcsEncodersSimulateNextCredentialScanWillFailParameters,
|
|
1640
1854
|
options?: AcsEncodersSimulateNextCredentialScanWillFailOptions,
|
|
@@ -1650,6 +1864,9 @@ export class SeamHttpEndpoints {
|
|
|
1650
1864
|
}
|
|
1651
1865
|
}
|
|
1652
1866
|
|
|
1867
|
+
/**
|
|
1868
|
+
* 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).
|
|
1869
|
+
*/
|
|
1653
1870
|
get '/acs/encoders/simulate/next_credential_scan_will_succeed'(): (
|
|
1654
1871
|
parameters: AcsEncodersSimulateNextCredentialScanWillSucceedParameters,
|
|
1655
1872
|
options?: AcsEncodersSimulateNextCredentialScanWillSucceedOptions,
|
|
@@ -1667,6 +1884,9 @@ export class SeamHttpEndpoints {
|
|
|
1667
1884
|
}
|
|
1668
1885
|
}
|
|
1669
1886
|
|
|
1887
|
+
/**
|
|
1888
|
+
* Returns a specified [access system entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
|
|
1889
|
+
*/
|
|
1670
1890
|
get '/acs/entrances/get'(): (
|
|
1671
1891
|
parameters: AcsEntrancesGetParameters,
|
|
1672
1892
|
options?: AcsEntrancesGetOptions,
|
|
@@ -1680,6 +1900,9 @@ export class SeamHttpEndpoints {
|
|
|
1680
1900
|
}
|
|
1681
1901
|
}
|
|
1682
1902
|
|
|
1903
|
+
/**
|
|
1904
|
+
* 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).
|
|
1905
|
+
*/
|
|
1683
1906
|
get '/acs/entrances/grant_access'(): (
|
|
1684
1907
|
parameters: AcsEntrancesGrantAccessParameters,
|
|
1685
1908
|
options?: AcsEntrancesGrantAccessOptions,
|
|
@@ -1693,6 +1916,9 @@ export class SeamHttpEndpoints {
|
|
|
1693
1916
|
}
|
|
1694
1917
|
}
|
|
1695
1918
|
|
|
1919
|
+
/**
|
|
1920
|
+
* Returns a list of all [access system entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
|
|
1921
|
+
*/
|
|
1696
1922
|
get '/acs/entrances/list'(): (
|
|
1697
1923
|
parameters?: AcsEntrancesListParameters,
|
|
1698
1924
|
options?: AcsEntrancesListOptions,
|
|
@@ -1706,6 +1932,9 @@ export class SeamHttpEndpoints {
|
|
|
1706
1932
|
}
|
|
1707
1933
|
}
|
|
1708
1934
|
|
|
1935
|
+
/**
|
|
1936
|
+
* 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).
|
|
1937
|
+
*/
|
|
1709
1938
|
get '/acs/entrances/list_credentials_with_access'(): (
|
|
1710
1939
|
parameters: AcsEntrancesListCredentialsWithAccessParameters,
|
|
1711
1940
|
options?: AcsEntrancesListCredentialsWithAccessOptions,
|
|
@@ -1719,6 +1948,9 @@ export class SeamHttpEndpoints {
|
|
|
1719
1948
|
}
|
|
1720
1949
|
}
|
|
1721
1950
|
|
|
1951
|
+
/**
|
|
1952
|
+
* 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.
|
|
1953
|
+
*/
|
|
1722
1954
|
get '/acs/entrances/unlock'(): (
|
|
1723
1955
|
parameters: AcsEntrancesUnlockParameters,
|
|
1724
1956
|
options?: AcsEntrancesUnlockOptions,
|
|
@@ -1732,6 +1964,9 @@ export class SeamHttpEndpoints {
|
|
|
1732
1964
|
}
|
|
1733
1965
|
}
|
|
1734
1966
|
|
|
1967
|
+
/**
|
|
1968
|
+
* Returns a specified [access system](https://docs.seam.co/low-level-apis/access-systems).
|
|
1969
|
+
*/
|
|
1735
1970
|
get '/acs/systems/get'(): (
|
|
1736
1971
|
parameters: AcsSystemsGetParameters,
|
|
1737
1972
|
options?: AcsSystemsGetOptions,
|
|
@@ -1745,6 +1980,11 @@ export class SeamHttpEndpoints {
|
|
|
1745
1980
|
}
|
|
1746
1981
|
}
|
|
1747
1982
|
|
|
1983
|
+
/**
|
|
1984
|
+
* Returns a list of all [access systems](https://docs.seam.co/low-level-apis/access-systems).
|
|
1985
|
+
*
|
|
1986
|
+
* 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.
|
|
1987
|
+
*/
|
|
1748
1988
|
get '/acs/systems/list'(): (
|
|
1749
1989
|
parameters?: AcsSystemsListParameters,
|
|
1750
1990
|
options?: AcsSystemsListOptions,
|
|
@@ -1758,6 +1998,11 @@ export class SeamHttpEndpoints {
|
|
|
1758
1998
|
}
|
|
1759
1999
|
}
|
|
1760
2000
|
|
|
2001
|
+
/**
|
|
2002
|
+
* 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).
|
|
2003
|
+
*
|
|
2004
|
+
* 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.
|
|
2005
|
+
*/
|
|
1761
2006
|
get '/acs/systems/list_compatible_credential_manager_acs_systems'(): (
|
|
1762
2007
|
parameters: AcsSystemsListCompatibleCredentialManagerAcsSystemsParameters,
|
|
1763
2008
|
options?: AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions,
|
|
@@ -1775,6 +2020,9 @@ export class SeamHttpEndpoints {
|
|
|
1775
2020
|
}
|
|
1776
2021
|
}
|
|
1777
2022
|
|
|
2023
|
+
/**
|
|
2024
|
+
* Reports ACS system device status including encoders and entrances.
|
|
2025
|
+
*/
|
|
1778
2026
|
get '/acs/systems/report_devices'(): (
|
|
1779
2027
|
parameters: AcsSystemsReportDevicesParameters,
|
|
1780
2028
|
options?: AcsSystemsReportDevicesOptions,
|
|
@@ -1788,6 +2036,9 @@ export class SeamHttpEndpoints {
|
|
|
1788
2036
|
}
|
|
1789
2037
|
}
|
|
1790
2038
|
|
|
2039
|
+
/**
|
|
2040
|
+
* 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).
|
|
2041
|
+
*/
|
|
1791
2042
|
get '/acs/users/add_to_access_group'(): (
|
|
1792
2043
|
parameters: AcsUsersAddToAccessGroupParameters,
|
|
1793
2044
|
options?: AcsUsersAddToAccessGroupOptions,
|
|
@@ -1801,6 +2052,9 @@ export class SeamHttpEndpoints {
|
|
|
1801
2052
|
}
|
|
1802
2053
|
}
|
|
1803
2054
|
|
|
2055
|
+
/**
|
|
2056
|
+
* Creates a new [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
|
|
2057
|
+
*/
|
|
1804
2058
|
get '/acs/users/create'(): (
|
|
1805
2059
|
parameters: AcsUsersCreateParameters,
|
|
1806
2060
|
options?: AcsUsersCreateOptions,
|
|
@@ -1814,6 +2068,9 @@ export class SeamHttpEndpoints {
|
|
|
1814
2068
|
}
|
|
1815
2069
|
}
|
|
1816
2070
|
|
|
2071
|
+
/**
|
|
2072
|
+
* Deletes a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) and invalidates the access system user's [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
2073
|
+
*/
|
|
1817
2074
|
get '/acs/users/delete'(): (
|
|
1818
2075
|
parameters?: AcsUsersDeleteParameters,
|
|
1819
2076
|
options?: AcsUsersDeleteOptions,
|
|
@@ -1827,6 +2084,9 @@ export class SeamHttpEndpoints {
|
|
|
1827
2084
|
}
|
|
1828
2085
|
}
|
|
1829
2086
|
|
|
2087
|
+
/**
|
|
2088
|
+
* Returns a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
|
|
2089
|
+
*/
|
|
1830
2090
|
get '/acs/users/get'(): (
|
|
1831
2091
|
parameters?: AcsUsersGetParameters,
|
|
1832
2092
|
options?: AcsUsersGetOptions,
|
|
@@ -1840,6 +2100,9 @@ export class SeamHttpEndpoints {
|
|
|
1840
2100
|
}
|
|
1841
2101
|
}
|
|
1842
2102
|
|
|
2103
|
+
/**
|
|
2104
|
+
* Returns a list of all [access system users](https://docs.seam.co/low-level-apis/access-systems/user-management).
|
|
2105
|
+
*/
|
|
1843
2106
|
get '/acs/users/list'(): (
|
|
1844
2107
|
parameters?: AcsUsersListParameters,
|
|
1845
2108
|
options?: AcsUsersListOptions,
|
|
@@ -1853,6 +2116,9 @@ export class SeamHttpEndpoints {
|
|
|
1853
2116
|
}
|
|
1854
2117
|
}
|
|
1855
2118
|
|
|
2119
|
+
/**
|
|
2120
|
+
* Lists the [entrances](https://docs.seam.co/api/acs/entrances) to which a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) has access.
|
|
2121
|
+
*/
|
|
1856
2122
|
get '/acs/users/list_accessible_entrances'(): (
|
|
1857
2123
|
parameters?: AcsUsersListAccessibleEntrancesParameters,
|
|
1858
2124
|
options?: AcsUsersListAccessibleEntrancesOptions,
|
|
@@ -1866,6 +2132,9 @@ export class SeamHttpEndpoints {
|
|
|
1866
2132
|
}
|
|
1867
2133
|
}
|
|
1868
2134
|
|
|
2135
|
+
/**
|
|
2136
|
+
* 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).
|
|
2137
|
+
*/
|
|
1869
2138
|
get '/acs/users/remove_from_access_group'(): (
|
|
1870
2139
|
parameters: AcsUsersRemoveFromAccessGroupParameters,
|
|
1871
2140
|
options?: AcsUsersRemoveFromAccessGroupOptions,
|
|
@@ -1879,6 +2148,9 @@ export class SeamHttpEndpoints {
|
|
|
1879
2148
|
}
|
|
1880
2149
|
}
|
|
1881
2150
|
|
|
2151
|
+
/**
|
|
2152
|
+
* Revokes access to all [entrances](https://docs.seam.co/api/acs/entrances) for a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
|
|
2153
|
+
*/
|
|
1882
2154
|
get '/acs/users/revoke_access_to_all_entrances'(): (
|
|
1883
2155
|
parameters?: AcsUsersRevokeAccessToAllEntrancesParameters,
|
|
1884
2156
|
options?: AcsUsersRevokeAccessToAllEntrancesOptions,
|
|
@@ -1892,6 +2164,9 @@ export class SeamHttpEndpoints {
|
|
|
1892
2164
|
}
|
|
1893
2165
|
}
|
|
1894
2166
|
|
|
2167
|
+
/**
|
|
2168
|
+
* [Suspends](https://docs.seam.co/low-level-apis/access-systems/user-management/suspending-and-unsuspending-users#suspend-an-acs-user) a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). Suspending an access system user revokes their access temporarily. To restore an access system user's access, you can [unsuspend](https://docs.seam.co/api/acs/users/unsuspend) them.
|
|
2169
|
+
*/
|
|
1895
2170
|
get '/acs/users/suspend'(): (
|
|
1896
2171
|
parameters?: AcsUsersSuspendParameters,
|
|
1897
2172
|
options?: AcsUsersSuspendOptions,
|
|
@@ -1905,6 +2180,9 @@ export class SeamHttpEndpoints {
|
|
|
1905
2180
|
}
|
|
1906
2181
|
}
|
|
1907
2182
|
|
|
2183
|
+
/**
|
|
2184
|
+
* [Unsuspends](https://docs.seam.co/low-level-apis/access-systems/user-management/suspending-and-unsuspending-users#unsuspend-an-acs-user) a specified suspended [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). While [suspending an access system user](https://docs.seam.co/api/acs/users/suspend) revokes their access temporarily, unsuspending the access system user restores their access.
|
|
2185
|
+
*/
|
|
1908
2186
|
get '/acs/users/unsuspend'(): (
|
|
1909
2187
|
parameters?: AcsUsersUnsuspendParameters,
|
|
1910
2188
|
options?: AcsUsersUnsuspendOptions,
|
|
@@ -1918,6 +2196,9 @@ export class SeamHttpEndpoints {
|
|
|
1918
2196
|
}
|
|
1919
2197
|
}
|
|
1920
2198
|
|
|
2199
|
+
/**
|
|
2200
|
+
* Updates the properties of a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
|
|
2201
|
+
*/
|
|
1921
2202
|
get '/acs/users/update'(): (
|
|
1922
2203
|
parameters?: AcsUsersUpdateParameters,
|
|
1923
2204
|
options?: AcsUsersUpdateOptions,
|
|
@@ -1931,6 +2212,9 @@ export class SeamHttpEndpoints {
|
|
|
1931
2212
|
}
|
|
1932
2213
|
}
|
|
1933
2214
|
|
|
2215
|
+
/**
|
|
2216
|
+
* Returns a specified [action attempt](https://docs.seam.co/core-concepts/action-attempts).
|
|
2217
|
+
*/
|
|
1934
2218
|
get '/action_attempts/get'(): (
|
|
1935
2219
|
parameters: ActionAttemptsGetParameters,
|
|
1936
2220
|
options?: ActionAttemptsGetOptions,
|
|
@@ -1944,6 +2228,9 @@ export class SeamHttpEndpoints {
|
|
|
1944
2228
|
}
|
|
1945
2229
|
}
|
|
1946
2230
|
|
|
2231
|
+
/**
|
|
2232
|
+
* Returns a list of the [action attempts](https://docs.seam.co/core-concepts/action-attempts) that you specify as an array of `action_attempt_id`s.
|
|
2233
|
+
*/
|
|
1947
2234
|
get '/action_attempts/list'(): (
|
|
1948
2235
|
parameters?: ActionAttemptsListParameters,
|
|
1949
2236
|
options?: ActionAttemptsListOptions,
|
|
@@ -1957,6 +2244,9 @@ export class SeamHttpEndpoints {
|
|
|
1957
2244
|
}
|
|
1958
2245
|
}
|
|
1959
2246
|
|
|
2247
|
+
/**
|
|
2248
|
+
* Creates a new [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
|
|
2249
|
+
*/
|
|
1960
2250
|
get '/client_sessions/create'(): (
|
|
1961
2251
|
parameters?: ClientSessionsCreateParameters,
|
|
1962
2252
|
options?: ClientSessionsCreateOptions,
|
|
@@ -1970,6 +2260,9 @@ export class SeamHttpEndpoints {
|
|
|
1970
2260
|
}
|
|
1971
2261
|
}
|
|
1972
2262
|
|
|
2263
|
+
/**
|
|
2264
|
+
* Deletes a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
|
|
2265
|
+
*/
|
|
1973
2266
|
get '/client_sessions/delete'(): (
|
|
1974
2267
|
parameters: ClientSessionsDeleteParameters,
|
|
1975
2268
|
options?: ClientSessionsDeleteOptions,
|
|
@@ -1983,6 +2276,9 @@ export class SeamHttpEndpoints {
|
|
|
1983
2276
|
}
|
|
1984
2277
|
}
|
|
1985
2278
|
|
|
2279
|
+
/**
|
|
2280
|
+
* Returns a specified [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
|
|
2281
|
+
*/
|
|
1986
2282
|
get '/client_sessions/get'(): (
|
|
1987
2283
|
parameters?: ClientSessionsGetParameters,
|
|
1988
2284
|
options?: ClientSessionsGetOptions,
|
|
@@ -1996,6 +2292,9 @@ export class SeamHttpEndpoints {
|
|
|
1996
2292
|
}
|
|
1997
2293
|
}
|
|
1998
2294
|
|
|
2295
|
+
/**
|
|
2296
|
+
* Returns a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens) with specific characteristics or creates a new client session with these characteristics if it does not yet exist.
|
|
2297
|
+
*/
|
|
1999
2298
|
get '/client_sessions/get_or_create'(): (
|
|
2000
2299
|
parameters?: ClientSessionsGetOrCreateParameters,
|
|
2001
2300
|
options?: ClientSessionsGetOrCreateOptions,
|
|
@@ -2009,6 +2308,9 @@ export class SeamHttpEndpoints {
|
|
|
2009
2308
|
}
|
|
2010
2309
|
}
|
|
2011
2310
|
|
|
2311
|
+
/**
|
|
2312
|
+
* Grants a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens) access to one or more resources, such as [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews), [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity), and so on.
|
|
2313
|
+
*/
|
|
2012
2314
|
get '/client_sessions/grant_access'(): (
|
|
2013
2315
|
parameters?: ClientSessionsGrantAccessParameters,
|
|
2014
2316
|
options?: ClientSessionsGrantAccessOptions,
|
|
@@ -2022,6 +2324,9 @@ export class SeamHttpEndpoints {
|
|
|
2022
2324
|
}
|
|
2023
2325
|
}
|
|
2024
2326
|
|
|
2327
|
+
/**
|
|
2328
|
+
* Returns a list of all [client sessions](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
|
|
2329
|
+
*/
|
|
2025
2330
|
get '/client_sessions/list'(): (
|
|
2026
2331
|
parameters?: ClientSessionsListParameters,
|
|
2027
2332
|
options?: ClientSessionsListOptions,
|
|
@@ -2035,6 +2340,11 @@ export class SeamHttpEndpoints {
|
|
|
2035
2340
|
}
|
|
2036
2341
|
}
|
|
2037
2342
|
|
|
2343
|
+
/**
|
|
2344
|
+
* Revokes a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
|
|
2345
|
+
*
|
|
2346
|
+
* Note that [deleting a client session](https://docs.seam.co/api/client_sessions/delete) is a separate action.
|
|
2347
|
+
*/
|
|
2038
2348
|
get '/client_sessions/revoke'(): (
|
|
2039
2349
|
parameters: ClientSessionsRevokeParameters,
|
|
2040
2350
|
options?: ClientSessionsRevokeOptions,
|
|
@@ -2048,6 +2358,15 @@ export class SeamHttpEndpoints {
|
|
|
2048
2358
|
}
|
|
2049
2359
|
}
|
|
2050
2360
|
|
|
2361
|
+
/**
|
|
2362
|
+
* Creates a new [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).
|
|
2363
|
+
*
|
|
2364
|
+
* To enable a user to connect their devices or systems to Seam, they must sign in to their device or system account. To enable a user to sign in, you create a `connect_webview`. After creating the Connect Webview, you receive a URL that you can use to display the visual component of this Connect Webview for your user. You can open an iframe or new window to display the Connect Webview.
|
|
2365
|
+
*
|
|
2366
|
+
* You should make a new `connect_webview` for each unique login request. Each `connect_webview` tracks the user that signed in with it. You receive an error if you reuse a Connect Webview for the same user twice or if you use the same Connect Webview for multiple users.
|
|
2367
|
+
*
|
|
2368
|
+
* See also: [Connect Webview Process](https://docs.seam.co/core-concepts/connect-webviews/connect-webview-process).
|
|
2369
|
+
*/
|
|
2051
2370
|
get '/connect_webviews/create'(): (
|
|
2052
2371
|
parameters?: ConnectWebviewsCreateParameters,
|
|
2053
2372
|
options?: ConnectWebviewsCreateOptions,
|
|
@@ -2061,6 +2380,11 @@ export class SeamHttpEndpoints {
|
|
|
2061
2380
|
}
|
|
2062
2381
|
}
|
|
2063
2382
|
|
|
2383
|
+
/**
|
|
2384
|
+
* Deletes a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).
|
|
2385
|
+
*
|
|
2386
|
+
* You do not need to delete a Connect Webview once a user completes it. Instead, you can simply ignore completed Connect Webviews.
|
|
2387
|
+
*/
|
|
2064
2388
|
get '/connect_webviews/delete'(): (
|
|
2065
2389
|
parameters: ConnectWebviewsDeleteParameters,
|
|
2066
2390
|
options?: ConnectWebviewsDeleteOptions,
|
|
@@ -2074,6 +2398,11 @@ export class SeamHttpEndpoints {
|
|
|
2074
2398
|
}
|
|
2075
2399
|
}
|
|
2076
2400
|
|
|
2401
|
+
/**
|
|
2402
|
+
* Returns a specified [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).
|
|
2403
|
+
*
|
|
2404
|
+
* Unless you're using a `custom_redirect_url`, you should poll a newly-created `connect_webview` to find out if the user has signed in or to get details about what devices they've connected.
|
|
2405
|
+
*/
|
|
2077
2406
|
get '/connect_webviews/get'(): (
|
|
2078
2407
|
parameters: ConnectWebviewsGetParameters,
|
|
2079
2408
|
options?: ConnectWebviewsGetOptions,
|
|
@@ -2087,6 +2416,9 @@ export class SeamHttpEndpoints {
|
|
|
2087
2416
|
}
|
|
2088
2417
|
}
|
|
2089
2418
|
|
|
2419
|
+
/**
|
|
2420
|
+
* Returns a list of all [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews).
|
|
2421
|
+
*/
|
|
2090
2422
|
get '/connect_webviews/list'(): (
|
|
2091
2423
|
parameters?: ConnectWebviewsListParameters,
|
|
2092
2424
|
options?: ConnectWebviewsListOptions,
|
|
@@ -2100,6 +2432,13 @@ export class SeamHttpEndpoints {
|
|
|
2100
2432
|
}
|
|
2101
2433
|
}
|
|
2102
2434
|
|
|
2435
|
+
/**
|
|
2436
|
+
* Deletes a specified [connected account](https://docs.seam.co/core-concepts/connected-accounts).
|
|
2437
|
+
*
|
|
2438
|
+
* Deleting a connected account triggers a `connected_account.deleted` event and removes the connected account and all data associated with the connected account from Seam, including devices, events, access codes, and so on. For every deleted resource, Seam sends a corresponding deleted event, but the resource is not deleted from the provider.
|
|
2439
|
+
*
|
|
2440
|
+
* For example, if you delete a connected account with a device that has an access code, Seam sends a `connected_account.deleted` event, a `device.deleted` event, and an `access_code.deleted` event, but Seam does not remove the access code from the device.
|
|
2441
|
+
*/
|
|
2103
2442
|
get '/connected_accounts/delete'(): (
|
|
2104
2443
|
parameters: ConnectedAccountsDeleteParameters,
|
|
2105
2444
|
options?: ConnectedAccountsDeleteOptions,
|
|
@@ -2113,6 +2452,9 @@ export class SeamHttpEndpoints {
|
|
|
2113
2452
|
}
|
|
2114
2453
|
}
|
|
2115
2454
|
|
|
2455
|
+
/**
|
|
2456
|
+
* Returns a specified [connected account](https://docs.seam.co/core-concepts/connected-accounts).
|
|
2457
|
+
*/
|
|
2116
2458
|
get '/connected_accounts/get'(): (
|
|
2117
2459
|
parameters?: ConnectedAccountsGetParameters,
|
|
2118
2460
|
options?: ConnectedAccountsGetOptions,
|
|
@@ -2126,6 +2468,9 @@ export class SeamHttpEndpoints {
|
|
|
2126
2468
|
}
|
|
2127
2469
|
}
|
|
2128
2470
|
|
|
2471
|
+
/**
|
|
2472
|
+
* Returns a list of all [connected accounts](https://docs.seam.co/core-concepts/connected-accounts).
|
|
2473
|
+
*/
|
|
2129
2474
|
get '/connected_accounts/list'(): (
|
|
2130
2475
|
parameters?: ConnectedAccountsListParameters,
|
|
2131
2476
|
options?: ConnectedAccountsListOptions,
|
|
@@ -2139,6 +2484,9 @@ export class SeamHttpEndpoints {
|
|
|
2139
2484
|
}
|
|
2140
2485
|
}
|
|
2141
2486
|
|
|
2487
|
+
/**
|
|
2488
|
+
* Request a [connected account](https://docs.seam.co/core-concepts/connected-accounts) sync attempt for the specified `connected_account_id`.
|
|
2489
|
+
*/
|
|
2142
2490
|
get '/connected_accounts/sync'(): (
|
|
2143
2491
|
parameters: ConnectedAccountsSyncParameters,
|
|
2144
2492
|
options?: ConnectedAccountsSyncOptions,
|
|
@@ -2152,6 +2500,9 @@ export class SeamHttpEndpoints {
|
|
|
2152
2500
|
}
|
|
2153
2501
|
}
|
|
2154
2502
|
|
|
2503
|
+
/**
|
|
2504
|
+
* Updates a [connected account](https://docs.seam.co/core-concepts/connected-accounts).
|
|
2505
|
+
*/
|
|
2155
2506
|
get '/connected_accounts/update'(): (
|
|
2156
2507
|
parameters: ConnectedAccountsUpdateParameters,
|
|
2157
2508
|
options?: ConnectedAccountsUpdateOptions,
|
|
@@ -2165,6 +2516,9 @@ export class SeamHttpEndpoints {
|
|
|
2165
2516
|
}
|
|
2166
2517
|
}
|
|
2167
2518
|
|
|
2519
|
+
/**
|
|
2520
|
+
* Simulates a connected account becoming disconnected from Seam. Only applicable for [sandbox workspaces](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
2521
|
+
*/
|
|
2168
2522
|
get '/connected_accounts/simulate/disconnect'(): (
|
|
2169
2523
|
parameters: ConnectedAccountsSimulateDisconnectParameters,
|
|
2170
2524
|
options?: ConnectedAccountsSimulateDisconnectOptions,
|
|
@@ -2181,6 +2535,9 @@ export class SeamHttpEndpoints {
|
|
|
2181
2535
|
}
|
|
2182
2536
|
}
|
|
2183
2537
|
|
|
2538
|
+
/**
|
|
2539
|
+
* Creates a new customer portal magic link with configurable features.
|
|
2540
|
+
*/
|
|
2184
2541
|
get '/customers/create_portal'(): (
|
|
2185
2542
|
parameters?: CustomersCreatePortalParameters,
|
|
2186
2543
|
options?: CustomersCreatePortalOptions,
|
|
@@ -2194,6 +2551,10 @@ export class SeamHttpEndpoints {
|
|
|
2194
2551
|
}
|
|
2195
2552
|
}
|
|
2196
2553
|
|
|
2554
|
+
/**
|
|
2555
|
+
* Deletes customer data including resources like spaces, properties, rooms, users, etc.
|
|
2556
|
+
* This will delete the partner resources and any related Seam resources (user identities, access grants, spaces).
|
|
2557
|
+
*/
|
|
2197
2558
|
get '/customers/delete_data'(): (
|
|
2198
2559
|
parameters?: CustomersDeleteDataParameters,
|
|
2199
2560
|
options?: CustomersDeleteDataOptions,
|
|
@@ -2207,6 +2568,9 @@ export class SeamHttpEndpoints {
|
|
|
2207
2568
|
}
|
|
2208
2569
|
}
|
|
2209
2570
|
|
|
2571
|
+
/**
|
|
2572
|
+
* Pushes customer data including resources like spaces, properties, rooms, users, etc.
|
|
2573
|
+
*/
|
|
2210
2574
|
get '/customers/push_data'(): (
|
|
2211
2575
|
parameters: CustomersPushDataParameters,
|
|
2212
2576
|
options?: CustomersPushDataOptions,
|
|
@@ -2220,6 +2584,11 @@ export class SeamHttpEndpoints {
|
|
|
2220
2584
|
}
|
|
2221
2585
|
}
|
|
2222
2586
|
|
|
2587
|
+
/**
|
|
2588
|
+
* Returns a specified [device](https://docs.seam.co/core-concepts/devices).
|
|
2589
|
+
*
|
|
2590
|
+
* You must specify either `device_id` or `name`.
|
|
2591
|
+
*/
|
|
2223
2592
|
get '/devices/get'(): (
|
|
2224
2593
|
parameters?: DevicesGetParameters,
|
|
2225
2594
|
options?: DevicesGetOptions,
|
|
@@ -2233,6 +2602,9 @@ export class SeamHttpEndpoints {
|
|
|
2233
2602
|
}
|
|
2234
2603
|
}
|
|
2235
2604
|
|
|
2605
|
+
/**
|
|
2606
|
+
* Returns a list of all [devices](https://docs.seam.co/core-concepts/devices).
|
|
2607
|
+
*/
|
|
2236
2608
|
get '/devices/list'(): (
|
|
2237
2609
|
parameters?: DevicesListParameters,
|
|
2238
2610
|
options?: DevicesListOptions,
|
|
@@ -2246,6 +2618,13 @@ export class SeamHttpEndpoints {
|
|
|
2246
2618
|
}
|
|
2247
2619
|
}
|
|
2248
2620
|
|
|
2621
|
+
/**
|
|
2622
|
+
* Returns a list of all device providers.
|
|
2623
|
+
*
|
|
2624
|
+
* The information that this endpoint returns for each provider includes a set of [capability flags](https://docs.seam.co/capability-guides/device-and-system-capabilities#capability-flags), such as `device_provider.can_remotely_unlock`. If at least one supported device from a provider has a specific capability, the corresponding capability flag is `true`.
|
|
2625
|
+
*
|
|
2626
|
+
* When you create a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews), you can customize the providers—that is, the brands—that it displays. In the `/connect_webviews/create` request, include the desired set of device provider keys in the `accepted_providers` parameter. See also [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).
|
|
2627
|
+
*/
|
|
2249
2628
|
get '/devices/list_device_providers'(): (
|
|
2250
2629
|
parameters?: DevicesListDeviceProvidersParameters,
|
|
2251
2630
|
options?: DevicesListDeviceProvidersOptions,
|
|
@@ -2259,6 +2638,9 @@ export class SeamHttpEndpoints {
|
|
|
2259
2638
|
}
|
|
2260
2639
|
}
|
|
2261
2640
|
|
|
2641
|
+
/**
|
|
2642
|
+
* Updates provider-specific metadata for devices.
|
|
2643
|
+
*/
|
|
2262
2644
|
get '/devices/report_provider_metadata'(): (
|
|
2263
2645
|
parameters: DevicesReportProviderMetadataParameters,
|
|
2264
2646
|
options?: DevicesReportProviderMetadataOptions,
|
|
@@ -2272,6 +2654,11 @@ export class SeamHttpEndpoints {
|
|
|
2272
2654
|
}
|
|
2273
2655
|
}
|
|
2274
2656
|
|
|
2657
|
+
/**
|
|
2658
|
+
* Updates a specified [device](https://docs.seam.co/core-concepts/devices).
|
|
2659
|
+
*
|
|
2660
|
+
* You can add or change [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) for a device, change the device's name, or [convert a managed device to unmanaged](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
|
|
2661
|
+
*/
|
|
2275
2662
|
get '/devices/update'(): (
|
|
2276
2663
|
parameters: DevicesUpdateParameters,
|
|
2277
2664
|
options?: DevicesUpdateOptions,
|
|
@@ -2285,6 +2672,9 @@ export class SeamHttpEndpoints {
|
|
|
2285
2672
|
}
|
|
2286
2673
|
}
|
|
2287
2674
|
|
|
2675
|
+
/**
|
|
2676
|
+
* Simulates connecting a device to Seam. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).
|
|
2677
|
+
*/
|
|
2288
2678
|
get '/devices/simulate/connect'(): (
|
|
2289
2679
|
parameters: DevicesSimulateConnectParameters,
|
|
2290
2680
|
options?: DevicesSimulateConnectOptions,
|
|
@@ -2298,6 +2688,12 @@ export class SeamHttpEndpoints {
|
|
|
2298
2688
|
}
|
|
2299
2689
|
}
|
|
2300
2690
|
|
|
2691
|
+
/**
|
|
2692
|
+
* Simulates bringing the Wi‑Fi hub (bridge) back online for a device.
|
|
2693
|
+
* Only applicable for sandbox workspaces and currently
|
|
2694
|
+
* implemented for August and TTLock locks.
|
|
2695
|
+
* This will clear the `hub_disconnected` error on the device.
|
|
2696
|
+
*/
|
|
2301
2697
|
get '/devices/simulate/connect_to_hub'(): (
|
|
2302
2698
|
parameters: DevicesSimulateConnectToHubParameters,
|
|
2303
2699
|
options?: DevicesSimulateConnectToHubOptions,
|
|
@@ -2311,6 +2707,9 @@ export class SeamHttpEndpoints {
|
|
|
2311
2707
|
}
|
|
2312
2708
|
}
|
|
2313
2709
|
|
|
2710
|
+
/**
|
|
2711
|
+
* Simulates disconnecting a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).
|
|
2712
|
+
*/
|
|
2314
2713
|
get '/devices/simulate/disconnect'(): (
|
|
2315
2714
|
parameters: DevicesSimulateDisconnectParameters,
|
|
2316
2715
|
options?: DevicesSimulateDisconnectOptions,
|
|
@@ -2324,6 +2723,13 @@ export class SeamHttpEndpoints {
|
|
|
2324
2723
|
}
|
|
2325
2724
|
}
|
|
2326
2725
|
|
|
2726
|
+
/**
|
|
2727
|
+
* Simulates taking the Wi‑Fi hub (bridge) offline for a device.
|
|
2728
|
+
* Only applicable for sandbox workspaces and currently
|
|
2729
|
+
* implemented for August, TTLock, and IglooHome devices.
|
|
2730
|
+
* This will set the `hub_disconnected` error on the device, or mark the
|
|
2731
|
+
* IglooHome bridge offline in sandbox.
|
|
2732
|
+
*/
|
|
2327
2733
|
get '/devices/simulate/disconnect_from_hub'(): (
|
|
2328
2734
|
parameters: DevicesSimulateDisconnectFromHubParameters,
|
|
2329
2735
|
options?: DevicesSimulateDisconnectFromHubOptions,
|
|
@@ -2337,6 +2743,11 @@ export class SeamHttpEndpoints {
|
|
|
2337
2743
|
}
|
|
2338
2744
|
}
|
|
2339
2745
|
|
|
2746
|
+
/**
|
|
2747
|
+
* Toggle the simulated Nuki Smart Hosting subscription for a device (sandbox only).
|
|
2748
|
+
* Send `is_expired: true` to simulate an expired subscription, or `false` to simulate an active subscription.
|
|
2749
|
+
* The actual device error is created/cleared by the poller after this state change.
|
|
2750
|
+
*/
|
|
2340
2751
|
get '/devices/simulate/paid_subscription'(): (
|
|
2341
2752
|
parameters: DevicesSimulatePaidSubscriptionParameters,
|
|
2342
2753
|
options?: DevicesSimulatePaidSubscriptionOptions,
|
|
@@ -2350,6 +2761,9 @@ export class SeamHttpEndpoints {
|
|
|
2350
2761
|
}
|
|
2351
2762
|
}
|
|
2352
2763
|
|
|
2764
|
+
/**
|
|
2765
|
+
* Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).
|
|
2766
|
+
*/
|
|
2353
2767
|
get '/devices/simulate/remove'(): (
|
|
2354
2768
|
parameters: DevicesSimulateRemoveParameters,
|
|
2355
2769
|
options?: DevicesSimulateRemoveOptions,
|
|
@@ -2363,6 +2777,13 @@ export class SeamHttpEndpoints {
|
|
|
2363
2777
|
}
|
|
2364
2778
|
}
|
|
2365
2779
|
|
|
2780
|
+
/**
|
|
2781
|
+
* Returns a specified [unmanaged device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
|
|
2782
|
+
*
|
|
2783
|
+
* An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
|
|
2784
|
+
*
|
|
2785
|
+
* You must specify either `device_id` or `name`.
|
|
2786
|
+
*/
|
|
2366
2787
|
get '/devices/unmanaged/get'(): (
|
|
2367
2788
|
parameters?: DevicesUnmanagedGetParameters,
|
|
2368
2789
|
options?: DevicesUnmanagedGetOptions,
|
|
@@ -2376,6 +2797,11 @@ export class SeamHttpEndpoints {
|
|
|
2376
2797
|
}
|
|
2377
2798
|
}
|
|
2378
2799
|
|
|
2800
|
+
/**
|
|
2801
|
+
* Returns a list of all [unmanaged devices](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
|
|
2802
|
+
*
|
|
2803
|
+
* An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
|
|
2804
|
+
*/
|
|
2379
2805
|
get '/devices/unmanaged/list'(): (
|
|
2380
2806
|
parameters?: DevicesUnmanagedListParameters,
|
|
2381
2807
|
options?: DevicesUnmanagedListOptions,
|
|
@@ -2389,6 +2815,11 @@ export class SeamHttpEndpoints {
|
|
|
2389
2815
|
}
|
|
2390
2816
|
}
|
|
2391
2817
|
|
|
2818
|
+
/**
|
|
2819
|
+
* Updates a specified [unmanaged device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices). To convert an unmanaged device to managed, set `is_managed` to `true`.
|
|
2820
|
+
*
|
|
2821
|
+
* An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
|
|
2822
|
+
*/
|
|
2392
2823
|
get '/devices/unmanaged/update'(): (
|
|
2393
2824
|
parameters: DevicesUnmanagedUpdateParameters,
|
|
2394
2825
|
options?: DevicesUnmanagedUpdateOptions,
|
|
@@ -2402,6 +2833,9 @@ export class SeamHttpEndpoints {
|
|
|
2402
2833
|
}
|
|
2403
2834
|
}
|
|
2404
2835
|
|
|
2836
|
+
/**
|
|
2837
|
+
* Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://docs.seam.co/developer-tools/webhooks), but it enables you to retrieve an event that already took place.
|
|
2838
|
+
*/
|
|
2405
2839
|
get '/events/get'(): (
|
|
2406
2840
|
parameters?: EventsGetParameters,
|
|
2407
2841
|
options?: EventsGetOptions,
|
|
@@ -2415,6 +2849,9 @@ export class SeamHttpEndpoints {
|
|
|
2415
2849
|
}
|
|
2416
2850
|
}
|
|
2417
2851
|
|
|
2852
|
+
/**
|
|
2853
|
+
* Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://docs.seam.co/developer-tools/webhooks), but it enables you to filter or see events that already took place.
|
|
2854
|
+
*/
|
|
2418
2855
|
get '/events/list'(): (
|
|
2419
2856
|
parameters?: EventsListParameters,
|
|
2420
2857
|
options?: EventsListOptions,
|
|
@@ -2428,6 +2865,9 @@ export class SeamHttpEndpoints {
|
|
|
2428
2865
|
}
|
|
2429
2866
|
}
|
|
2430
2867
|
|
|
2868
|
+
/**
|
|
2869
|
+
* Deletes a specified [Instant Key](https://docs.seam.co/capability-guides/instant-keys).
|
|
2870
|
+
*/
|
|
2431
2871
|
get '/instant_keys/delete'(): (
|
|
2432
2872
|
parameters: InstantKeysDeleteParameters,
|
|
2433
2873
|
options?: InstantKeysDeleteOptions,
|
|
@@ -2441,6 +2881,9 @@ export class SeamHttpEndpoints {
|
|
|
2441
2881
|
}
|
|
2442
2882
|
}
|
|
2443
2883
|
|
|
2884
|
+
/**
|
|
2885
|
+
* Gets an [instant key](https://docs.seam.co/capability-guides/instant-keys).
|
|
2886
|
+
*/
|
|
2444
2887
|
get '/instant_keys/get'(): (
|
|
2445
2888
|
parameters?: InstantKeysGetParameters,
|
|
2446
2889
|
options?: InstantKeysGetOptions,
|
|
@@ -2454,6 +2897,9 @@ export class SeamHttpEndpoints {
|
|
|
2454
2897
|
}
|
|
2455
2898
|
}
|
|
2456
2899
|
|
|
2900
|
+
/**
|
|
2901
|
+
* Returns a list of all [instant keys](https://docs.seam.co/capability-guides/instant-keys).
|
|
2902
|
+
*/
|
|
2457
2903
|
get '/instant_keys/list'(): (
|
|
2458
2904
|
parameters?: InstantKeysListParameters,
|
|
2459
2905
|
options?: InstantKeysListOptions,
|
|
@@ -2467,6 +2913,9 @@ export class SeamHttpEndpoints {
|
|
|
2467
2913
|
}
|
|
2468
2914
|
}
|
|
2469
2915
|
|
|
2916
|
+
/**
|
|
2917
|
+
* Configures the auto-lock setting for a specified [lock](https://docs.seam.co/low-level-apis/smart-locks).
|
|
2918
|
+
*/
|
|
2470
2919
|
get '/locks/configure_auto_lock'(): (
|
|
2471
2920
|
parameters: LocksConfigureAutoLockParameters,
|
|
2472
2921
|
options?: LocksConfigureAutoLockOptions,
|
|
@@ -2480,6 +2929,10 @@ export class SeamHttpEndpoints {
|
|
|
2480
2929
|
}
|
|
2481
2930
|
}
|
|
2482
2931
|
|
|
2932
|
+
/**
|
|
2933
|
+
* Returns a specified [lock](https://docs.seam.co/low-level-apis/smart-locks).
|
|
2934
|
+
* @deprecated Use `/devices/get` instead.
|
|
2935
|
+
*/
|
|
2483
2936
|
get '/locks/get'(): (
|
|
2484
2937
|
parameters?: LocksGetParameters,
|
|
2485
2938
|
options?: LocksGetOptions,
|
|
@@ -2493,6 +2946,9 @@ export class SeamHttpEndpoints {
|
|
|
2493
2946
|
}
|
|
2494
2947
|
}
|
|
2495
2948
|
|
|
2949
|
+
/**
|
|
2950
|
+
* Returns a list of all [locks](https://docs.seam.co/low-level-apis/smart-locks).
|
|
2951
|
+
*/
|
|
2496
2952
|
get '/locks/list'(): (
|
|
2497
2953
|
parameters?: LocksListParameters,
|
|
2498
2954
|
options?: LocksListOptions,
|
|
@@ -2506,6 +2962,9 @@ export class SeamHttpEndpoints {
|
|
|
2506
2962
|
}
|
|
2507
2963
|
}
|
|
2508
2964
|
|
|
2965
|
+
/**
|
|
2966
|
+
* 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).
|
|
2967
|
+
*/
|
|
2509
2968
|
get '/locks/lock_door'(): (
|
|
2510
2969
|
parameters: LocksLockDoorParameters,
|
|
2511
2970
|
options?: LocksLockDoorOptions,
|
|
@@ -2519,6 +2978,9 @@ export class SeamHttpEndpoints {
|
|
|
2519
2978
|
}
|
|
2520
2979
|
}
|
|
2521
2980
|
|
|
2981
|
+
/**
|
|
2982
|
+
* 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).
|
|
2983
|
+
*/
|
|
2522
2984
|
get '/locks/unlock_door'(): (
|
|
2523
2985
|
parameters: LocksUnlockDoorParameters,
|
|
2524
2986
|
options?: LocksUnlockDoorOptions,
|
|
@@ -2532,6 +2994,9 @@ export class SeamHttpEndpoints {
|
|
|
2532
2994
|
}
|
|
2533
2995
|
}
|
|
2534
2996
|
|
|
2997
|
+
/**
|
|
2998
|
+
* 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).
|
|
2999
|
+
*/
|
|
2535
3000
|
get '/locks/simulate/keypad_code_entry'(): (
|
|
2536
3001
|
parameters: LocksSimulateKeypadCodeEntryParameters,
|
|
2537
3002
|
options?: LocksSimulateKeypadCodeEntryOptions,
|
|
@@ -2545,6 +3010,9 @@ export class SeamHttpEndpoints {
|
|
|
2545
3010
|
}
|
|
2546
3011
|
}
|
|
2547
3012
|
|
|
3013
|
+
/**
|
|
3014
|
+
* 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).
|
|
3015
|
+
*/
|
|
2548
3016
|
get '/locks/simulate/manual_lock_via_keypad'(): (
|
|
2549
3017
|
parameters: LocksSimulateManualLockViaKeypadParameters,
|
|
2550
3018
|
options?: LocksSimulateManualLockViaKeypadOptions,
|
|
@@ -2558,6 +3026,9 @@ export class SeamHttpEndpoints {
|
|
|
2558
3026
|
}
|
|
2559
3027
|
}
|
|
2560
3028
|
|
|
3029
|
+
/**
|
|
3030
|
+
* Returns a list of all [noise sensors](https://docs.seam.co/capability-guides/noise-sensors).
|
|
3031
|
+
*/
|
|
2561
3032
|
get '/noise_sensors/list'(): (
|
|
2562
3033
|
parameters?: NoiseSensorsListParameters,
|
|
2563
3034
|
options?: NoiseSensorsListOptions,
|
|
@@ -2571,6 +3042,9 @@ export class SeamHttpEndpoints {
|
|
|
2571
3042
|
}
|
|
2572
3043
|
}
|
|
2573
3044
|
|
|
3045
|
+
/**
|
|
3046
|
+
* 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.
|
|
3047
|
+
*/
|
|
2574
3048
|
get '/noise_sensors/noise_thresholds/create'(): (
|
|
2575
3049
|
parameters: NoiseSensorsNoiseThresholdsCreateParameters,
|
|
2576
3050
|
options?: NoiseSensorsNoiseThresholdsCreateOptions,
|
|
@@ -2587,6 +3061,9 @@ export class SeamHttpEndpoints {
|
|
|
2587
3061
|
}
|
|
2588
3062
|
}
|
|
2589
3063
|
|
|
3064
|
+
/**
|
|
3065
|
+
* 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).
|
|
3066
|
+
*/
|
|
2590
3067
|
get '/noise_sensors/noise_thresholds/delete'(): (
|
|
2591
3068
|
parameters: NoiseSensorsNoiseThresholdsDeleteParameters,
|
|
2592
3069
|
options?: NoiseSensorsNoiseThresholdsDeleteOptions,
|
|
@@ -2603,6 +3080,9 @@ export class SeamHttpEndpoints {
|
|
|
2603
3080
|
}
|
|
2604
3081
|
}
|
|
2605
3082
|
|
|
3083
|
+
/**
|
|
3084
|
+
* 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).
|
|
3085
|
+
*/
|
|
2606
3086
|
get '/noise_sensors/noise_thresholds/get'(): (
|
|
2607
3087
|
parameters: NoiseSensorsNoiseThresholdsGetParameters,
|
|
2608
3088
|
options?: NoiseSensorsNoiseThresholdsGetOptions,
|
|
@@ -2619,6 +3099,9 @@ export class SeamHttpEndpoints {
|
|
|
2619
3099
|
}
|
|
2620
3100
|
}
|
|
2621
3101
|
|
|
3102
|
+
/**
|
|
3103
|
+
* 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).
|
|
3104
|
+
*/
|
|
2622
3105
|
get '/noise_sensors/noise_thresholds/list'(): (
|
|
2623
3106
|
parameters: NoiseSensorsNoiseThresholdsListParameters,
|
|
2624
3107
|
options?: NoiseSensorsNoiseThresholdsListOptions,
|
|
@@ -2635,6 +3118,9 @@ export class SeamHttpEndpoints {
|
|
|
2635
3118
|
}
|
|
2636
3119
|
}
|
|
2637
3120
|
|
|
3121
|
+
/**
|
|
3122
|
+
* 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).
|
|
3123
|
+
*/
|
|
2638
3124
|
get '/noise_sensors/noise_thresholds/update'(): (
|
|
2639
3125
|
parameters: NoiseSensorsNoiseThresholdsUpdateParameters,
|
|
2640
3126
|
options?: NoiseSensorsNoiseThresholdsUpdateOptions,
|
|
@@ -2651,6 +3137,9 @@ export class SeamHttpEndpoints {
|
|
|
2651
3137
|
}
|
|
2652
3138
|
}
|
|
2653
3139
|
|
|
3140
|
+
/**
|
|
3141
|
+
* 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).
|
|
3142
|
+
*/
|
|
2654
3143
|
get '/noise_sensors/simulate/trigger_noise_threshold'(): (
|
|
2655
3144
|
parameters: NoiseSensorsSimulateTriggerNoiseThresholdParameters,
|
|
2656
3145
|
options?: NoiseSensorsSimulateTriggerNoiseThresholdOptions,
|
|
@@ -2664,6 +3153,9 @@ export class SeamHttpEndpoints {
|
|
|
2664
3153
|
}
|
|
2665
3154
|
}
|
|
2666
3155
|
|
|
3156
|
+
/**
|
|
3157
|
+
* 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).
|
|
3158
|
+
*/
|
|
2667
3159
|
get '/phones/deactivate'(): (
|
|
2668
3160
|
parameters: PhonesDeactivateParameters,
|
|
2669
3161
|
options?: PhonesDeactivateOptions,
|
|
@@ -2677,6 +3169,9 @@ export class SeamHttpEndpoints {
|
|
|
2677
3169
|
}
|
|
2678
3170
|
}
|
|
2679
3171
|
|
|
3172
|
+
/**
|
|
3173
|
+
* Returns a specified [phone](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity).
|
|
3174
|
+
*/
|
|
2680
3175
|
get '/phones/get'(): (
|
|
2681
3176
|
parameters: PhonesGetParameters,
|
|
2682
3177
|
options?: PhonesGetOptions,
|
|
@@ -2690,6 +3185,9 @@ export class SeamHttpEndpoints {
|
|
|
2690
3185
|
}
|
|
2691
3186
|
}
|
|
2692
3187
|
|
|
3188
|
+
/**
|
|
3189
|
+
* 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.
|
|
3190
|
+
*/
|
|
2693
3191
|
get '/phones/list'(): (
|
|
2694
3192
|
parameters?: PhonesListParameters,
|
|
2695
3193
|
options?: PhonesListOptions,
|
|
@@ -2703,6 +3201,9 @@ export class SeamHttpEndpoints {
|
|
|
2703
3201
|
}
|
|
2704
3202
|
}
|
|
2705
3203
|
|
|
3204
|
+
/**
|
|
3205
|
+
* 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).
|
|
3206
|
+
*/
|
|
2706
3207
|
get '/phones/simulate/create_sandbox_phone'(): (
|
|
2707
3208
|
parameters: PhonesSimulateCreateSandboxPhoneParameters,
|
|
2708
3209
|
options?: PhonesSimulateCreateSandboxPhoneOptions,
|
|
@@ -2716,6 +3217,9 @@ export class SeamHttpEndpoints {
|
|
|
2716
3217
|
}
|
|
2717
3218
|
}
|
|
2718
3219
|
|
|
3220
|
+
/**
|
|
3221
|
+
* Adds [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) to a specific space.
|
|
3222
|
+
*/
|
|
2719
3223
|
get '/spaces/add_acs_entrances'(): (
|
|
2720
3224
|
parameters: SpacesAddAcsEntrancesParameters,
|
|
2721
3225
|
options?: SpacesAddAcsEntrancesOptions,
|
|
@@ -2729,6 +3233,9 @@ export class SeamHttpEndpoints {
|
|
|
2729
3233
|
}
|
|
2730
3234
|
}
|
|
2731
3235
|
|
|
3236
|
+
/**
|
|
3237
|
+
* Adds a [connected account](https://docs.seam.co/core-concepts/connected-accounts) to a specific space.
|
|
3238
|
+
*/
|
|
2732
3239
|
get '/spaces/add_connected_account'(): (
|
|
2733
3240
|
parameters: SpacesAddConnectedAccountParameters,
|
|
2734
3241
|
options?: SpacesAddConnectedAccountOptions,
|
|
@@ -2742,6 +3249,9 @@ export class SeamHttpEndpoints {
|
|
|
2742
3249
|
}
|
|
2743
3250
|
}
|
|
2744
3251
|
|
|
3252
|
+
/**
|
|
3253
|
+
* Adds devices to a specific space.
|
|
3254
|
+
*/
|
|
2745
3255
|
get '/spaces/add_devices'(): (
|
|
2746
3256
|
parameters: SpacesAddDevicesParameters,
|
|
2747
3257
|
options?: SpacesAddDevicesOptions,
|
|
@@ -2755,6 +3265,9 @@ export class SeamHttpEndpoints {
|
|
|
2755
3265
|
}
|
|
2756
3266
|
}
|
|
2757
3267
|
|
|
3268
|
+
/**
|
|
3269
|
+
* Creates a new space.
|
|
3270
|
+
*/
|
|
2758
3271
|
get '/spaces/create'(): (
|
|
2759
3272
|
parameters: SpacesCreateParameters,
|
|
2760
3273
|
options?: SpacesCreateOptions,
|
|
@@ -2768,6 +3281,9 @@ export class SeamHttpEndpoints {
|
|
|
2768
3281
|
}
|
|
2769
3282
|
}
|
|
2770
3283
|
|
|
3284
|
+
/**
|
|
3285
|
+
* Deletes a space.
|
|
3286
|
+
*/
|
|
2771
3287
|
get '/spaces/delete'(): (
|
|
2772
3288
|
parameters: SpacesDeleteParameters,
|
|
2773
3289
|
options?: SpacesDeleteOptions,
|
|
@@ -2781,6 +3297,9 @@ export class SeamHttpEndpoints {
|
|
|
2781
3297
|
}
|
|
2782
3298
|
}
|
|
2783
3299
|
|
|
3300
|
+
/**
|
|
3301
|
+
* Gets a space.
|
|
3302
|
+
*/
|
|
2784
3303
|
get '/spaces/get'(): (
|
|
2785
3304
|
parameters?: SpacesGetParameters,
|
|
2786
3305
|
options?: SpacesGetOptions,
|
|
@@ -2794,6 +3313,9 @@ export class SeamHttpEndpoints {
|
|
|
2794
3313
|
}
|
|
2795
3314
|
}
|
|
2796
3315
|
|
|
3316
|
+
/**
|
|
3317
|
+
* Gets all related resources for one or more Spaces.
|
|
3318
|
+
*/
|
|
2797
3319
|
get '/spaces/get_related'(): (
|
|
2798
3320
|
parameters?: SpacesGetRelatedParameters,
|
|
2799
3321
|
options?: SpacesGetRelatedOptions,
|
|
@@ -2807,6 +3329,9 @@ export class SeamHttpEndpoints {
|
|
|
2807
3329
|
}
|
|
2808
3330
|
}
|
|
2809
3331
|
|
|
3332
|
+
/**
|
|
3333
|
+
* Returns a list of all spaces.
|
|
3334
|
+
*/
|
|
2810
3335
|
get '/spaces/list'(): (
|
|
2811
3336
|
parameters?: SpacesListParameters,
|
|
2812
3337
|
options?: SpacesListOptions,
|
|
@@ -2820,6 +3345,9 @@ export class SeamHttpEndpoints {
|
|
|
2820
3345
|
}
|
|
2821
3346
|
}
|
|
2822
3347
|
|
|
3348
|
+
/**
|
|
3349
|
+
* Removes [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) from a specific space.
|
|
3350
|
+
*/
|
|
2823
3351
|
get '/spaces/remove_acs_entrances'(): (
|
|
2824
3352
|
parameters: SpacesRemoveAcsEntrancesParameters,
|
|
2825
3353
|
options?: SpacesRemoveAcsEntrancesOptions,
|
|
@@ -2833,6 +3361,9 @@ export class SeamHttpEndpoints {
|
|
|
2833
3361
|
}
|
|
2834
3362
|
}
|
|
2835
3363
|
|
|
3364
|
+
/**
|
|
3365
|
+
* Removes a [connected account](https://docs.seam.co/core-concepts/connected-accounts) from a specific space.
|
|
3366
|
+
*/
|
|
2836
3367
|
get '/spaces/remove_connected_account'(): (
|
|
2837
3368
|
parameters: SpacesRemoveConnectedAccountParameters,
|
|
2838
3369
|
options?: SpacesRemoveConnectedAccountOptions,
|
|
@@ -2846,6 +3377,9 @@ export class SeamHttpEndpoints {
|
|
|
2846
3377
|
}
|
|
2847
3378
|
}
|
|
2848
3379
|
|
|
3380
|
+
/**
|
|
3381
|
+
* Removes devices from a specific space.
|
|
3382
|
+
*/
|
|
2849
3383
|
get '/spaces/remove_devices'(): (
|
|
2850
3384
|
parameters: SpacesRemoveDevicesParameters,
|
|
2851
3385
|
options?: SpacesRemoveDevicesOptions,
|
|
@@ -2859,6 +3393,9 @@ export class SeamHttpEndpoints {
|
|
|
2859
3393
|
}
|
|
2860
3394
|
}
|
|
2861
3395
|
|
|
3396
|
+
/**
|
|
3397
|
+
* Updates an existing space.
|
|
3398
|
+
*/
|
|
2862
3399
|
get '/spaces/update'(): (
|
|
2863
3400
|
parameters?: SpacesUpdateParameters,
|
|
2864
3401
|
options?: SpacesUpdateOptions,
|
|
@@ -2872,6 +3409,9 @@ export class SeamHttpEndpoints {
|
|
|
2872
3409
|
}
|
|
2873
3410
|
}
|
|
2874
3411
|
|
|
3412
|
+
/**
|
|
3413
|
+
* Activates a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3414
|
+
*/
|
|
2875
3415
|
get '/thermostats/activate_climate_preset'(): (
|
|
2876
3416
|
parameters: ThermostatsActivateClimatePresetParameters,
|
|
2877
3417
|
options?: ThermostatsActivateClimatePresetOptions,
|
|
@@ -2885,6 +3425,9 @@ export class SeamHttpEndpoints {
|
|
|
2885
3425
|
}
|
|
2886
3426
|
}
|
|
2887
3427
|
|
|
3428
|
+
/**
|
|
3429
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [cool mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
3430
|
+
*/
|
|
2888
3431
|
get '/thermostats/cool'(): (
|
|
2889
3432
|
parameters: ThermostatsCoolParameters,
|
|
2890
3433
|
options?: ThermostatsCoolOptions,
|
|
@@ -2898,6 +3441,9 @@ export class SeamHttpEndpoints {
|
|
|
2898
3441
|
}
|
|
2899
3442
|
}
|
|
2900
3443
|
|
|
3444
|
+
/**
|
|
3445
|
+
* Creates a [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3446
|
+
*/
|
|
2901
3447
|
get '/thermostats/create_climate_preset'(): (
|
|
2902
3448
|
parameters: ThermostatsCreateClimatePresetParameters,
|
|
2903
3449
|
options?: ThermostatsCreateClimatePresetOptions,
|
|
@@ -2911,6 +3457,9 @@ export class SeamHttpEndpoints {
|
|
|
2911
3457
|
}
|
|
2912
3458
|
}
|
|
2913
3459
|
|
|
3460
|
+
/**
|
|
3461
|
+
* Deletes a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3462
|
+
*/
|
|
2914
3463
|
get '/thermostats/delete_climate_preset'(): (
|
|
2915
3464
|
parameters: ThermostatsDeleteClimatePresetParameters,
|
|
2916
3465
|
options?: ThermostatsDeleteClimatePresetOptions,
|
|
@@ -2924,6 +3473,9 @@ export class SeamHttpEndpoints {
|
|
|
2924
3473
|
}
|
|
2925
3474
|
}
|
|
2926
3475
|
|
|
3476
|
+
/**
|
|
3477
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [heat mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
3478
|
+
*/
|
|
2927
3479
|
get '/thermostats/heat'(): (
|
|
2928
3480
|
parameters: ThermostatsHeatParameters,
|
|
2929
3481
|
options?: ThermostatsHeatOptions,
|
|
@@ -2937,6 +3489,9 @@ export class SeamHttpEndpoints {
|
|
|
2937
3489
|
}
|
|
2938
3490
|
}
|
|
2939
3491
|
|
|
3492
|
+
/**
|
|
3493
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [heat-cool ("auto") mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
3494
|
+
*/
|
|
2940
3495
|
get '/thermostats/heat_cool'(): (
|
|
2941
3496
|
parameters: ThermostatsHeatCoolParameters,
|
|
2942
3497
|
options?: ThermostatsHeatCoolOptions,
|
|
@@ -2950,6 +3505,9 @@ export class SeamHttpEndpoints {
|
|
|
2950
3505
|
}
|
|
2951
3506
|
}
|
|
2952
3507
|
|
|
3508
|
+
/**
|
|
3509
|
+
* Returns a list of all [thermostats](https://docs.seam.co/capability-guides/thermostats).
|
|
3510
|
+
*/
|
|
2953
3511
|
get '/thermostats/list'(): (
|
|
2954
3512
|
parameters?: ThermostatsListParameters,
|
|
2955
3513
|
options?: ThermostatsListOptions,
|
|
@@ -2963,6 +3521,9 @@ export class SeamHttpEndpoints {
|
|
|
2963
3521
|
}
|
|
2964
3522
|
}
|
|
2965
3523
|
|
|
3524
|
+
/**
|
|
3525
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to ["off" mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
3526
|
+
*/
|
|
2966
3527
|
get '/thermostats/off'(): (
|
|
2967
3528
|
parameters: ThermostatsOffParameters,
|
|
2968
3529
|
options?: ThermostatsOffOptions,
|
|
@@ -2976,6 +3537,9 @@ export class SeamHttpEndpoints {
|
|
|
2976
3537
|
}
|
|
2977
3538
|
}
|
|
2978
3539
|
|
|
3540
|
+
/**
|
|
3541
|
+
* Sets a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) as the ["fallback"](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) preset for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3542
|
+
*/
|
|
2979
3543
|
get '/thermostats/set_fallback_climate_preset'(): (
|
|
2980
3544
|
parameters: ThermostatsSetFallbackClimatePresetParameters,
|
|
2981
3545
|
options?: ThermostatsSetFallbackClimatePresetOptions,
|
|
@@ -2989,6 +3553,9 @@ export class SeamHttpEndpoints {
|
|
|
2989
3553
|
}
|
|
2990
3554
|
}
|
|
2991
3555
|
|
|
3556
|
+
/**
|
|
3557
|
+
* Sets the [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3558
|
+
*/
|
|
2992
3559
|
get '/thermostats/set_fan_mode'(): (
|
|
2993
3560
|
parameters: ThermostatsSetFanModeParameters,
|
|
2994
3561
|
options?: ThermostatsSetFanModeOptions,
|
|
@@ -3002,6 +3569,9 @@ export class SeamHttpEndpoints {
|
|
|
3002
3569
|
}
|
|
3003
3570
|
}
|
|
3004
3571
|
|
|
3572
|
+
/**
|
|
3573
|
+
* Sets the [HVAC mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3574
|
+
*/
|
|
3005
3575
|
get '/thermostats/set_hvac_mode'(): (
|
|
3006
3576
|
parameters: ThermostatsSetHvacModeParameters,
|
|
3007
3577
|
options?: ThermostatsSetHvacModeOptions,
|
|
@@ -3015,6 +3585,9 @@ export class SeamHttpEndpoints {
|
|
|
3015
3585
|
}
|
|
3016
3586
|
}
|
|
3017
3587
|
|
|
3588
|
+
/**
|
|
3589
|
+
* Sets a [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) for a specified thermostat. Seam emits a `thermostat.temperature_threshold_exceeded` event and adds a warning on a thermostat if it reports a temperature outside the threshold range.
|
|
3590
|
+
*/
|
|
3018
3591
|
get '/thermostats/set_temperature_threshold'(): (
|
|
3019
3592
|
parameters: ThermostatsSetTemperatureThresholdParameters,
|
|
3020
3593
|
options?: ThermostatsSetTemperatureThresholdOptions,
|
|
@@ -3028,6 +3601,9 @@ export class SeamHttpEndpoints {
|
|
|
3028
3601
|
}
|
|
3029
3602
|
}
|
|
3030
3603
|
|
|
3604
|
+
/**
|
|
3605
|
+
* Updates a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3606
|
+
*/
|
|
3031
3607
|
get '/thermostats/update_climate_preset'(): (
|
|
3032
3608
|
parameters: ThermostatsUpdateClimatePresetParameters,
|
|
3033
3609
|
options?: ThermostatsUpdateClimatePresetOptions,
|
|
@@ -3041,6 +3617,9 @@ export class SeamHttpEndpoints {
|
|
|
3041
3617
|
}
|
|
3042
3618
|
}
|
|
3043
3619
|
|
|
3620
|
+
/**
|
|
3621
|
+
* Updates the thermostat weekly program for a thermostat device. To configure a weekly program, specify the ID of the daily program that you want to use for each day of the week. When you update a weekly program, the set of programs that you specify overwrites any previous weekly program for the thermostat.
|
|
3622
|
+
*/
|
|
3044
3623
|
get '/thermostats/update_weekly_program'(): (
|
|
3045
3624
|
parameters: ThermostatsUpdateWeeklyProgramParameters,
|
|
3046
3625
|
options?: ThermostatsUpdateWeeklyProgramOptions,
|
|
@@ -3054,6 +3633,9 @@ export class SeamHttpEndpoints {
|
|
|
3054
3633
|
}
|
|
3055
3634
|
}
|
|
3056
3635
|
|
|
3636
|
+
/**
|
|
3637
|
+
* Creates a new thermostat daily program. A daily program consists of a set of periods, where each period includes a start time and the key of a configured climate preset. Once you have defined a daily program, you can assign it to one or more days within a weekly program.
|
|
3638
|
+
*/
|
|
3057
3639
|
get '/thermostats/daily_programs/create'(): (
|
|
3058
3640
|
parameters: ThermostatsDailyProgramsCreateParameters,
|
|
3059
3641
|
options?: ThermostatsDailyProgramsCreateOptions,
|
|
@@ -3067,6 +3649,9 @@ export class SeamHttpEndpoints {
|
|
|
3067
3649
|
}
|
|
3068
3650
|
}
|
|
3069
3651
|
|
|
3652
|
+
/**
|
|
3653
|
+
* Deletes a thermostat daily program.
|
|
3654
|
+
*/
|
|
3070
3655
|
get '/thermostats/daily_programs/delete'(): (
|
|
3071
3656
|
parameters: ThermostatsDailyProgramsDeleteParameters,
|
|
3072
3657
|
options?: ThermostatsDailyProgramsDeleteOptions,
|
|
@@ -3080,6 +3665,9 @@ export class SeamHttpEndpoints {
|
|
|
3080
3665
|
}
|
|
3081
3666
|
}
|
|
3082
3667
|
|
|
3668
|
+
/**
|
|
3669
|
+
* Updates a specified thermostat daily program. The periods that you specify overwrite any existing periods for the daily program.
|
|
3670
|
+
*/
|
|
3083
3671
|
get '/thermostats/daily_programs/update'(): (
|
|
3084
3672
|
parameters: ThermostatsDailyProgramsUpdateParameters,
|
|
3085
3673
|
options?: ThermostatsDailyProgramsUpdateOptions,
|
|
@@ -3093,6 +3681,9 @@ export class SeamHttpEndpoints {
|
|
|
3093
3681
|
}
|
|
3094
3682
|
}
|
|
3095
3683
|
|
|
3684
|
+
/**
|
|
3685
|
+
* Creates a new [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3686
|
+
*/
|
|
3096
3687
|
get '/thermostats/schedules/create'(): (
|
|
3097
3688
|
parameters: ThermostatsSchedulesCreateParameters,
|
|
3098
3689
|
options?: ThermostatsSchedulesCreateOptions,
|
|
@@ -3106,6 +3697,9 @@ export class SeamHttpEndpoints {
|
|
|
3106
3697
|
}
|
|
3107
3698
|
}
|
|
3108
3699
|
|
|
3700
|
+
/**
|
|
3701
|
+
* Deletes a [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3702
|
+
*/
|
|
3109
3703
|
get '/thermostats/schedules/delete'(): (
|
|
3110
3704
|
parameters: ThermostatsSchedulesDeleteParameters,
|
|
3111
3705
|
options?: ThermostatsSchedulesDeleteOptions,
|
|
@@ -3119,6 +3713,9 @@ export class SeamHttpEndpoints {
|
|
|
3119
3713
|
}
|
|
3120
3714
|
}
|
|
3121
3715
|
|
|
3716
|
+
/**
|
|
3717
|
+
* Returns a specified [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
3718
|
+
*/
|
|
3122
3719
|
get '/thermostats/schedules/get'(): (
|
|
3123
3720
|
parameters: ThermostatsSchedulesGetParameters,
|
|
3124
3721
|
options?: ThermostatsSchedulesGetOptions,
|
|
@@ -3132,6 +3729,9 @@ export class SeamHttpEndpoints {
|
|
|
3132
3729
|
}
|
|
3133
3730
|
}
|
|
3134
3731
|
|
|
3732
|
+
/**
|
|
3733
|
+
* Returns a list of all [thermostat schedules](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
3734
|
+
*/
|
|
3135
3735
|
get '/thermostats/schedules/list'(): (
|
|
3136
3736
|
parameters: ThermostatsSchedulesListParameters,
|
|
3137
3737
|
options?: ThermostatsSchedulesListOptions,
|
|
@@ -3145,6 +3745,9 @@ export class SeamHttpEndpoints {
|
|
|
3145
3745
|
}
|
|
3146
3746
|
}
|
|
3147
3747
|
|
|
3748
|
+
/**
|
|
3749
|
+
* Updates a specified [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
3750
|
+
*/
|
|
3148
3751
|
get '/thermostats/schedules/update'(): (
|
|
3149
3752
|
parameters: ThermostatsSchedulesUpdateParameters,
|
|
3150
3753
|
options?: ThermostatsSchedulesUpdateOptions,
|
|
@@ -3158,6 +3761,9 @@ export class SeamHttpEndpoints {
|
|
|
3158
3761
|
}
|
|
3159
3762
|
}
|
|
3160
3763
|
|
|
3764
|
+
/**
|
|
3765
|
+
* Simulates having adjusted the [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) for a [thermostat](https://docs.seam.co/capability-guides/thermostats). Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).
|
|
3766
|
+
*/
|
|
3161
3767
|
get '/thermostats/simulate/hvac_mode_adjusted'(): (
|
|
3162
3768
|
parameters: ThermostatsSimulateHvacModeAdjustedParameters,
|
|
3163
3769
|
options?: ThermostatsSimulateHvacModeAdjustedOptions,
|
|
@@ -3171,6 +3777,9 @@ export class SeamHttpEndpoints {
|
|
|
3171
3777
|
}
|
|
3172
3778
|
}
|
|
3173
3779
|
|
|
3780
|
+
/**
|
|
3781
|
+
* Simulates a [thermostat](https://docs.seam.co/capability-guides/thermostats) reaching a specified temperature. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).
|
|
3782
|
+
*/
|
|
3174
3783
|
get '/thermostats/simulate/temperature_reached'(): (
|
|
3175
3784
|
parameters: ThermostatsSimulateTemperatureReachedParameters,
|
|
3176
3785
|
options?: ThermostatsSimulateTemperatureReachedOptions,
|
|
@@ -3184,6 +3793,13 @@ export class SeamHttpEndpoints {
|
|
|
3184
3793
|
}
|
|
3185
3794
|
}
|
|
3186
3795
|
|
|
3796
|
+
/**
|
|
3797
|
+
* Adds a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) to a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3798
|
+
*
|
|
3799
|
+
* You must specify either `user_identity_id` or `user_identity_key` to identify the user identity.
|
|
3800
|
+
*
|
|
3801
|
+
* If `user_identity_key` is provided, but the user identity doesn't exist, a new user identity will be created automatically using information from the ACS user.
|
|
3802
|
+
*/
|
|
3187
3803
|
get '/user_identities/add_acs_user'(): (
|
|
3188
3804
|
parameters: UserIdentitiesAddAcsUserParameters,
|
|
3189
3805
|
options?: UserIdentitiesAddAcsUserOptions,
|
|
@@ -3197,6 +3813,9 @@ export class SeamHttpEndpoints {
|
|
|
3197
3813
|
}
|
|
3198
3814
|
}
|
|
3199
3815
|
|
|
3816
|
+
/**
|
|
3817
|
+
* Creates a new [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3818
|
+
*/
|
|
3200
3819
|
get '/user_identities/create'(): (
|
|
3201
3820
|
parameters?: UserIdentitiesCreateParameters,
|
|
3202
3821
|
options?: UserIdentitiesCreateOptions,
|
|
@@ -3210,6 +3829,9 @@ export class SeamHttpEndpoints {
|
|
|
3210
3829
|
}
|
|
3211
3830
|
}
|
|
3212
3831
|
|
|
3832
|
+
/**
|
|
3833
|
+
* Deletes a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This deletes the user identity and all associated resources, including any [credentials](https://docs.seam.co/api/acs/credentials), [acs users](https://docs.seam.co/api/acs/users) and [client sessions](https://docs.seam.co/api/client_sessions).
|
|
3834
|
+
*/
|
|
3213
3835
|
get '/user_identities/delete'(): (
|
|
3214
3836
|
parameters: UserIdentitiesDeleteParameters,
|
|
3215
3837
|
options?: UserIdentitiesDeleteOptions,
|
|
@@ -3223,6 +3845,9 @@ export class SeamHttpEndpoints {
|
|
|
3223
3845
|
}
|
|
3224
3846
|
}
|
|
3225
3847
|
|
|
3848
|
+
/**
|
|
3849
|
+
* Generates a new [instant key](https://docs.seam.co/capability-guides/instant-keys) for a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3850
|
+
*/
|
|
3226
3851
|
get '/user_identities/generate_instant_key'(): (
|
|
3227
3852
|
parameters: UserIdentitiesGenerateInstantKeyParameters,
|
|
3228
3853
|
options?: UserIdentitiesGenerateInstantKeyOptions,
|
|
@@ -3236,6 +3861,9 @@ export class SeamHttpEndpoints {
|
|
|
3236
3861
|
}
|
|
3237
3862
|
}
|
|
3238
3863
|
|
|
3864
|
+
/**
|
|
3865
|
+
* Returns a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3866
|
+
*/
|
|
3239
3867
|
get '/user_identities/get'(): (
|
|
3240
3868
|
parameters?: UserIdentitiesGetParameters,
|
|
3241
3869
|
options?: UserIdentitiesGetOptions,
|
|
@@ -3249,6 +3877,9 @@ export class SeamHttpEndpoints {
|
|
|
3249
3877
|
}
|
|
3250
3878
|
}
|
|
3251
3879
|
|
|
3880
|
+
/**
|
|
3881
|
+
* Grants a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) access to a specified [device](https://docs.seam.co/core-concepts/devices/).
|
|
3882
|
+
*/
|
|
3252
3883
|
get '/user_identities/grant_access_to_device'(): (
|
|
3253
3884
|
parameters: UserIdentitiesGrantAccessToDeviceParameters,
|
|
3254
3885
|
options?: UserIdentitiesGrantAccessToDeviceOptions,
|
|
@@ -3262,6 +3893,9 @@ export class SeamHttpEndpoints {
|
|
|
3262
3893
|
}
|
|
3263
3894
|
}
|
|
3264
3895
|
|
|
3896
|
+
/**
|
|
3897
|
+
* Returns a list of all [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3898
|
+
*/
|
|
3265
3899
|
get '/user_identities/list'(): (
|
|
3266
3900
|
parameters?: UserIdentitiesListParameters,
|
|
3267
3901
|
options?: UserIdentitiesListOptions,
|
|
@@ -3275,6 +3909,9 @@ export class SeamHttpEndpoints {
|
|
|
3275
3909
|
}
|
|
3276
3910
|
}
|
|
3277
3911
|
|
|
3912
|
+
/**
|
|
3913
|
+
* Returns a list of all [devices](https://docs.seam.co/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes devices derived from the access grants assigned to the user identity and devices directly linked to the user identity.
|
|
3914
|
+
*/
|
|
3278
3915
|
get '/user_identities/list_accessible_devices'(): (
|
|
3279
3916
|
parameters: UserIdentitiesListAccessibleDevicesParameters,
|
|
3280
3917
|
options?: UserIdentitiesListAccessibleDevicesOptions,
|
|
@@ -3288,6 +3925,9 @@ export class SeamHttpEndpoints {
|
|
|
3288
3925
|
}
|
|
3289
3926
|
}
|
|
3290
3927
|
|
|
3928
|
+
/**
|
|
3929
|
+
* Returns a list of all [ACS entrances](https://docs.seam.co/api/acs/entrances) accessible to a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes entrances derived from the access grants assigned to the user identity and entrances accessible through ACS users linked to the user identity.
|
|
3930
|
+
*/
|
|
3291
3931
|
get '/user_identities/list_accessible_entrances'(): (
|
|
3292
3932
|
parameters: UserIdentitiesListAccessibleEntrancesParameters,
|
|
3293
3933
|
options?: UserIdentitiesListAccessibleEntrancesOptions,
|
|
@@ -3301,6 +3941,9 @@ export class SeamHttpEndpoints {
|
|
|
3301
3941
|
}
|
|
3302
3942
|
}
|
|
3303
3943
|
|
|
3944
|
+
/**
|
|
3945
|
+
* Returns a list of all [access systems](https://docs.seam.co/low-level-apis/access-systems) associated with a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3946
|
+
*/
|
|
3304
3947
|
get '/user_identities/list_acs_systems'(): (
|
|
3305
3948
|
parameters: UserIdentitiesListAcsSystemsParameters,
|
|
3306
3949
|
options?: UserIdentitiesListAcsSystemsOptions,
|
|
@@ -3314,6 +3957,9 @@ export class SeamHttpEndpoints {
|
|
|
3314
3957
|
}
|
|
3315
3958
|
}
|
|
3316
3959
|
|
|
3960
|
+
/**
|
|
3961
|
+
* Returns a list of all [access system users](https://docs.seam.co/low-level-apis/access-systems/user-management) assigned to a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3962
|
+
*/
|
|
3317
3963
|
get '/user_identities/list_acs_users'(): (
|
|
3318
3964
|
parameters: UserIdentitiesListAcsUsersParameters,
|
|
3319
3965
|
options?: UserIdentitiesListAcsUsersOptions,
|
|
@@ -3327,6 +3973,9 @@ export class SeamHttpEndpoints {
|
|
|
3327
3973
|
}
|
|
3328
3974
|
}
|
|
3329
3975
|
|
|
3976
|
+
/**
|
|
3977
|
+
* Removes a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) from a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3978
|
+
*/
|
|
3330
3979
|
get '/user_identities/remove_acs_user'(): (
|
|
3331
3980
|
parameters: UserIdentitiesRemoveAcsUserParameters,
|
|
3332
3981
|
options?: UserIdentitiesRemoveAcsUserOptions,
|
|
@@ -3340,6 +3989,9 @@ export class SeamHttpEndpoints {
|
|
|
3340
3989
|
}
|
|
3341
3990
|
}
|
|
3342
3991
|
|
|
3992
|
+
/**
|
|
3993
|
+
* Revokes access to a specified [device](https://docs.seam.co/core-concepts/devices/) from a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
3994
|
+
*/
|
|
3343
3995
|
get '/user_identities/revoke_access_to_device'(): (
|
|
3344
3996
|
parameters: UserIdentitiesRevokeAccessToDeviceParameters,
|
|
3345
3997
|
options?: UserIdentitiesRevokeAccessToDeviceOptions,
|
|
@@ -3353,6 +4005,9 @@ export class SeamHttpEndpoints {
|
|
|
3353
4005
|
}
|
|
3354
4006
|
}
|
|
3355
4007
|
|
|
4008
|
+
/**
|
|
4009
|
+
* Updates a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
|
|
4010
|
+
*/
|
|
3356
4011
|
get '/user_identities/update'(): (
|
|
3357
4012
|
parameters: UserIdentitiesUpdateParameters,
|
|
3358
4013
|
options?: UserIdentitiesUpdateOptions,
|
|
@@ -3366,6 +4021,9 @@ export class SeamHttpEndpoints {
|
|
|
3366
4021
|
}
|
|
3367
4022
|
}
|
|
3368
4023
|
|
|
4024
|
+
/**
|
|
4025
|
+
* Returns a specified unmanaged [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) (where is_managed = false).
|
|
4026
|
+
*/
|
|
3369
4027
|
get '/user_identities/unmanaged/get'(): (
|
|
3370
4028
|
parameters: UserIdentitiesUnmanagedGetParameters,
|
|
3371
4029
|
options?: UserIdentitiesUnmanagedGetOptions,
|
|
@@ -3379,6 +4037,9 @@ export class SeamHttpEndpoints {
|
|
|
3379
4037
|
}
|
|
3380
4038
|
}
|
|
3381
4039
|
|
|
4040
|
+
/**
|
|
4041
|
+
* Returns a list of all unmanaged [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) (where is_managed = false).
|
|
4042
|
+
*/
|
|
3382
4043
|
get '/user_identities/unmanaged/list'(): (
|
|
3383
4044
|
parameters?: UserIdentitiesUnmanagedListParameters,
|
|
3384
4045
|
options?: UserIdentitiesUnmanagedListOptions,
|
|
@@ -3392,6 +4053,11 @@ export class SeamHttpEndpoints {
|
|
|
3392
4053
|
}
|
|
3393
4054
|
}
|
|
3394
4055
|
|
|
4056
|
+
/**
|
|
4057
|
+
* Updates an unmanaged [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.
|
|
4058
|
+
*
|
|
4059
|
+
* This endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.
|
|
4060
|
+
*/
|
|
3395
4061
|
get '/user_identities/unmanaged/update'(): (
|
|
3396
4062
|
parameters: UserIdentitiesUnmanagedUpdateParameters,
|
|
3397
4063
|
options?: UserIdentitiesUnmanagedUpdateOptions,
|
|
@@ -3405,6 +4071,9 @@ export class SeamHttpEndpoints {
|
|
|
3405
4071
|
}
|
|
3406
4072
|
}
|
|
3407
4073
|
|
|
4074
|
+
/**
|
|
4075
|
+
* Creates a new [webhook](https://docs.seam.co/developer-tools/webhooks).
|
|
4076
|
+
*/
|
|
3408
4077
|
get '/webhooks/create'(): (
|
|
3409
4078
|
parameters: WebhooksCreateParameters,
|
|
3410
4079
|
options?: WebhooksCreateOptions,
|
|
@@ -3418,6 +4087,9 @@ export class SeamHttpEndpoints {
|
|
|
3418
4087
|
}
|
|
3419
4088
|
}
|
|
3420
4089
|
|
|
4090
|
+
/**
|
|
4091
|
+
* Deletes a specified [webhook](https://docs.seam.co/developer-tools/webhooks).
|
|
4092
|
+
*/
|
|
3421
4093
|
get '/webhooks/delete'(): (
|
|
3422
4094
|
parameters: WebhooksDeleteParameters,
|
|
3423
4095
|
options?: WebhooksDeleteOptions,
|
|
@@ -3431,6 +4103,9 @@ export class SeamHttpEndpoints {
|
|
|
3431
4103
|
}
|
|
3432
4104
|
}
|
|
3433
4105
|
|
|
4106
|
+
/**
|
|
4107
|
+
* Gets a specified [webhook](https://docs.seam.co/developer-tools/webhooks).
|
|
4108
|
+
*/
|
|
3434
4109
|
get '/webhooks/get'(): (
|
|
3435
4110
|
parameters: WebhooksGetParameters,
|
|
3436
4111
|
options?: WebhooksGetOptions,
|
|
@@ -3444,6 +4119,9 @@ export class SeamHttpEndpoints {
|
|
|
3444
4119
|
}
|
|
3445
4120
|
}
|
|
3446
4121
|
|
|
4122
|
+
/**
|
|
4123
|
+
* Returns a list of all [webhooks](https://docs.seam.co/developer-tools/webhooks).
|
|
4124
|
+
*/
|
|
3447
4125
|
get '/webhooks/list'(): (
|
|
3448
4126
|
parameters?: WebhooksListParameters,
|
|
3449
4127
|
options?: WebhooksListOptions,
|
|
@@ -3457,6 +4135,9 @@ export class SeamHttpEndpoints {
|
|
|
3457
4135
|
}
|
|
3458
4136
|
}
|
|
3459
4137
|
|
|
4138
|
+
/**
|
|
4139
|
+
* Updates a specified [webhook](https://docs.seam.co/developer-tools/webhooks).
|
|
4140
|
+
*/
|
|
3460
4141
|
get '/webhooks/update'(): (
|
|
3461
4142
|
parameters: WebhooksUpdateParameters,
|
|
3462
4143
|
options?: WebhooksUpdateOptions,
|
|
@@ -3470,6 +4151,9 @@ export class SeamHttpEndpoints {
|
|
|
3470
4151
|
}
|
|
3471
4152
|
}
|
|
3472
4153
|
|
|
4154
|
+
/**
|
|
4155
|
+
* Creates a new [workspace](https://docs.seam.co/core-concepts/workspaces).
|
|
4156
|
+
*/
|
|
3473
4157
|
get '/workspaces/create'(): (
|
|
3474
4158
|
parameters: WorkspacesCreateParameters,
|
|
3475
4159
|
options?: WorkspacesCreateOptions,
|
|
@@ -3483,6 +4167,9 @@ export class SeamHttpEndpoints {
|
|
|
3483
4167
|
}
|
|
3484
4168
|
}
|
|
3485
4169
|
|
|
4170
|
+
/**
|
|
4171
|
+
* Returns the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the authentication value.
|
|
4172
|
+
*/
|
|
3486
4173
|
get '/workspaces/get'(): (
|
|
3487
4174
|
parameters?: WorkspacesGetParameters,
|
|
3488
4175
|
options?: WorkspacesGetOptions,
|
|
@@ -3496,6 +4183,9 @@ export class SeamHttpEndpoints {
|
|
|
3496
4183
|
}
|
|
3497
4184
|
}
|
|
3498
4185
|
|
|
4186
|
+
/**
|
|
4187
|
+
* Returns a list of [workspaces](https://docs.seam.co/core-concepts/workspaces) associated with the authentication value.
|
|
4188
|
+
*/
|
|
3499
4189
|
get '/workspaces/list'(): (
|
|
3500
4190
|
parameters?: WorkspacesListParameters,
|
|
3501
4191
|
options?: WorkspacesListOptions,
|
|
@@ -3509,6 +4199,9 @@ export class SeamHttpEndpoints {
|
|
|
3509
4199
|
}
|
|
3510
4200
|
}
|
|
3511
4201
|
|
|
4202
|
+
/**
|
|
4203
|
+
* Resets the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) associated with the authentication value. Note that this endpoint is only available for sandbox workspaces.
|
|
4204
|
+
*/
|
|
3512
4205
|
get '/workspaces/reset_sandbox'(): (
|
|
3513
4206
|
parameters?: WorkspacesResetSandboxParameters,
|
|
3514
4207
|
options?: WorkspacesResetSandboxOptions,
|
|
@@ -3522,6 +4215,9 @@ export class SeamHttpEndpoints {
|
|
|
3522
4215
|
}
|
|
3523
4216
|
}
|
|
3524
4217
|
|
|
4218
|
+
/**
|
|
4219
|
+
* Updates the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the authentication value.
|
|
4220
|
+
*/
|
|
3525
4221
|
get '/workspaces/update'(): (
|
|
3526
4222
|
parameters?: WorkspacesUpdateParameters,
|
|
3527
4223
|
options?: WorkspacesUpdateOptions,
|