@seamapi/types 1.399.0 → 1.400.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.
Files changed (42) hide show
  1. package/dist/connect.cjs +889 -297
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +848 -179
  4. package/lib/seam/connect/models/access-codes/managed-access-code.js +8 -2
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  6. package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +4 -0
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
  8. package/lib/seam/connect/models/client-sessions/client-session.js +9 -0
  9. package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
  10. package/lib/seam/connect/models/connect-webviews/connect-webview.js +13 -0
  11. package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
  12. package/lib/seam/connect/models/connected-accounts/connected-account.js +1 -0
  13. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  14. package/lib/seam/connect/models/devices/capability-properties/access-code.js +4 -1
  15. package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
  16. package/lib/seam/connect/models/devices/device.js +5 -1
  17. package/lib/seam/connect/models/devices/device.js.map +1 -1
  18. package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
  19. package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
  20. package/lib/seam/connect/models/events/seam-event.js +3 -0
  21. package/lib/seam/connect/models/events/seam-event.js.map +1 -1
  22. package/lib/seam/connect/models/user-identities/user-identity.js +1 -1
  23. package/lib/seam/connect/models/workspaces/workspace.js +1 -0
  24. package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
  25. package/lib/seam/connect/openapi.d.ts +381 -0
  26. package/lib/seam/connect/openapi.js +807 -258
  27. package/lib/seam/connect/openapi.js.map +1 -1
  28. package/lib/seam/connect/route-types.d.ts +467 -179
  29. package/package.json +1 -1
  30. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +8 -2
  31. package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +4 -0
  32. package/src/lib/seam/connect/models/client-sessions/client-session.ts +9 -0
  33. package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +13 -0
  34. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +1 -0
  35. package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +6 -1
  36. package/src/lib/seam/connect/models/devices/device.ts +7 -1
  37. package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
  38. package/src/lib/seam/connect/models/events/seam-event.ts +3 -0
  39. package/src/lib/seam/connect/models/user-identities/user-identity.ts +1 -1
  40. package/src/lib/seam/connect/models/workspaces/workspace.ts +1 -0
  41. package/src/lib/seam/connect/openapi.ts +1010 -258
  42. package/src/lib/seam/connect/route-types.ts +469 -179
@@ -4,9 +4,15 @@ export interface Routes {
4
4
  method: 'POST'
5
5
  queryParams: {}
6
6
  jsonBody: {
7
- /** ID of the device for which to create the new access code. */
7
+ /** ID of the device for which you want to create the new access code. */
8
8
  device_id: string
9
- /** Name of the new access code. */
9
+ /** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
10
+
11
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
12
+
13
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
14
+
15
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
10
16
  name?: string | undefined
11
17
  /** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
12
18
  starts_at?: string | undefined
@@ -1336,7 +1342,7 @@ export interface Routes {
1336
1342
 
1337
1343
  An access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly. Using the Seam Access Code API, you can easily generate access codes on the hundreds of door lock models with which we integrate.
1338
1344
 
1339
- Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`.
1345
+ Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
1340
1346
 
1341
1347
  In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
1342
1348
  access_code: {
@@ -1352,7 +1358,13 @@ export interface Routes {
1352
1358
  access_code_id: string
1353
1359
  /** Unique identifier for the device associated with the access code. */
1354
1360
  device_id: string
1355
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
1361
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
1362
+
1363
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
1364
+
1365
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
1366
+
1367
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
1356
1368
  name: string | null
1357
1369
  /** Code used for access. Typically, a numeric or alphanumeric string. */
1358
1370
  code: string | null
@@ -1849,13 +1861,19 @@ export interface Routes {
1849
1861
  method: 'POST' | 'PUT'
1850
1862
  queryParams: {}
1851
1863
  jsonBody: {
1852
- /** IDs of the devices for which to create the new access codes. */
1864
+ /** IDs of the devices for which you want to create the new access codes. */
1853
1865
  device_ids: string[]
1854
1866
  /** Desired behavior if any device cannot share a code. If `throw` (default), no access codes will be created if any device cannot share a code. If `create_random_code`, a random code will be created on devices that cannot share a code. */
1855
1867
  behavior_when_code_cannot_be_shared?: 'throw' | 'create_random_code'
1856
1868
  /** Preferred code length. Only applicable if you do not specify a `code`. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length. */
1857
1869
  preferred_code_length?: number | undefined
1858
- /** Name of the new access code. */
1870
+ /** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
1871
+
1872
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
1873
+
1874
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
1875
+
1876
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
1859
1877
  name?: string | undefined
1860
1878
  /** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
1861
1879
  starts_at?: string | undefined
@@ -1896,7 +1914,13 @@ export interface Routes {
1896
1914
  access_code_id: string
1897
1915
  /** Unique identifier for the device associated with the access code. */
1898
1916
  device_id: string
1899
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
1917
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
1918
+
1919
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
1920
+
1921
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
1922
+
1923
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
1900
1924
  name: string | null
1901
1925
  /** Code used for access. Typically, a numeric or alphanumeric string. */
1902
1926
  code: string | null
@@ -2394,9 +2418,9 @@ export interface Routes {
2394
2418
  queryParams: {}
2395
2419
  jsonBody: {}
2396
2420
  commonParams: {
2397
- /** ID of the device for which to delete the access code. */
2421
+ /** ID of the device for which you want to delete the access code. */
2398
2422
  device_id?: string | undefined
2399
- /** ID of the access code to delete. */
2423
+ /** ID of the access code that you want to delete. */
2400
2424
  access_code_id: string
2401
2425
  /** */
2402
2426
  sync?: boolean
@@ -3703,6 +3727,7 @@ export interface Routes {
3703
3727
  queryParams: {}
3704
3728
  jsonBody: {}
3705
3729
  commonParams: {
3730
+ /** ID of the device for which you want to generate a code. */
3706
3731
  device_id: string
3707
3732
  }
3708
3733
  formData: {}
@@ -3732,7 +3757,7 @@ export interface Routes {
3732
3757
 
3733
3758
  An access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly. Using the Seam Access Code API, you can easily generate access codes on the hundreds of door lock models with which we integrate.
3734
3759
 
3735
- Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`.
3760
+ Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
3736
3761
 
3737
3762
  In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
3738
3763
  access_code: {
@@ -3748,7 +3773,13 @@ export interface Routes {
3748
3773
  access_code_id: string
3749
3774
  /** Unique identifier for the device associated with the access code. */
3750
3775
  device_id: string
3751
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
3776
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
3777
+
3778
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
3779
+
3780
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
3781
+
3782
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
3752
3783
  name: string | null
3753
3784
  /** Code used for access. Typically, a numeric or alphanumeric string. */
3754
3785
  code: string | null
@@ -4272,7 +4303,13 @@ export interface Routes {
4272
4303
  access_code_id: string
4273
4304
  /** Unique identifier for the device associated with the access code. */
4274
4305
  device_id: string
4275
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
4306
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
4307
+
4308
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
4309
+
4310
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
4311
+
4312
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
4276
4313
  name: string | null
4277
4314
  /** Code used for access. Typically, a numeric or alphanumeric string. */
4278
4315
  code: string | null
@@ -4788,7 +4825,7 @@ export interface Routes {
4788
4825
 
4789
4826
  An access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly. Using the Seam Access Code API, you can easily generate access codes on the hundreds of door lock models with which we integrate.
4790
4827
 
4791
- Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`.
4828
+ Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
4792
4829
 
4793
4830
  In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
4794
4831
  backup_access_code: {
@@ -4804,7 +4841,13 @@ export interface Routes {
4804
4841
  access_code_id: string
4805
4842
  /** Unique identifier for the device associated with the access code. */
4806
4843
  device_id: string
4807
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
4844
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
4845
+
4846
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
4847
+
4848
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
4849
+
4850
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
4808
4851
  name: string | null
4809
4852
  /** Code used for access. Typically, a numeric or alphanumeric string. */
4810
4853
  code: string | null
@@ -5298,7 +5341,7 @@ export interface Routes {
5298
5341
 
5299
5342
  An access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly. Using the Seam Access Code API, you can easily generate access codes on the hundreds of door lock models with which we integrate.
5300
5343
 
5301
- Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`.
5344
+ Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
5302
5345
 
5303
5346
  In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
5304
5347
  access_code: {
@@ -5314,7 +5357,13 @@ export interface Routes {
5314
5357
  access_code_id: string
5315
5358
  /** Unique identifier for the device associated with the access code. */
5316
5359
  device_id: string
5317
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
5360
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
5361
+
5362
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
5363
+
5364
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
5365
+
5366
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
5318
5367
  name: string | null
5319
5368
  /** Code used for access. Typically, a numeric or alphanumeric string. */
5320
5369
  code: string | null
@@ -5811,7 +5860,7 @@ export interface Routes {
5811
5860
  method: 'POST'
5812
5861
  queryParams: {}
5813
5862
  jsonBody: {
5814
- /** ID of the device for which to report constraints. */
5863
+ /** ID of the device for which you want to report constraints. */
5815
5864
  device_id: string
5816
5865
  /** Array of supported code lengths as integers between 4 and 20, inclusive. You can specify either `supported_code_lengths` or `min_code_length`/`max_code_length`. */
5817
5866
  supported_code_lengths?: number[] | undefined
@@ -5845,7 +5894,11 @@ export interface Routes {
5845
5894
 
5846
5895
  When you create an access code on a device in Seam, it is created as a managed access code. Access codes that exist on a device that were not created through Seam are considered unmanaged codes. We strictly limit the operations that can be performed on unmanaged codes.
5847
5896
 
5848
- Prior to using Seam to manage your devices, you may have used another lock management system to manage the access codes on your devices. Where possible, we help you keep any existing access codes on devices and transition those codes to ones managed by your Seam workspace. */
5897
+ Prior to using Seam to manage your devices, you may have used another lock management system to manage the access codes on your devices. Where possible, we help you keep any existing access codes on devices and transition those codes to ones managed by your Seam workspace.
5898
+
5899
+ Not all providers support unmanaged access codes. The following providers do not support unmanaged access codes:
5900
+
5901
+ - [Kwikset](https://docs.seam.co/latest/device-and-system-integration-guides/kwikset-locks) */
5849
5902
  access_code: {
5850
5903
  /** Nature of the access code. Values are `ongoing` for access codes that are active continuously until deactivated manually or `time_bound` for access codes that have a specific duration. */
5851
5904
  type: 'time_bound' | 'ongoing'
@@ -5853,7 +5906,13 @@ export interface Routes {
5853
5906
  access_code_id: string
5854
5907
  /** Unique identifier for the device associated with the access code. */
5855
5908
  device_id: string
5856
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
5909
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
5910
+
5911
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
5912
+
5913
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
5914
+
5915
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
5857
5916
  name: string | null
5858
5917
  /** Code used for access. Typically, a numeric or alphanumeric string. */
5859
5918
  code: string | null
@@ -6341,9 +6400,9 @@ export interface Routes {
6341
6400
  commonParams: {
6342
6401
  /** ID of the unmanaged access code that you want to convert to a managed access code. */
6343
6402
  access_code_id: string
6344
- /** Indicates whether external modification of the access code is allowed. */
6403
+ /** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the access code is allowed. */
6345
6404
  is_external_modification_allowed?: boolean | undefined
6346
- /** Indicates whether external modification of the access code is allowed. */
6405
+ /** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the access code is allowed. */
6347
6406
  allow_external_modification?: boolean | undefined
6348
6407
  /** Indicates whether to force the access code conversion. To switch management of an access code from one Seam workspace to another, set `force` to `true`. */
6349
6408
  force?: boolean | undefined
@@ -6359,7 +6418,7 @@ export interface Routes {
6359
6418
  queryParams: {}
6360
6419
  jsonBody: {}
6361
6420
  commonParams: {
6362
- /** ID of the unmanaged access code to delete. */
6421
+ /** ID of the unmanaged access code that you want to delete. */
6363
6422
  access_code_id: string
6364
6423
  /** */
6365
6424
  sync?: boolean
@@ -7681,7 +7740,11 @@ export interface Routes {
7681
7740
 
7682
7741
  When you create an access code on a device in Seam, it is created as a managed access code. Access codes that exist on a device that were not created through Seam are considered unmanaged codes. We strictly limit the operations that can be performed on unmanaged codes.
7683
7742
 
7684
- Prior to using Seam to manage your devices, you may have used another lock management system to manage the access codes on your devices. Where possible, we help you keep any existing access codes on devices and transition those codes to ones managed by your Seam workspace. */
7743
+ Prior to using Seam to manage your devices, you may have used another lock management system to manage the access codes on your devices. Where possible, we help you keep any existing access codes on devices and transition those codes to ones managed by your Seam workspace.
7744
+
7745
+ Not all providers support unmanaged access codes. The following providers do not support unmanaged access codes:
7746
+
7747
+ - [Kwikset](https://docs.seam.co/latest/device-and-system-integration-guides/kwikset-locks) */
7685
7748
  access_code: {
7686
7749
  /** Nature of the access code. Values are `ongoing` for access codes that are active continuously until deactivated manually or `time_bound` for access codes that have a specific duration. */
7687
7750
  type: 'time_bound' | 'ongoing'
@@ -7689,7 +7752,13 @@ export interface Routes {
7689
7752
  access_code_id: string
7690
7753
  /** Unique identifier for the device associated with the access code. */
7691
7754
  device_id: string
7692
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
7755
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
7756
+
7757
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
7758
+
7759
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
7760
+
7761
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
7693
7762
  name: string | null
7694
7763
  /** Code used for access. Typically, a numeric or alphanumeric string. */
7695
7764
  code: string | null
@@ -8189,7 +8258,13 @@ export interface Routes {
8189
8258
  access_code_id: string
8190
8259
  /** Unique identifier for the device associated with the access code. */
8191
8260
  device_id: string
8192
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
8261
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
8262
+
8263
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
8264
+
8265
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
8266
+
8267
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
8193
8268
  name: string | null
8194
8269
  /** Code used for access. Typically, a numeric or alphanumeric string. */
8195
8270
  code: string | null
@@ -8693,7 +8768,13 @@ export interface Routes {
8693
8768
  method: 'POST' | 'PATCH' | 'PUT'
8694
8769
  queryParams: {}
8695
8770
  jsonBody: {
8696
- /** Name of the new access code. */
8771
+ /** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
8772
+
8773
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
8774
+
8775
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
8776
+
8777
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
8697
8778
  name?: string | undefined
8698
8779
  /** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
8699
8780
  starts_at?: string | undefined
@@ -10036,7 +10117,13 @@ export interface Routes {
10036
10117
  ends_at?: string | undefined
10037
10118
  /** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
10038
10119
  starts_at?: string | undefined
10039
- /** Name of the new access code. */
10120
+ /** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
10121
+
10122
+ Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
10123
+
10124
+ To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
10125
+
10126
+ To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
10040
10127
  name?: string | undefined
10041
10128
  /** Key that links the group of access codes, assigned on creation by `/access_codes/create_multiple`. */
10042
10129
  common_code_key: string
@@ -10051,10 +10138,12 @@ export interface Routes {
10051
10138
  queryParams: {}
10052
10139
  jsonBody: {}
10053
10140
  commonParams: {
10054
- /** ID of the desired access group. */
10141
+ /** ID of the access group to which you want to add an access system user. */
10055
10142
  acs_access_group_id: string
10056
- /** ID of the desired user. */
10057
- acs_user_id: string
10143
+ /** ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id. */
10144
+ acs_user_id?: string | undefined
10145
+ /** ID of the desired user identity that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
10146
+ user_identity_id?: string | undefined
10058
10147
  }
10059
10148
  formData: {}
10060
10149
  jsonResponse: {}
@@ -10065,7 +10154,7 @@ export interface Routes {
10065
10154
  queryParams: {}
10066
10155
  jsonBody: {}
10067
10156
  commonParams: {
10068
- /** ID of the desired access group. */
10157
+ /** ID of the access group that you want to get. */
10069
10158
  acs_access_group_id: string
10070
10159
  }
10071
10160
  formData: {}
@@ -10128,9 +10217,9 @@ export interface Routes {
10128
10217
  queryParams: {}
10129
10218
  jsonBody: {}
10130
10219
  commonParams: {
10131
- /** ID of the access control system for which you want to retrieve all access groups. */
10220
+ /** ID of the access system for which you want to retrieve all access groups. */
10132
10221
  acs_system_id?: string | undefined
10133
- /** ID of the user for which you want to retrieve all access groups. */
10222
+ /** ID of the access system user for which you want to retrieve all access groups. */
10134
10223
  acs_user_id?: string | undefined
10135
10224
  /** ID of the user identity for which you want to retrieve all access groups. */
10136
10225
  user_identity_id?: string | undefined
@@ -10288,7 +10377,7 @@ export interface Routes {
10288
10377
  queryParams: {}
10289
10378
  jsonBody: {}
10290
10379
  commonParams: {
10291
- /** ID of the access group for which you want to retrieve all users. */
10380
+ /** ID of the access group for which you want to retrieve all access system users. */
10292
10381
  acs_access_group_id: string
10293
10382
  }
10294
10383
  formData: {}
@@ -10516,11 +10605,11 @@ export interface Routes {
10516
10605
  queryParams: {}
10517
10606
  jsonBody: {}
10518
10607
  commonParams: {
10519
- /** ID of the desired access group. */
10608
+ /** ID of the access group from which you want to remove an access system user. */
10520
10609
  acs_access_group_id: string
10521
- /** ID of the desired user. */
10610
+ /** ID of the access system user that you want to remove from an access group. */
10522
10611
  acs_user_id?: string | undefined
10523
- /** ID of the desired user identity. */
10612
+ /** ID of the user identity associated with the user that you want to remove from an access group. */
10524
10613
  user_identity_id?: string | undefined
10525
10614
  }
10526
10615
  formData: {}
@@ -10532,7 +10621,7 @@ export interface Routes {
10532
10621
  queryParams: {}
10533
10622
  jsonBody: {}
10534
10623
  commonParams: {
10535
- /** ID of the desired unmanaged access group. */
10624
+ /** ID of the unmanaged access group that you want to get. */
10536
10625
  acs_access_group_id: string
10537
10626
  }
10538
10627
  formData: {}
@@ -10591,9 +10680,9 @@ export interface Routes {
10591
10680
  queryParams: {}
10592
10681
  jsonBody: {}
10593
10682
  commonParams: {
10594
- /** ID of the access control system for which you want to retrieve all unmanaged access groups. */
10683
+ /** ID of the access system for which you want to retrieve all unmanaged access groups. */
10595
10684
  acs_system_id?: string | undefined
10596
- /** ID of the user for which you want to retrieve all unmanaged access groups. */
10685
+ /** ID of the access system user for which you want to retrieve all unmanaged access groups. */
10597
10686
  acs_user_id?: string | undefined
10598
10687
  }
10599
10688
  formData: {}
@@ -10651,6 +10740,7 @@ export interface Routes {
10651
10740
  queryParams: {}
10652
10741
  jsonBody: {}
10653
10742
  commonParams: {
10743
+ /** ID of the access system for which you want to list credential pools. */
10654
10744
  acs_system_id: string
10655
10745
  }
10656
10746
  formData: {}
@@ -10672,10 +10762,15 @@ export interface Routes {
10672
10762
  queryParams: {}
10673
10763
  jsonBody: {}
10674
10764
  commonParams: {
10765
+ /** ID of the user identity for which you want to launch a credential provisioning automation. */
10675
10766
  user_identity_id: string
10767
+ /** Access system ID of the credential manager for which you want to launch a credential provisioning automation. */
10676
10768
  credential_manager_acs_system_id: string
10769
+ /** ID of the credential pool for which you want to launch a credential provisioning automation. */
10677
10770
  acs_credential_pool_id?: string | undefined
10771
+ /** Indicates whether to create an associated credential manager user. If you set `create_credential_manager_user` to `true`, you cannot specify a `credential_manager_acs_user_id`. */
10678
10772
  create_credential_manager_user?: boolean | undefined
10773
+ /** ID of the associated access system user within the credential manager. If you specify a `credential_manager_acs_user_id`, you cannot set `create_credential_manager_user` to `true`. */
10679
10774
  credential_manager_acs_user_id?: string | undefined
10680
10775
  }
10681
10776
  formData: {}
@@ -10695,9 +10790,9 @@ export interface Routes {
10695
10790
  method: 'PATCH' | 'POST'
10696
10791
  queryParams: {}
10697
10792
  jsonBody: {
10698
- /** ID of the desired user. */
10793
+ /** ID of the access system user to whom you want to assign a credential. */
10699
10794
  acs_user_id: string
10700
- /** ID of the desired credential. */
10795
+ /** ID of the credential that you want to assign to an access system user. */
10701
10796
  acs_credential_id: string
10702
10797
  }
10703
10798
  commonParams: {}
@@ -10857,11 +10952,11 @@ export interface Routes {
10857
10952
  commonParams: {
10858
10953
  /** ACS system ID of the credential manager for the new credential. */
10859
10954
  credential_manager_acs_system_id?: string | undefined
10860
- /** ID of the ACS user to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
10955
+ /** ID of the access system user to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
10861
10956
  acs_user_id?: string | undefined
10862
- /** ID of the user identity to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
10957
+ /** ID of the user identity to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. If the access system contains a user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the credential belongs to the access system user. If the access system does not have a corresponding user, one is created. */
10863
10958
  user_identity_id?: string | undefined
10864
- /** ID of the ACS system to which the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
10959
+ /** ID of the access system to which the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
10865
10960
  acs_system_id?: string | undefined
10866
10961
  /** Access method for the new credential. Supported values: `code`, `card`, `mobile_key`. */
10867
10962
  access_method: 'code' | 'card' | 'mobile_key'
@@ -10901,7 +10996,9 @@ export interface Routes {
10901
10996
  /** Salto Space-specific metadata for the new credential. */
10902
10997
  salto_space_metadata?:
10903
10998
  | {
10999
+ /** Indicates whether to assign a first, new card to a user. See also [Programming Salto Space Card-based Credentials](https://docs.seam.co/latest/device-and-system-integration-guides/salto-proaccess-space-access-system/programming-salto-space-card-based-credentials). */
10904
11000
  assign_new_key?: boolean | undefined
11001
+ /** Indicates whether to update the user's existing card. See also [Programming Salto Space Card-based Credentials](https://docs.seam.co/latest/device-and-system-integration-guides/salto-proaccess-space-access-system/programming-salto-space-card-based-credentials). */
10905
11002
  update_current_key?: boolean | undefined
10906
11003
  }
10907
11004
  | undefined
@@ -11064,7 +11161,7 @@ export interface Routes {
11064
11161
  queryParams: {}
11065
11162
  jsonBody: {}
11066
11163
  commonParams: {
11067
- /** ID of the ACS user to whom the new credential belongs. */
11164
+ /** ID of the access system user to whom the new credential belongs. */
11068
11165
  acs_user_id: string
11069
11166
  /** IDs of the [`acs_entrance`s](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) for which the new credential grants access. */
11070
11167
  allowed_acs_entrance_id: string
@@ -11229,7 +11326,7 @@ export interface Routes {
11229
11326
  queryParams: {}
11230
11327
  jsonBody: {}
11231
11328
  commonParams: {
11232
- /** ID of the desired credential. */
11329
+ /** ID of the credential that you want to delete. */
11233
11330
  acs_credential_id: string
11234
11331
  }
11235
11332
  formData: {}
@@ -11241,7 +11338,7 @@ export interface Routes {
11241
11338
  queryParams: {}
11242
11339
  jsonBody: {}
11243
11340
  commonParams: {
11244
- /** ID of the desired credential. */
11341
+ /** ID of the credential that you want to get. */
11245
11342
  acs_credential_id: string
11246
11343
  }
11247
11344
  formData: {}
@@ -11399,17 +11496,17 @@ export interface Routes {
11399
11496
  jsonBody: {}
11400
11497
  commonParams: (
11401
11498
  | {
11402
- /** ID of the ACS user for which you want to retrieve all credentials. */
11499
+ /** ID of the access system user for which you want to retrieve all credentials. */
11403
11500
  acs_user_id: string
11404
11501
  }
11405
11502
  | {
11406
- /** ID of the access control system for which you want to retrieve all credentials. */
11503
+ /** ID of the access system for which you want to retrieve all credentials. */
11407
11504
  acs_system_id: string
11408
11505
  }
11409
11506
  | {
11410
- /** ID of the ACS user for which you want to retrieve all credentials. */
11507
+ /** ID of the access system user for which you want to retrieve all credentials. */
11411
11508
  acs_user_id: string
11412
- /** ID of the access control system for which you want to retrieve all credentials. */
11509
+ /** ID of the access system for which you want to retrieve all credentials. */
11413
11510
  acs_system_id: string
11414
11511
  }
11415
11512
  | {
@@ -11574,7 +11671,7 @@ export interface Routes {
11574
11671
  queryParams: {}
11575
11672
  jsonBody: {}
11576
11673
  commonParams: {
11577
- /** ID of the credential for which you want to retrieve all entrances to which this credential grants access. */
11674
+ /** ID of the credential for which you want to retrieve all entrances to which the credential grants access. */
11578
11675
  acs_credential_id: string
11579
11676
  }
11580
11677
  formData: {}
@@ -11671,9 +11768,9 @@ export interface Routes {
11671
11768
  method: 'PATCH' | 'POST'
11672
11769
  queryParams: {}
11673
11770
  jsonBody: {
11674
- /** ID of the desired user. */
11771
+ /** ID of the access system user from which you want to unassign a credential. */
11675
11772
  acs_user_id: string
11676
- /** ID of the desired credential. */
11773
+ /** ID of the credential that you want to unassign from an access system user. */
11677
11774
  acs_credential_id: string
11678
11775
  }
11679
11776
  commonParams: {}
@@ -11831,7 +11928,7 @@ export interface Routes {
11831
11928
  queryParams: {}
11832
11929
  jsonBody: {}
11833
11930
  commonParams: {
11834
- /** ID of the desired unmanaged credential. */
11931
+ /** ID of the unmanaged credential that you want to get. */
11835
11932
  acs_credential_id: string
11836
11933
  }
11837
11934
  formData: {}
@@ -11985,17 +12082,17 @@ export interface Routes {
11985
12082
  jsonBody: {}
11986
12083
  commonParams:
11987
12084
  | {
11988
- /** ID of the ACS user for which you want to retrieve all credentials. */
12085
+ /** ID of the access system user for which you want to retrieve all credentials. */
11989
12086
  acs_user_id: string
11990
12087
  }
11991
12088
  | {
11992
- /** ID of the access control system for which you want to retrieve all credentials. */
12089
+ /** ID of the access system for which you want to retrieve all credentials. */
11993
12090
  acs_system_id: string
11994
12091
  }
11995
12092
  | {
11996
- /** ID of the ACS user for which you want to retrieve all credentials. */
12093
+ /** ID of the access system user for which you want to retrieve all credentials. */
11997
12094
  acs_user_id: string
11998
- /** ID of the access control system for which you want to retrieve all credentials. */
12095
+ /** ID of the access system for which you want to retrieve all credentials. */
11999
12096
  acs_system_id: string
12000
12097
  }
12001
12098
  | {
@@ -12150,9 +12247,9 @@ export interface Routes {
12150
12247
  method: 'PATCH' | 'POST'
12151
12248
  queryParams: {}
12152
12249
  jsonBody: {
12153
- /** ID of the desired credential. */
12250
+ /** ID of the credential that you want to update. */
12154
12251
  acs_credential_id: string
12155
- /** Replacement access (PIN) code for the credential. */
12252
+ /** Replacement access (PIN) code for the credential that you want to update. */
12156
12253
  code?: string | undefined
12157
12254
  /** Replacement date and time at which the validity of the credential ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after the `starts_at` value that you set when creating the credential. */
12158
12255
  ends_at?: string | undefined
@@ -14926,7 +15023,7 @@ export interface Routes {
14926
15023
  queryParams: {}
14927
15024
  jsonBody: {}
14928
15025
  commonParams: {
14929
- /** ID of the desired encoder. */
15026
+ /** ID of the encoder that you want to get. */
14930
15027
  acs_encoder_id: string
14931
15028
  }
14932
15029
  formData: {}
@@ -14975,21 +15072,21 @@ export interface Routes {
14975
15072
  jsonBody: {}
14976
15073
  commonParams:
14977
15074
  | {
14978
- /** ID of the `acs_system` for which you want to retrieve all `acs_encoder`s. */
15075
+ /** ID of the access system for which you want to retrieve all encoders. */
14979
15076
  acs_system_id: string
14980
- /** Number of `acs_encoders` to return. */
15077
+ /** Number of encoders to return. */
14981
15078
  limit?: number
14982
15079
  }
14983
15080
  | {
14984
- /** IDs of the `acs_system`s for which you want to retrieve all `acs_encoder`s. */
15081
+ /** IDs of the access systems for which you want to retrieve all encoders. */
14985
15082
  acs_system_ids: string[]
14986
- /** Number of `acs_encoders` to return. */
15083
+ /** Number of encoders to return. */
14987
15084
  limit?: number
14988
15085
  }
14989
15086
  | {
14990
- /** IDs of the `acs_encoder`s that you want to retrieve. */
15087
+ /** IDs of the encoders that you want to retrieve. */
14991
15088
  acs_encoder_ids: string[]
14992
- /** Number of `acs_encoders` to return. */
15089
+ /** Number of encoders to return. */
14993
15090
  limit?: number
14994
15091
  }
14995
15092
  formData: {}
@@ -15023,7 +15120,7 @@ export interface Routes {
15023
15120
  queryParams: {}
15024
15121
  jsonBody: {}
15025
15122
  commonParams: {
15026
- /** ID of the `acs_encoder` to use for the scan. */
15123
+ /** ID of the encoder to use for the scan. */
15027
15124
  acs_encoder_id: string
15028
15125
  }
15029
15126
  formData: {}
@@ -16416,6 +16513,7 @@ export interface Routes {
16416
16513
  queryParams: {}
16417
16514
  jsonBody: {}
16418
16515
  commonParams: {
16516
+ /** ID of the entrance that you want to get. */
16419
16517
  acs_entrance_id: string
16420
16518
  }
16421
16519
  formData: {}
@@ -16515,7 +16613,9 @@ export interface Routes {
16515
16613
  method: 'POST'
16516
16614
  queryParams: {}
16517
16615
  jsonBody: {
16616
+ /** ID of the entrance to which you want to grant an access system user access. */
16518
16617
  acs_entrance_id: string
16618
+ /** ID of the access system user to whom you want to grant access to an entrance. */
16519
16619
  acs_user_id: string
16520
16620
  }
16521
16621
  commonParams: {}
@@ -16528,9 +16628,11 @@ export interface Routes {
16528
16628
  queryParams: {}
16529
16629
  jsonBody: {}
16530
16630
  commonParams: {
16631
+ /** ID of the access system for which you want to retrieve all entrances. */
16531
16632
  acs_system_id?: string | undefined
16633
+ /** ID of the credential for which you want to retrieve all entrances. */
16532
16634
  acs_credential_id?: string | undefined
16533
- /** */
16635
+ /** ID of the location for which you want to retrieve all entrances. */
16534
16636
  location_id?: (string | null) | undefined
16535
16637
  }
16536
16638
  formData: {}
@@ -16628,7 +16730,9 @@ export interface Routes {
16628
16730
  queryParams: {}
16629
16731
  jsonBody: {}
16630
16732
  commonParams: {
16733
+ /** ID of the entrance for which you want to list all credentials that grant access. */
16631
16734
  acs_entrance_id: string
16735
+ /** Conditions that credentials must meet to be included in the returned list. */
16632
16736
  include_if?: Array<'visionline_metadata.is_valid'> | undefined
16633
16737
  }
16634
16738
  formData: {}
@@ -16780,7 +16884,7 @@ export interface Routes {
16780
16884
  queryParams: {}
16781
16885
  jsonBody: {}
16782
16886
  commonParams: {
16783
- /** ID of the desired access control system. */
16887
+ /** ID of the access system that you want to get. */
16784
16888
  acs_system_id: string
16785
16889
  }
16786
16890
  formData: {}
@@ -16975,7 +17079,7 @@ export interface Routes {
16975
17079
  queryParams: {}
16976
17080
  jsonBody: {}
16977
17081
  commonParams: {
16978
- /** ID of the connected account by which to filter the list of returned access control systems. */
17082
+ /** ID of the connected account by which you want to filter the list of access systems. */
16979
17083
  connected_account_id?: string | undefined
16980
17084
  }
16981
17085
  formData: {}
@@ -17165,7 +17269,7 @@ export interface Routes {
17165
17269
  queryParams: {}
17166
17270
  jsonBody: {}
17167
17271
  commonParams: {
17168
- /** ID of the ACS system for which you want to retrieve all compatible credential manager ACS systems. */
17272
+ /** ID of the access system for which you want to retrieve all compatible credential manager systems. */
17169
17273
  acs_system_id: string
17170
17274
  }
17171
17275
  formData: {}
@@ -17355,9 +17459,9 @@ export interface Routes {
17355
17459
  queryParams: {}
17356
17460
  jsonBody: {}
17357
17461
  commonParams: {
17358
- /** ID of the desired `acs_user`. */
17462
+ /** ID of the access system user that you want to add to an access group. */
17359
17463
  acs_user_id: string
17360
- /** ID of the desired access group. */
17464
+ /** ID of the access group to which you want to add an access system user. */
17361
17465
  acs_access_group_id: string
17362
17466
  }
17363
17467
  formData: {}
@@ -17368,18 +17472,20 @@ export interface Routes {
17368
17472
  method: 'POST'
17369
17473
  queryParams: {}
17370
17474
  jsonBody: {
17371
- /** Full name of the new `acs_user`. */
17475
+ /** Full name of the new access system user. */
17372
17476
  full_name: string
17373
- /** ID of the `acs_system` to which to add the new `acs_user`. */
17477
+ /** ID of the access system to which you want to add the new access system user. */
17374
17478
  acs_system_id: string
17375
- /** Array of `access_group_id`s to indicate the access groups to which to add the new `acs_user`. */
17479
+ /** Array of access group IDs to indicate the access groups to which you want to add the new access system user. */
17376
17480
  acs_access_group_ids?: string[]
17377
- /** ID of the user identity with which to associate the new `acs_user`. */
17481
+ /** ID of the user identity with which you want to associate the new access system user. */
17378
17482
  user_identity_id?: string | undefined
17379
- /** `starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you may include both `starts_at` and `ends_at`. `starts_at` defaults to the current time if not provided. `ends_at` is optional and must be a time in the future and after `starts_at`. */
17483
+ /** `starts_at` and `ends_at` timestamps for the new access system user's access. If you specify an `access_schedule`, you may include both `starts_at` and `ends_at`. If you omit `starts_at`, it defaults to the current time. `ends_at` is optional and must be a time in the future and after `starts_at`. */
17380
17484
  access_schedule?:
17381
17485
  | {
17486
+ /** Starting timestamp for the new access system user's access. */
17382
17487
  starts_at?: string | undefined
17488
+ /** Ending timestamp for the new access system user's access. */
17383
17489
  ends_at?: (string | undefined) | null
17384
17490
  }
17385
17491
  | undefined
@@ -17622,7 +17728,7 @@ export interface Routes {
17622
17728
  queryParams: {}
17623
17729
  jsonBody: {}
17624
17730
  commonParams: {
17625
- /** ID of the desired `acs_user`. */
17731
+ /** ID of the access system user that you want to delete. */
17626
17732
  acs_user_id: string
17627
17733
  }
17628
17734
  formData: {}
@@ -17634,7 +17740,7 @@ export interface Routes {
17634
17740
  queryParams: {}
17635
17741
  jsonBody: {}
17636
17742
  commonParams: {
17637
- /** ID of the desired `acs_user`. */
17743
+ /** ID of the access system user that you want to get. */
17638
17744
  acs_user_id: string
17639
17745
  }
17640
17746
  formData: {}
@@ -17867,18 +17973,19 @@ export interface Routes {
17867
17973
  queryParams: {}
17868
17974
  jsonBody: {}
17869
17975
  commonParams: {
17870
- /** ID of the user identity for which you want to retrieve all `acs_user`s. */
17976
+ /** ID of the user identity for which you want to retrieve all access system users. */
17871
17977
  user_identity_id?: string | undefined
17872
- /** Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
17978
+ /** Phone number of the user identity for which you want to retrieve all access system users, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
17873
17979
  user_identity_phone_number?: string | undefined
17874
- /** Email address of the user identity for which you want to retrieve all `acs_user`s. */
17980
+ /** Email address of the user identity for which you want to retrieve all access system users. */
17875
17981
  user_identity_email_address?: string | undefined
17876
- /** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
17982
+ /** ID of the `acs_system` for which you want to retrieve all access system users. */
17877
17983
  acs_system_id?: string | undefined
17878
- /** String for which to search. Filters returned `acs_user`s to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `acs_user_id`, `user_identity_id`, `user_identity_full_name` or `user_identity_phone_number`. */
17984
+ /** String for which to search. Filters returned access system users to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `acs_user_id`, `user_identity_id`, `user_identity_full_name` or `user_identity_phone_number`. */
17879
17985
  search?: string | undefined
17880
17986
  /** Maximum number of records to return per page. */
17881
17987
  limit?: number
17988
+ /** Timestamp by which to limit returned access system users. Returns users created before this timestamp. */
17882
17989
  created_before?: Date | undefined
17883
17990
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
17884
17991
  page_cursor?: (string | undefined) | null
@@ -18117,7 +18224,7 @@ export interface Routes {
18117
18224
  queryParams: {}
18118
18225
  jsonBody: {}
18119
18226
  commonParams: {
18120
- /** ID of the desired `acs_user`. */
18227
+ /** ID of the access system user for whom you want to list accessible entrances. */
18121
18228
  acs_user_id: string
18122
18229
  }
18123
18230
  formData: {}
@@ -18215,9 +18322,9 @@ export interface Routes {
18215
18322
  queryParams: {}
18216
18323
  jsonBody: {}
18217
18324
  commonParams: {
18218
- /** ID of the desired `acs_user`. */
18325
+ /** ID of the access system user that you want to remove from an access group. */
18219
18326
  acs_user_id: string
18220
- /** ID of the desired access group. */
18327
+ /** ID of the access group from which you want to remove an access system user. */
18221
18328
  acs_access_group_id: string
18222
18329
  }
18223
18330
  formData: {}
@@ -18228,7 +18335,7 @@ export interface Routes {
18228
18335
  method: 'POST'
18229
18336
  queryParams: {}
18230
18337
  jsonBody: {
18231
- /** ID of the desired `acs_user`. */
18338
+ /** ID of the access system user for whom you want to revoke access. */
18232
18339
  acs_user_id: string
18233
18340
  }
18234
18341
  commonParams: {}
@@ -18241,7 +18348,7 @@ export interface Routes {
18241
18348
  queryParams: {}
18242
18349
  jsonBody: {}
18243
18350
  commonParams: {
18244
- /** ID of the desired `acs_user`. */
18351
+ /** ID of the access system user that you want to suspend. */
18245
18352
  acs_user_id: string
18246
18353
  }
18247
18354
  formData: {}
@@ -18253,6 +18360,7 @@ export interface Routes {
18253
18360
  queryParams: {}
18254
18361
  jsonBody: {}
18255
18362
  commonParams: {
18363
+ /** ID of the unmanaged access system user that you want to get. */
18256
18364
  acs_user_id: string
18257
18365
  }
18258
18366
  formData: {}
@@ -18481,10 +18589,15 @@ export interface Routes {
18481
18589
  queryParams: {}
18482
18590
  jsonBody: {}
18483
18591
  commonParams: {
18592
+ /** ID of the user identity for which you want to retrieve all unmanaged access system users. */
18484
18593
  user_identity_id?: string | undefined
18594
+ /** Phone number of the user identity for which you want to retrieve all unmanaged access system users. */
18485
18595
  user_identity_phone_number?: string | undefined
18596
+ /** Email address of the user identity for which you want to retrieve all unmanaged access system users. */
18486
18597
  user_identity_email_address?: string | undefined
18598
+ /** ID of the access system for which you want to retrieve all unmanaged access system users. */
18487
18599
  acs_system_id?: string | undefined
18600
+ /** Number of unmanaged access system users to return. */
18488
18601
  limit?: number
18489
18602
  }
18490
18603
  formData: {}
@@ -18712,7 +18825,7 @@ export interface Routes {
18712
18825
  queryParams: {}
18713
18826
  jsonBody: {}
18714
18827
  commonParams: {
18715
- /** ID of the desired `acs_user`. */
18828
+ /** ID of the access system user that you want to unsuspend. */
18716
18829
  acs_user_id: string
18717
18830
  }
18718
18831
  formData: {}
@@ -18723,10 +18836,12 @@ export interface Routes {
18723
18836
  method: 'PATCH' | 'POST'
18724
18837
  queryParams: {}
18725
18838
  jsonBody: {
18726
- /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. */
18839
+ /** `starts_at` and `ends_at` timestamps for the access system user's access. If you specify an `access_schedule`, you may include both `starts_at` and `ends_at`. If you omit `starts_at`, it defaults to the current time. `ends_at` is optional and must be a time in the future and after `starts_at`. */
18727
18840
  access_schedule?:
18728
18841
  | ({
18842
+ /** Starting timestamp for the access system user's access. */
18729
18843
  starts_at: string
18844
+ /** Ending timestamp for the access system user's access. */
18730
18845
  ends_at: string
18731
18846
  } | null)
18732
18847
  | undefined
@@ -18753,6 +18868,7 @@ export interface Routes {
18753
18868
  queryParams: {}
18754
18869
  jsonBody: {}
18755
18870
  commonParams: {
18871
+ /** ID of the action attempt that you want to get. */
18756
18872
  action_attempt_id: string
18757
18873
  }
18758
18874
  formData: {}
@@ -20057,6 +20173,7 @@ export interface Routes {
20057
20173
  queryParams: {}
20058
20174
  jsonBody: {}
20059
20175
  commonParams: {
20176
+ /** IDs of the action attempts that you want to retrieve. */
20060
20177
  action_attempt_ids: string[]
20061
20178
  }
20062
20179
  formData: {}
@@ -21361,6 +21478,7 @@ export interface Routes {
21361
21478
  queryParams: {}
21362
21479
  jsonBody: {}
21363
21480
  commonParams: {
21481
+ /** ID of the Seam Bridge that you want to get. */
21364
21482
  bridge_id: string
21365
21483
  }
21366
21484
  formData: {}
@@ -21393,16 +21511,29 @@ export interface Routes {
21393
21511
  method: 'POST' | 'PUT'
21394
21512
  queryParams: {}
21395
21513
  jsonBody: {
21514
+ /** Your user ID for the user for whom you want to create a client session. */
21396
21515
  user_identifier_key?: string | undefined
21516
+ /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) for which you want to create a client session. */
21397
21517
  connect_webview_ids?: string[] | undefined
21518
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) for which you want to create a client session. */
21398
21519
  connected_account_ids?: string[] | undefined
21520
+ /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session. */
21399
21521
  user_identity_ids?: string[] | undefined
21522
+ /** Date and time at which the client session should expire, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
21400
21523
  expires_at?: Date | undefined
21401
21524
  }
21402
21525
  commonParams: {}
21403
21526
  formData: {}
21404
21527
  jsonResponse: {
21405
- /** */
21528
+ /** Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
21529
+
21530
+ You create each client session with a custom `user_identifier_key`. Normally, the `user_identifier_key` is a user ID that your application provides.
21531
+
21532
+ When calling the Seam API from your backend using an API key, you can pass the `user_identifier_key` as a parameter to limit results to the associated client session. For example, `/devices/list?user_identifier_key=123` only returns devices associated with the client session created with the `user_identifier_key` `123`.
21533
+
21534
+ A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
21535
+
21536
+ See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens). */
21406
21537
  client_session: {
21407
21538
  client_session_id: string
21408
21539
  workspace_id: string
@@ -21423,6 +21554,7 @@ export interface Routes {
21423
21554
  queryParams: {}
21424
21555
  jsonBody: {}
21425
21556
  commonParams: {
21557
+ /** ID of the client session that you want to delete. */
21426
21558
  client_session_id: string
21427
21559
  }
21428
21560
  formData: {}
@@ -21434,12 +21566,22 @@ export interface Routes {
21434
21566
  queryParams: {}
21435
21567
  jsonBody: {}
21436
21568
  commonParams: {
21569
+ /** ID of the client session that you want to get. */
21437
21570
  client_session_id?: string | undefined
21571
+ /** User identifier key associated with the client session that you want to get. */
21438
21572
  user_identifier_key?: string | undefined
21439
21573
  }
21440
21574
  formData: {}
21441
21575
  jsonResponse: {
21442
- /** */
21576
+ /** Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
21577
+
21578
+ You create each client session with a custom `user_identifier_key`. Normally, the `user_identifier_key` is a user ID that your application provides.
21579
+
21580
+ When calling the Seam API from your backend using an API key, you can pass the `user_identifier_key` as a parameter to limit results to the associated client session. For example, `/devices/list?user_identifier_key=123` only returns devices associated with the client session created with the `user_identifier_key` `123`.
21581
+
21582
+ A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
21583
+
21584
+ See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens). */
21443
21585
  client_session: {
21444
21586
  client_session_id: string
21445
21587
  workspace_id: string
@@ -21459,16 +21601,29 @@ export interface Routes {
21459
21601
  method: 'POST'
21460
21602
  queryParams: {}
21461
21603
  jsonBody: {
21604
+ /** Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session). */
21462
21605
  user_identifier_key?: string | undefined
21606
+ /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) that you want to associate with the client session (or that are already associated with the existing client session). */
21463
21607
  connect_webview_ids?: string[] | undefined
21608
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/api/connected_accounts) that you want to associate with the client session (or that are already associated with the existing client session). */
21464
21609
  connected_account_ids?: string[] | undefined
21610
+ /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session). */
21465
21611
  user_identity_ids?: string[] | undefined
21612
+ /** Date and time at which the client session should expire (or at which the existing client session expires), in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
21466
21613
  expires_at?: Date | undefined
21467
21614
  }
21468
21615
  commonParams: {}
21469
21616
  formData: {}
21470
21617
  jsonResponse: {
21471
- /** */
21618
+ /** Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
21619
+
21620
+ You create each client session with a custom `user_identifier_key`. Normally, the `user_identifier_key` is a user ID that your application provides.
21621
+
21622
+ When calling the Seam API from your backend using an API key, you can pass the `user_identifier_key` as a parameter to limit results to the associated client session. For example, `/devices/list?user_identifier_key=123` only returns devices associated with the client session created with the `user_identifier_key` `123`.
21623
+
21624
+ A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
21625
+
21626
+ See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens). */
21472
21627
  client_session: {
21473
21628
  client_session_id: string
21474
21629
  workspace_id: string
@@ -21489,15 +21644,28 @@ export interface Routes {
21489
21644
  queryParams: {}
21490
21645
  jsonBody: {}
21491
21646
  commonParams: {
21647
+ /** ID of the client session to which you want to grant access to resources. */
21492
21648
  client_session_id?: string | undefined
21649
+ /** Your user ID for the user that you want to associate with the client session. */
21493
21650
  user_identifier_key?: string | undefined
21651
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) that you want to associate with the client session. */
21494
21652
  connected_account_ids?: string[] | undefined
21653
+ /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) that you want to associate with the client session. */
21495
21654
  connect_webview_ids?: string[] | undefined
21655
+ /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session. */
21496
21656
  user_identity_ids?: string[] | undefined
21497
21657
  }
21498
21658
  formData: {}
21499
21659
  jsonResponse: {
21500
- /** */
21660
+ /** Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
21661
+
21662
+ You create each client session with a custom `user_identifier_key`. Normally, the `user_identifier_key` is a user ID that your application provides.
21663
+
21664
+ When calling the Seam API from your backend using an API key, you can pass the `user_identifier_key` as a parameter to limit results to the associated client session. For example, `/devices/list?user_identifier_key=123` only returns devices associated with the client session created with the `user_identifier_key` `123`.
21665
+
21666
+ A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
21667
+
21668
+ See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens). */
21501
21669
  client_session: {
21502
21670
  client_session_id: string
21503
21671
  workspace_id: string
@@ -21518,10 +21686,15 @@ export interface Routes {
21518
21686
  queryParams: {}
21519
21687
  jsonBody: {}
21520
21688
  commonParams: {
21689
+ /** ID of the client session that you want to retrieve. */
21521
21690
  client_session_id?: string | undefined
21691
+ /** Your user ID for the user by which you want to filter client sessions. */
21522
21692
  user_identifier_key?: string | undefined
21693
+ /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) for which you want to retrieve client sessions. */
21523
21694
  connect_webview_id?: string | undefined
21695
+ /** Indicates whether to retrieve only client sessions without associated user identifier keys. */
21524
21696
  without_user_identifier_key?: boolean | undefined
21697
+ /** ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions. */
21525
21698
  user_identity_id?: string | undefined
21526
21699
  }
21527
21700
  formData: {}
@@ -21546,6 +21719,7 @@ export interface Routes {
21546
21719
  queryParams: {}
21547
21720
  jsonBody: {}
21548
21721
  commonParams: {
21722
+ /** ID of the client session that you want to revoke. */
21549
21723
  client_session_id: string
21550
21724
  }
21551
21725
  formData: {}
@@ -21556,9 +21730,13 @@ export interface Routes {
21556
21730
  method: 'POST'
21557
21731
  queryParams: {}
21558
21732
  jsonBody: {
21733
+ /** */
21559
21734
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined
21735
+ /** URL that you want to redirect the user to after the provider login is complete. */
21560
21736
  custom_redirect_url?: string | undefined
21737
+ /** Alternative URL that you want to redirect the user to on an error. If you do not set this parameter, the Connect Webview falls back to the `custom_redirect_url`. */
21561
21738
  custom_redirect_failure_url?: string | undefined
21739
+ /** Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with no filters. */
21562
21740
  accepted_providers?:
21563
21741
  | Array<
21564
21742
  | 'dormakaba_community'
@@ -21613,6 +21791,7 @@ export interface Routes {
21613
21791
  | 'google_nest'
21614
21792
  >
21615
21793
  | undefined
21794
+ /** Specifies the category of providers that you want to include. To list all providers within a category, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with the desired `provider_category` filter. */
21616
21795
  provider_category?:
21617
21796
  | (
21618
21797
  | 'stable'
@@ -21623,14 +21802,27 @@ export interface Routes {
21623
21802
  | 'internal_beta'
21624
21803
  )
21625
21804
  | undefined
21805
+ /** Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview) enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) that were connected using the Connect Webview, making it easy to find and filter these resources in your [workspace](https://docs.seam.co/latest/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). */
21626
21806
  custom_metadata?: Record<string, string | boolean | null> | undefined
21807
+ /** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). See also: [Customize the Behavior Settings of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-behavior-settings-of-your-connect-webviews). */
21627
21808
  automatically_manage_new_devices?: boolean
21809
+ /** Indicates whether Seam should finish syncing all devices in a newly-connected account before completing the associated Connect Webview. See also: [Customize the Behavior Settings of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-behavior-settings-of-your-connect-webviews). */
21628
21810
  wait_for_device_creation?: boolean
21629
21811
  }
21630
21812
  commonParams: {}
21631
21813
  formData: {}
21632
21814
  jsonResponse: {
21633
- /** */
21815
+ /** Represents a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).
21816
+
21817
+ Connect Webviews are fully-embedded client-side components that you add to your app. Your users interact with your embedded Connect Webviews to link their IoT device or system accounts to Seam. That is, Connect Webviews walk your users through the process of logging in to their device or system accounts. Seam handles all the authentication steps, and—once your user has completed the authorization through your app—you can access and control their devices or systems using the Seam API.
21818
+
21819
+ Connect Webviews perform credential validation, multifactor authentication (when applicable), and error handling for each brand that Seam supports. Further, Connect Webviews work across all modern browsers and platforms, including Chrome, Safari, and Firefox.
21820
+
21821
+ To enable a user to connect their device or system account to Seam through your app, first create a `connect_webview`. Once created, this `connect_webview` includes a URL that you can use to open an [iframe](https://www.w3schools.com/html/html_iframe.asp) or new window containing the Connect Webview for your user.
21822
+
21823
+ When you create a Connect Webview, specify the desired provider category key in the `provider_category` parameter. Alternately, to specify a list of providers explicitly, use the `accepted_providers` parameter with a list of device provider keys.
21824
+
21825
+ To list all providers within a category, use `/devices/list_device_providers` with the desired `provider_category` filter. To list all provider keys, use `/devices/list_device_providers` with no filters. */
21634
21826
  connect_webview: {
21635
21827
  connect_webview_id: string
21636
21828
  workspace_id: string
@@ -21663,6 +21855,7 @@ export interface Routes {
21663
21855
  method: 'DELETE' | 'POST'
21664
21856
  queryParams: {}
21665
21857
  jsonBody: {
21858
+ /** ID of the Connect Webview that you want to delete. */
21666
21859
  connect_webview_id: string
21667
21860
  }
21668
21861
  commonParams: {}
@@ -21675,11 +21868,22 @@ export interface Routes {
21675
21868
  queryParams: {}
21676
21869
  jsonBody: {}
21677
21870
  commonParams: {
21871
+ /** ID of the Connect Webview that you want to get. */
21678
21872
  connect_webview_id: string
21679
21873
  }
21680
21874
  formData: {}
21681
21875
  jsonResponse: {
21682
- /** */
21876
+ /** Represents a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).
21877
+
21878
+ Connect Webviews are fully-embedded client-side components that you add to your app. Your users interact with your embedded Connect Webviews to link their IoT device or system accounts to Seam. That is, Connect Webviews walk your users through the process of logging in to their device or system accounts. Seam handles all the authentication steps, and—once your user has completed the authorization through your app—you can access and control their devices or systems using the Seam API.
21879
+
21880
+ Connect Webviews perform credential validation, multifactor authentication (when applicable), and error handling for each brand that Seam supports. Further, Connect Webviews work across all modern browsers and platforms, including Chrome, Safari, and Firefox.
21881
+
21882
+ To enable a user to connect their device or system account to Seam through your app, first create a `connect_webview`. Once created, this `connect_webview` includes a URL that you can use to open an [iframe](https://www.w3schools.com/html/html_iframe.asp) or new window containing the Connect Webview for your user.
21883
+
21884
+ When you create a Connect Webview, specify the desired provider category key in the `provider_category` parameter. Alternately, to specify a list of providers explicitly, use the `accepted_providers` parameter with a list of device provider keys.
21885
+
21886
+ To list all providers within a category, use `/devices/list_device_providers` with the desired `provider_category` filter. To list all provider keys, use `/devices/list_device_providers` with no filters. */
21683
21887
  connect_webview: {
21684
21888
  connect_webview_id: string
21685
21889
  workspace_id: string
@@ -21713,10 +21917,11 @@ export interface Routes {
21713
21917
  queryParams: {}
21714
21918
  jsonBody: {}
21715
21919
  commonParams: {
21716
- /** Returns webviews that can be accessed by the provided user_identifier_key. */
21920
+ /** Your user ID for the user by which you want to filter Connect Webviews. */
21717
21921
  user_identifier_key?: string | undefined
21718
- /** Returns webviews whose custom_metadata contains all of the provided key/value pairs. */
21922
+ /** Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. */
21719
21923
  custom_metadata_has?: Record<string, string | boolean> | undefined
21924
+ /** Maximum number of records to return per page. */
21720
21925
  limit?: number
21721
21926
  }
21722
21927
  formData: {}
@@ -21753,7 +21958,9 @@ export interface Routes {
21753
21958
  method: 'DELETE' | 'POST'
21754
21959
  queryParams: {}
21755
21960
  jsonBody: {
21961
+ /** ID of the connected account that you want to delete. */
21756
21962
  connected_account_id: string
21963
+ /** */
21757
21964
  sync?: boolean
21758
21965
  }
21759
21966
  commonParams: {}
@@ -21767,14 +21974,16 @@ export interface Routes {
21767
21974
  jsonBody: {}
21768
21975
  commonParams:
21769
21976
  | {
21977
+ /** ID of the connected account that you want to get. */
21770
21978
  connected_account_id: string
21771
21979
  }
21772
21980
  | {
21981
+ /** Email address associated with the connected account that you want to get. */
21773
21982
  email: string
21774
21983
  }
21775
21984
  formData: {}
21776
21985
  jsonResponse: {
21777
- /** */
21986
+ /** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
21778
21987
  connected_account: {
21779
21988
  connected_account_id?: string | undefined
21780
21989
  created_at?: string | undefined
@@ -21877,9 +22086,9 @@ export interface Routes {
21877
22086
  queryParams: {}
21878
22087
  jsonBody: {}
21879
22088
  commonParams: {
21880
- /** Returns accounts that can be accessed by the provided user_identifier_key. */
22089
+ /** Your user ID for the user by which you want to filter connected accounts. */
21881
22090
  user_identifier_key?: string | undefined
21882
- /** Returns accounts whose custom_metadata contains all of the provided key/value pairs. */
22091
+ /** Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. */
21883
22092
  custom_metadata_has?: Record<string, string | boolean> | undefined
21884
22093
  customer_ids?: string[] | undefined
21885
22094
  /** Maximum number of records to return per page. */
@@ -21999,14 +22208,17 @@ export interface Routes {
21999
22208
  method: 'POST'
22000
22209
  queryParams: {}
22001
22210
  jsonBody: {
22211
+ /** ID of the connected account that you want to update. */
22002
22212
  connected_account_id: string
22213
+ /** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
22003
22214
  automatically_manage_new_devices?: boolean | undefined
22215
+ /** Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata). */
22004
22216
  custom_metadata?: Record<string, string | boolean | null> | undefined
22005
22217
  }
22006
22218
  commonParams: {}
22007
22219
  formData: {}
22008
22220
  jsonResponse: {
22009
- /** */
22221
+ /** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
22010
22222
  connected_account: {
22011
22223
  connected_account_id?: string | undefined
22012
22224
  created_at?: string | undefined
@@ -22109,6 +22321,7 @@ export interface Routes {
22109
22321
  queryParams: {}
22110
22322
  jsonBody: {}
22111
22323
  commonParams: {
22324
+ /** ID of the device that you want to delete. */
22112
22325
  device_id: string
22113
22326
  }
22114
22327
  formData: {}
@@ -22120,12 +22333,14 @@ export interface Routes {
22120
22333
  queryParams: {}
22121
22334
  jsonBody: {}
22122
22335
  commonParams: {
22336
+ /** ID of the device that you want to get. */
22123
22337
  device_id?: string | undefined
22338
+ /** Name of the device that you want to get. */
22124
22339
  name?: string | undefined
22125
22340
  }
22126
22341
  formData: {}
22127
22342
  jsonResponse: {
22128
- /** */
22343
+ /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
22129
22344
  device: {
22130
22345
  /** Unique identifier for the device. */
22131
22346
  device_id: string
@@ -22235,7 +22450,7 @@ export interface Routes {
22235
22450
  status: 'critical' | 'low' | 'good' | 'full'
22236
22451
  }
22237
22452
  | undefined
22238
- /** Manufacturer of the device. */
22453
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
22239
22454
  manufacturer?: string | undefined
22240
22455
  /** Image URL for the device. */
22241
22456
  image_url?: string | undefined
@@ -22595,6 +22810,7 @@ export interface Routes {
22595
22810
  _experimental_supported_code_from_access_codes_lengths?:
22596
22811
  | (number[] | undefined)
22597
22812
  | undefined
22813
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
22598
22814
  code_constraints?:
22599
22815
  | (
22600
22816
  | Array<
@@ -23122,13 +23338,13 @@ export interface Routes {
23122
23338
  jsonBody: {}
23123
23339
  commonParams: {
23124
23340
  customer_ids?: string[] | undefined
23125
- /** ID of the connected account by which to filter. */
23341
+ /** ID of the connected account for which you want to list devices. */
23126
23342
  connected_account_id?: string | undefined
23127
- /** Array of IDs of the connected accounts by which to filter devices. */
23343
+ /** Array of IDs of the connected accounts for which you want to list devices. */
23128
23344
  connected_account_ids?: string[] | undefined
23129
- /** ID of the Connect Webview by which to filter devices. */
23345
+ /** ID of the Connect Webview for which you want to list devices. */
23130
23346
  connect_webview_id?: string | undefined
23131
- /** Device type by which to filter devices. */
23347
+ /** Device type for which you want to list devices. */
23132
23348
  device_type?:
23133
23349
  | (
23134
23350
  | (
@@ -23172,7 +23388,7 @@ export interface Routes {
23172
23388
  | ('ios_phone' | 'android_phone')
23173
23389
  )
23174
23390
  | undefined
23175
- /** Array of device types by which to filter devices. */
23391
+ /** Array of device types for which you want to list devices. */
23176
23392
  device_types?:
23177
23393
  | Array<
23178
23394
  | (
@@ -23216,7 +23432,7 @@ export interface Routes {
23216
23432
  | ('ios_phone' | 'android_phone')
23217
23433
  >
23218
23434
  | undefined
23219
- /** Manufacturer by which to filter devices. */
23435
+ /** Manufacturer for which you want to list devices. */
23220
23436
  manufacturer?:
23221
23437
  | (
23222
23438
  | 'akuvox'
@@ -23259,15 +23475,15 @@ export interface Routes {
23259
23475
  | 'sensi'
23260
23476
  )
23261
23477
  | undefined
23262
- /** Array of device IDs by which to filter devices. */
23478
+ /** Array of device IDs for which you want to list devices. */
23263
23479
  device_ids?: string[] | undefined
23264
23480
  /** Numerical limit on the number of devices to return. */
23265
23481
  limit?: number
23266
- /** Date threshold for devices to return. If specified, returns only devices created before the specified date. */
23482
+ /** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
23267
23483
  created_before?: Date | undefined
23268
- /** Your own internal user ID for the user by which to filter devices. */
23484
+ /** Your own internal user ID for the user for which you want to list devices. */
23269
23485
  user_identifier_key?: string | undefined
23270
- /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs by which you want to filter devices. */
23486
+ /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. */
23271
23487
  custom_metadata_has?: Record<string, string | boolean> | undefined
23272
23488
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
23273
23489
  page_cursor?: (string | undefined) | null
@@ -23303,7 +23519,7 @@ export interface Routes {
23303
23519
  | 'can_simulate_disconnection'
23304
23520
  >
23305
23521
  | undefined
23306
- /** */
23522
+ /** ID of the location for which you want to list devices. */
23307
23523
  unstable_location_id?: (string | null) | undefined
23308
23524
  }
23309
23525
  formData: {}
@@ -23417,7 +23633,7 @@ export interface Routes {
23417
23633
  status: 'critical' | 'low' | 'good' | 'full'
23418
23634
  }
23419
23635
  | undefined
23420
- /** Manufacturer of the device. */
23636
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
23421
23637
  manufacturer?: string | undefined
23422
23638
  /** Image URL for the device. */
23423
23639
  image_url?: string | undefined
@@ -23777,6 +23993,7 @@ export interface Routes {
23777
23993
  _experimental_supported_code_from_access_codes_lengths?:
23778
23994
  | (number[] | undefined)
23779
23995
  | undefined
23996
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
23780
23997
  code_constraints?:
23781
23998
  | (
23782
23999
  | Array<
@@ -24312,6 +24529,7 @@ export interface Routes {
24312
24529
  queryParams: {}
24313
24530
  jsonBody: {}
24314
24531
  commonParams: {
24532
+ /** Category for which you want to list providers. */
24315
24533
  provider_category?:
24316
24534
  | (
24317
24535
  | 'stable'
@@ -24401,6 +24619,7 @@ export interface Routes {
24401
24619
  method: 'POST'
24402
24620
  queryParams: {}
24403
24621
  jsonBody: {
24622
+ /** ID of the device that you want to simulate connecting to Seam. */
24404
24623
  device_id: string
24405
24624
  }
24406
24625
  commonParams: {}
@@ -24412,6 +24631,7 @@ export interface Routes {
24412
24631
  method: 'POST'
24413
24632
  queryParams: {}
24414
24633
  jsonBody: {
24634
+ /** ID of the device that you want to simulate disconnecting from Seam. */
24415
24635
  device_id: string
24416
24636
  }
24417
24637
  commonParams: {}
@@ -24423,6 +24643,7 @@ export interface Routes {
24423
24643
  method: 'DELETE' | 'POST'
24424
24644
  queryParams: {}
24425
24645
  jsonBody: {
24646
+ /** ID of the device that you want to simulate removing from Seam. */
24426
24647
  device_id: string
24427
24648
  }
24428
24649
  commonParams: {}
@@ -24435,12 +24656,14 @@ export interface Routes {
24435
24656
  queryParams: {}
24436
24657
  jsonBody: {}
24437
24658
  commonParams: {
24659
+ /** ID of the unmanaged device that you want to get. */
24438
24660
  device_id?: string | undefined
24661
+ /** Name of the unmanaged device that you want to get. */
24439
24662
  name?: string | undefined
24440
24663
  }
24441
24664
  formData: {}
24442
24665
  jsonResponse: {
24443
- /** */
24666
+ /** Represents an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). 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/latest/capability-guides/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/latest/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed). */
24444
24667
  device: {
24445
24668
  /** Unique identifier for the device. */
24446
24669
  device_id: string
@@ -24746,7 +24969,7 @@ export interface Routes {
24746
24969
  name: string
24747
24970
  /** Indicates whether the device is online. */
24748
24971
  online: boolean
24749
- /** Manufacturer of the device. */
24972
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
24750
24973
  manufacturer?: string | undefined
24751
24974
  /** Image URL for the device. */
24752
24975
  image_url?: string | undefined
@@ -24804,13 +25027,13 @@ export interface Routes {
24804
25027
  jsonBody: {}
24805
25028
  commonParams: {
24806
25029
  customer_ids?: string[] | undefined
24807
- /** ID of the connected account by which to filter. */
25030
+ /** ID of the connected account for which you want to list devices. */
24808
25031
  connected_account_id?: string | undefined
24809
- /** Array of IDs of the connected accounts by which to filter devices. */
25032
+ /** Array of IDs of the connected accounts for which you want to list devices. */
24810
25033
  connected_account_ids?: string[] | undefined
24811
- /** ID of the Connect Webview by which to filter devices. */
25034
+ /** ID of the Connect Webview for which you want to list devices. */
24812
25035
  connect_webview_id?: string | undefined
24813
- /** Device type by which to filter devices. */
25036
+ /** Device type for which you want to list devices. */
24814
25037
  device_type?:
24815
25038
  | (
24816
25039
  | (
@@ -24854,7 +25077,7 @@ export interface Routes {
24854
25077
  | ('ios_phone' | 'android_phone')
24855
25078
  )
24856
25079
  | undefined
24857
- /** Array of device types by which to filter devices. */
25080
+ /** Array of device types for which you want to list devices. */
24858
25081
  device_types?:
24859
25082
  | Array<
24860
25083
  | (
@@ -24898,7 +25121,7 @@ export interface Routes {
24898
25121
  | ('ios_phone' | 'android_phone')
24899
25122
  >
24900
25123
  | undefined
24901
- /** Manufacturer by which to filter devices. */
25124
+ /** Manufacturer for which you want to list devices. */
24902
25125
  manufacturer?:
24903
25126
  | (
24904
25127
  | 'akuvox'
@@ -24941,15 +25164,15 @@ export interface Routes {
24941
25164
  | 'sensi'
24942
25165
  )
24943
25166
  | undefined
24944
- /** Array of device IDs by which to filter devices. */
25167
+ /** Array of device IDs for which you want to list devices. */
24945
25168
  device_ids?: string[] | undefined
24946
25169
  /** Numerical limit on the number of devices to return. */
24947
25170
  limit?: number
24948
- /** Date threshold for devices to return. If specified, returns only devices created before the specified date. */
25171
+ /** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
24949
25172
  created_before?: Date | undefined
24950
- /** Your own internal user ID for the user by which to filter devices. */
25173
+ /** Your own internal user ID for the user for which you want to list devices. */
24951
25174
  user_identifier_key?: string | undefined
24952
- /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs by which you want to filter devices. */
25175
+ /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. */
24953
25176
  custom_metadata_has?: Record<string, string | boolean> | undefined
24954
25177
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
24955
25178
  page_cursor?: (string | undefined) | null
@@ -24985,7 +25208,7 @@ export interface Routes {
24985
25208
  | 'can_simulate_disconnection'
24986
25209
  >
24987
25210
  | undefined
24988
- /** */
25211
+ /** ID of the location for which you want to list devices. */
24989
25212
  unstable_location_id?: (string | null) | undefined
24990
25213
  }
24991
25214
  formData: {}
@@ -25295,7 +25518,7 @@ export interface Routes {
25295
25518
  name: string
25296
25519
  /** Indicates whether the device is online. */
25297
25520
  online: boolean
25298
- /** Manufacturer of the device. */
25521
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
25299
25522
  manufacturer?: string | undefined
25300
25523
  /** Image URL for the device. */
25301
25524
  image_url?: string | undefined
@@ -25352,7 +25575,9 @@ export interface Routes {
25352
25575
  queryParams: {}
25353
25576
  jsonBody: {}
25354
25577
  commonParams: {
25578
+ /** ID of the unmanaged device that you want to update. */
25355
25579
  device_id: string
25580
+ /** Indicates whether the device is managed. Set this parameter to `true` to convert an unmanaged device to managed. */
25356
25581
  is_managed: true
25357
25582
  }
25358
25583
  formData: {}
@@ -25364,14 +25589,19 @@ export interface Routes {
25364
25589
  queryParams: {}
25365
25590
  jsonBody: {}
25366
25591
  commonParams: {
25592
+ /** ID of the device that you want to update. */
25367
25593
  device_id: string
25368
25594
  properties?:
25369
25595
  | {
25596
+ /** Name for the device. */
25370
25597
  name?: (string | null) | undefined
25371
25598
  }
25372
25599
  | undefined
25600
+ /** Name for the device. */
25373
25601
  name?: (string | null) | undefined
25602
+ /** Indicates whether the device is managed. To unmanage a device, set `is_managed` to `false`. */
25374
25603
  is_managed?: boolean
25604
+ /** Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter devices by the desired metadata](https://docs.seam.co/latest/core-concepts/devices/filtering-devices-by-custom-metadata). */
25375
25605
  custom_metadata?: Record<string, string | boolean | null> | undefined
25376
25606
  }
25377
25607
  formData: {}
@@ -25389,7 +25619,9 @@ export interface Routes {
25389
25619
  }
25390
25620
  formData: {}
25391
25621
  jsonResponse: {
25392
- /** */
25622
+ /** Represents an event. Events let you know when something interesting happens in your workspace. For example, when a lock is unlocked, Seam creates a `lock.unlocked` event. When a device's battery level is low, Seam creates a `device.battery_low` event.
25623
+
25624
+ As with other API resources, you can retrieve an individual event or a list of events. Seam also provides a separate [webhook](https://docs.seam.co/latest/developer-tools/webhooks) system for sending the event objects directly to an endpoint on your sever. Manage webhooks through [Seam Console](https://console.seam.co). You can also use the webhooks sandbox in Seam Console to see the different payloads for each event and test them against your own endpoints. */
25393
25625
  event?:
25394
25626
  | (
25395
25627
  | {
@@ -28545,7 +28777,7 @@ export interface Routes {
28545
28777
  }
28546
28778
  formData: {}
28547
28779
  jsonResponse: {
28548
- /** */
28780
+ /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
28549
28781
  lock: {
28550
28782
  /** Unique identifier for the device. */
28551
28783
  device_id: string
@@ -28655,7 +28887,7 @@ export interface Routes {
28655
28887
  status: 'critical' | 'low' | 'good' | 'full'
28656
28888
  }
28657
28889
  | undefined
28658
- /** Manufacturer of the device. */
28890
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
28659
28891
  manufacturer?: string | undefined
28660
28892
  /** Image URL for the device. */
28661
28893
  image_url?: string | undefined
@@ -29015,6 +29247,7 @@ export interface Routes {
29015
29247
  _experimental_supported_code_from_access_codes_lengths?:
29016
29248
  | (number[] | undefined)
29017
29249
  | undefined
29250
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
29018
29251
  code_constraints?:
29019
29252
  | (
29020
29253
  | Array<
@@ -29533,7 +29766,7 @@ export interface Routes {
29533
29766
  can_simulate_connection?: boolean | undefined
29534
29767
  can_simulate_disconnection?: boolean | undefined
29535
29768
  }
29536
- /** */
29769
+ /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
29537
29770
  device: {
29538
29771
  /** Unique identifier for the device. */
29539
29772
  device_id: string
@@ -29643,7 +29876,7 @@ export interface Routes {
29643
29876
  status: 'critical' | 'low' | 'good' | 'full'
29644
29877
  }
29645
29878
  | undefined
29646
- /** Manufacturer of the device. */
29879
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
29647
29880
  manufacturer?: string | undefined
29648
29881
  /** Image URL for the device. */
29649
29882
  image_url?: string | undefined
@@ -30003,6 +30236,7 @@ export interface Routes {
30003
30236
  _experimental_supported_code_from_access_codes_lengths?:
30004
30237
  | (number[] | undefined)
30005
30238
  | undefined
30239
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
30006
30240
  code_constraints?:
30007
30241
  | (
30008
30242
  | Array<
@@ -30530,11 +30764,11 @@ export interface Routes {
30530
30764
  jsonBody: {}
30531
30765
  commonParams: {
30532
30766
  customer_ids?: string[] | undefined
30533
- /** ID of the connected account by which to filter. */
30767
+ /** ID of the connected account for which you want to list devices. */
30534
30768
  connected_account_id?: string | undefined
30535
- /** Array of IDs of the connected accounts by which to filter devices. */
30769
+ /** Array of IDs of the connected accounts for which you want to list devices. */
30536
30770
  connected_account_ids?: string[] | undefined
30537
- /** ID of the Connect Webview by which to filter devices. */
30771
+ /** ID of the Connect Webview for which you want to list devices. */
30538
30772
  connect_webview_id?: string | undefined
30539
30773
  /** Device type by which to filter devices. */
30540
30774
  device_type?:
@@ -30632,15 +30866,15 @@ export interface Routes {
30632
30866
  | 'akiles'
30633
30867
  )
30634
30868
  | undefined
30635
- /** Array of device IDs by which to filter devices. */
30869
+ /** Array of device IDs for which you want to list devices. */
30636
30870
  device_ids?: string[] | undefined
30637
30871
  /** Numerical limit on the number of devices to return. */
30638
30872
  limit?: number
30639
- /** Date threshold for devices to return. If specified, returns only devices created before the specified date. */
30873
+ /** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
30640
30874
  created_before?: Date | undefined
30641
- /** Your own internal user ID for the user by which to filter devices. */
30875
+ /** Your own internal user ID for the user for which you want to list devices. */
30642
30876
  user_identifier_key?: string | undefined
30643
- /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs by which you want to filter devices. */
30877
+ /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. */
30644
30878
  custom_metadata_has?: Record<string, string | boolean> | undefined
30645
30879
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
30646
30880
  page_cursor?: (string | undefined) | null
@@ -30676,7 +30910,7 @@ export interface Routes {
30676
30910
  | 'can_simulate_disconnection'
30677
30911
  >
30678
30912
  | undefined
30679
- /** */
30913
+ /** ID of the location for which you want to list devices. */
30680
30914
  unstable_location_id?: (string | null) | undefined
30681
30915
  }
30682
30916
  formData: {}
@@ -30790,7 +31024,7 @@ export interface Routes {
30790
31024
  status: 'critical' | 'low' | 'good' | 'full'
30791
31025
  }
30792
31026
  | undefined
30793
- /** Manufacturer of the device. */
31027
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
30794
31028
  manufacturer?: string | undefined
30795
31029
  /** Image URL for the device. */
30796
31030
  image_url?: string | undefined
@@ -31150,6 +31384,7 @@ export interface Routes {
31150
31384
  _experimental_supported_code_from_access_codes_lengths?:
31151
31385
  | (number[] | undefined)
31152
31386
  | undefined
31387
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
31153
31388
  code_constraints?:
31154
31389
  | (
31155
31390
  | Array<
@@ -31777,7 +32012,7 @@ export interface Routes {
31777
32012
  status: 'critical' | 'low' | 'good' | 'full'
31778
32013
  }
31779
32014
  | undefined
31780
- /** Manufacturer of the device. */
32015
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
31781
32016
  manufacturer?: string | undefined
31782
32017
  /** Image URL for the device. */
31783
32018
  image_url?: string | undefined
@@ -32137,6 +32372,7 @@ export interface Routes {
32137
32372
  _experimental_supported_code_from_access_codes_lengths?:
32138
32373
  | (number[] | undefined)
32139
32374
  | undefined
32375
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
32140
32376
  code_constraints?:
32141
32377
  | (
32142
32378
  | Array<
@@ -37918,11 +38154,11 @@ export interface Routes {
37918
38154
  jsonBody: {}
37919
38155
  commonParams: {
37920
38156
  customer_ids?: string[] | undefined
37921
- /** ID of the connected account by which to filter. */
38157
+ /** ID of the connected account for which you want to list devices. */
37922
38158
  connected_account_id?: string | undefined
37923
- /** Array of IDs of the connected accounts by which to filter devices. */
38159
+ /** Array of IDs of the connected accounts for which you want to list devices. */
37924
38160
  connected_account_ids?: string[] | undefined
37925
- /** ID of the Connect Webview by which to filter devices. */
38161
+ /** ID of the Connect Webview for which you want to list devices. */
37926
38162
  connect_webview_id?: string | undefined
37927
38163
  /** Device type by which to filter devices. */
37928
38164
  device_type?: ('noiseaware_activity_zone' | 'minut_sensor') | undefined
@@ -37932,15 +38168,15 @@ export interface Routes {
37932
38168
  | undefined
37933
38169
  /** Manufacturer by which to filter devices. */
37934
38170
  manufacturer?: ('minut' | 'noiseaware') | undefined
37935
- /** Array of device IDs by which to filter devices. */
38171
+ /** Array of device IDs for which you want to list devices. */
37936
38172
  device_ids?: string[] | undefined
37937
38173
  /** Numerical limit on the number of devices to return. */
37938
38174
  limit?: number
37939
- /** Date threshold for devices to return. If specified, returns only devices created before the specified date. */
38175
+ /** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
37940
38176
  created_before?: Date | undefined
37941
- /** Your own internal user ID for the user by which to filter devices. */
38177
+ /** Your own internal user ID for the user for which you want to list devices. */
37942
38178
  user_identifier_key?: string | undefined
37943
- /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs by which you want to filter devices. */
38179
+ /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. */
37944
38180
  custom_metadata_has?: Record<string, string | boolean> | undefined
37945
38181
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
37946
38182
  page_cursor?: (string | undefined) | null
@@ -37976,7 +38212,7 @@ export interface Routes {
37976
38212
  | 'can_simulate_disconnection'
37977
38213
  >
37978
38214
  | undefined
37979
- /** */
38215
+ /** ID of the location for which you want to list devices. */
37980
38216
  unstable_location_id?: (string | null) | undefined
37981
38217
  }
37982
38218
  formData: {}
@@ -38090,7 +38326,7 @@ export interface Routes {
38090
38326
  status: 'critical' | 'low' | 'good' | 'full'
38091
38327
  }
38092
38328
  | undefined
38093
- /** Manufacturer of the device. */
38329
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
38094
38330
  manufacturer?: string | undefined
38095
38331
  /** Image URL for the device. */
38096
38332
  image_url?: string | undefined
@@ -38450,6 +38686,7 @@ export interface Routes {
38450
38686
  _experimental_supported_code_from_access_codes_lengths?:
38451
38687
  | (number[] | undefined)
38452
38688
  | undefined
38689
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
38453
38690
  code_constraints?:
38454
38691
  | (
38455
38692
  | Array<
@@ -39077,7 +39314,7 @@ export interface Routes {
39077
39314
  status: 'critical' | 'low' | 'good' | 'full'
39078
39315
  }
39079
39316
  | undefined
39080
- /** Manufacturer of the device. */
39317
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
39081
39318
  manufacturer?: string | undefined
39082
39319
  /** Image URL for the device. */
39083
39320
  image_url?: string | undefined
@@ -39437,6 +39674,7 @@ export interface Routes {
39437
39674
  _experimental_supported_code_from_access_codes_lengths?:
39438
39675
  | (number[] | undefined)
39439
39676
  | undefined
39677
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
39440
39678
  code_constraints?:
39441
39679
  | (
39442
39680
  | Array<
@@ -44429,7 +44667,15 @@ export interface Routes {
44429
44667
  commonParams: {}
44430
44668
  formData: {}
44431
44669
  jsonResponse: {
44432
- /** */
44670
+ /** Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
44671
+
44672
+ You create each client session with a custom `user_identifier_key`. Normally, the `user_identifier_key` is a user ID that your application provides.
44673
+
44674
+ When calling the Seam API from your backend using an API key, you can pass the `user_identifier_key` as a parameter to limit results to the associated client session. For example, `/devices/list?user_identifier_key=123` only returns devices associated with the client session created with the `user_identifier_key` `123`.
44675
+
44676
+ A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
44677
+
44678
+ See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens). */
44433
44679
  client_session: {
44434
44680
  client_session_id: string
44435
44681
  workspace_id: string
@@ -48637,7 +48883,7 @@ export interface Routes {
48637
48883
  }
48638
48884
  formData: {}
48639
48885
  jsonResponse: {
48640
- /** */
48886
+ /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
48641
48887
  thermostat: {
48642
48888
  /** Unique identifier for the device. */
48643
48889
  device_id: string
@@ -48747,7 +48993,7 @@ export interface Routes {
48747
48993
  status: 'critical' | 'low' | 'good' | 'full'
48748
48994
  }
48749
48995
  | undefined
48750
- /** Manufacturer of the device. */
48996
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
48751
48997
  manufacturer?: string | undefined
48752
48998
  /** Image URL for the device. */
48753
48999
  image_url?: string | undefined
@@ -49107,6 +49353,7 @@ export interface Routes {
49107
49353
  _experimental_supported_code_from_access_codes_lengths?:
49108
49354
  | (number[] | undefined)
49109
49355
  | undefined
49356
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
49110
49357
  code_constraints?:
49111
49358
  | (
49112
49359
  | Array<
@@ -52260,11 +52507,11 @@ export interface Routes {
52260
52507
  jsonBody: {}
52261
52508
  commonParams: {
52262
52509
  customer_ids?: string[] | undefined
52263
- /** ID of the connected account by which to filter. */
52510
+ /** ID of the connected account for which you want to list devices. */
52264
52511
  connected_account_id?: string | undefined
52265
- /** Array of IDs of the connected accounts by which to filter devices. */
52512
+ /** Array of IDs of the connected accounts for which you want to list devices. */
52266
52513
  connected_account_ids?: string[] | undefined
52267
- /** ID of the Connect Webview by which to filter devices. */
52514
+ /** ID of the Connect Webview for which you want to list devices. */
52268
52515
  connect_webview_id?: string | undefined
52269
52516
  /** Device type by which to filter thermostat devices. */
52270
52517
  device_type?:
@@ -52292,15 +52539,15 @@ export interface Routes {
52292
52539
  manufacturer?:
52293
52540
  | ('ecobee' | 'honeywell_resideo' | 'nest' | 'tado' | 'sensi')
52294
52541
  | undefined
52295
- /** Array of device IDs by which to filter devices. */
52542
+ /** Array of device IDs for which you want to list devices. */
52296
52543
  device_ids?: string[] | undefined
52297
52544
  /** Numerical limit on the number of devices to return. */
52298
52545
  limit?: number
52299
- /** Date threshold for devices to return. If specified, returns only devices created before the specified date. */
52546
+ /** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
52300
52547
  created_before?: Date | undefined
52301
- /** Your own internal user ID for the user by which to filter devices. */
52548
+ /** Your own internal user ID for the user for which you want to list devices. */
52302
52549
  user_identifier_key?: string | undefined
52303
- /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs by which you want to filter devices. */
52550
+ /** Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. */
52304
52551
  custom_metadata_has?: Record<string, string | boolean> | undefined
52305
52552
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
52306
52553
  page_cursor?: (string | undefined) | null
@@ -52336,7 +52583,7 @@ export interface Routes {
52336
52583
  | 'can_simulate_disconnection'
52337
52584
  >
52338
52585
  | undefined
52339
- /** */
52586
+ /** ID of the location for which you want to list devices. */
52340
52587
  unstable_location_id?: (string | null) | undefined
52341
52588
  }
52342
52589
  formData: {}
@@ -52450,7 +52697,7 @@ export interface Routes {
52450
52697
  status: 'critical' | 'low' | 'good' | 'full'
52451
52698
  }
52452
52699
  | undefined
52453
- /** Manufacturer of the device. */
52700
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
52454
52701
  manufacturer?: string | undefined
52455
52702
  /** Image URL for the device. */
52456
52703
  image_url?: string | undefined
@@ -52810,6 +53057,7 @@ export interface Routes {
52810
53057
  _experimental_supported_code_from_access_codes_lengths?:
52811
53058
  | (number[] | undefined)
52812
53059
  | undefined
53060
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
52813
53061
  code_constraints?:
52814
53062
  | (
52815
53063
  | Array<
@@ -53437,7 +53685,7 @@ export interface Routes {
53437
53685
  status: 'critical' | 'low' | 'good' | 'full'
53438
53686
  }
53439
53687
  | undefined
53440
- /** Manufacturer of the device. */
53688
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
53441
53689
  manufacturer?: string | undefined
53442
53690
  /** Image URL for the device. */
53443
53691
  image_url?: string | undefined
@@ -53797,6 +54045,7 @@ export interface Routes {
53797
54045
  _experimental_supported_code_from_access_codes_lengths?:
53798
54046
  | (number[] | undefined)
53799
54047
  | undefined
54048
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
53800
54049
  code_constraints?:
53801
54050
  | (
53802
54051
  | Array<
@@ -60332,6 +60581,45 @@ export interface Routes {
60332
60581
  }
60333
60582
  }
60334
60583
  }
60584
+ '/unstable_partner/resources/push': {
60585
+ route: '/unstable_partner/resources/push'
60586
+ method: 'POST'
60587
+ queryParams: {}
60588
+ jsonBody:
60589
+ | Array<{
60590
+ partner_resource_type?: string | undefined
60591
+ partner_resource_key?: string | undefined
60592
+ customer_key?: string | undefined
60593
+ email_address?: string | undefined
60594
+ phone_number?: string | undefined
60595
+ starts_at?: string | undefined
60596
+ ends_at?: string | undefined
60597
+ user_identity_key?: string | undefined
60598
+ location_keys?: string[] | undefined
60599
+ name?: string | undefined
60600
+ description?: string | undefined
60601
+ icon_url?: string | undefined
60602
+ custom_metadata?: Record<string, string> | undefined
60603
+ }>
60604
+ | {
60605
+ partner_resource_type?: string | undefined
60606
+ partner_resource_key?: string | undefined
60607
+ customer_key?: string | undefined
60608
+ email_address?: string | undefined
60609
+ phone_number?: string | undefined
60610
+ starts_at?: string | undefined
60611
+ ends_at?: string | undefined
60612
+ user_identity_key?: string | undefined
60613
+ location_keys?: string[] | undefined
60614
+ name?: string | undefined
60615
+ description?: string | undefined
60616
+ icon_url?: string | undefined
60617
+ custom_metadata?: Record<string, string> | undefined
60618
+ }
60619
+ commonParams: {}
60620
+ formData: {}
60621
+ jsonResponse: {}
60622
+ }
60335
60623
  '/user_identities/add_acs_user': {
60336
60624
  route: '/user_identities/add_acs_user'
60337
60625
  method: 'POST' | 'PUT'
@@ -60365,7 +60653,7 @@ export interface Routes {
60365
60653
  }
60366
60654
  formData: {}
60367
60655
  jsonResponse: {
60368
- /** Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account. */
60656
+ /** Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account. */
60369
60657
  user_identity: {
60370
60658
  /** ID of the user identity. */
60371
60659
  user_identity_id: string
@@ -60528,7 +60816,7 @@ export interface Routes {
60528
60816
  }
60529
60817
  formData: {}
60530
60818
  jsonResponse: {
60531
- /** Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account. */
60819
+ /** Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account. */
60532
60820
  user_identity: {
60533
60821
  /** ID of the user identity. */
60534
60822
  user_identity_id: string
@@ -60709,7 +60997,7 @@ export interface Routes {
60709
60997
  status: 'critical' | 'low' | 'good' | 'full'
60710
60998
  }
60711
60999
  | undefined
60712
- /** Manufacturer of the device. */
61000
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
60713
61001
  manufacturer?: string | undefined
60714
61002
  /** Image URL for the device. */
60715
61003
  image_url?: string | undefined
@@ -61069,6 +61357,7 @@ export interface Routes {
61069
61357
  _experimental_supported_code_from_access_codes_lengths?:
61070
61358
  | (number[] | undefined)
61071
61359
  | undefined
61360
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
61072
61361
  code_constraints?:
61073
61362
  | (
61074
61363
  | Array<
@@ -61698,7 +61987,7 @@ export interface Routes {
61698
61987
  status: 'critical' | 'low' | 'good' | 'full'
61699
61988
  }
61700
61989
  | undefined
61701
- /** Manufacturer of the device. */
61990
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
61702
61991
  manufacturer?: string | undefined
61703
61992
  /** Image URL for the device. */
61704
61993
  image_url?: string | undefined
@@ -62058,6 +62347,7 @@ export interface Routes {
62058
62347
  _experimental_supported_code_from_access_codes_lengths?:
62059
62348
  | (number[] | undefined)
62060
62349
  | undefined
62350
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
62061
62351
  code_constraints?:
62062
62352
  | (
62063
62353
  | Array<
@@ -63156,7 +63446,7 @@ export interface Routes {
63156
63446
  commonParams: {}
63157
63447
  formData: {}
63158
63448
  jsonResponse: {
63159
- /** */
63449
+ /** Represents a Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/latest/core-concepts/workspaces#production-workspaces). */
63160
63450
  workspace: {
63161
63451
  workspace_id: string
63162
63452
  name: string
@@ -63185,7 +63475,7 @@ export interface Routes {
63185
63475
  commonParams: {}
63186
63476
  formData: {}
63187
63477
  jsonResponse: {
63188
- /** */
63478
+ /** Represents a Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/latest/core-concepts/workspaces#production-workspaces). */
63189
63479
  workspace: {
63190
63480
  workspace_id: string
63191
63481
  name: string