Skip to content

Commit d6645bf

Browse files
razor-xseambot
andauthored
Update to @seamapi/types 1.429.0 (#694)
* Update to "@seamapi/types": "1.428.0" * Fix lockfile * Run npm update * Update to 1.429.0 * Add new prop * Update types and blueprint * Add missing connected_account_id * Add missing connected_account_id * ci: Generate docs * ci: Generate docs --------- Co-authored-by: Seam Bot <[email protected]>
1 parent d2b3f5a commit d6645bf

File tree

24 files changed

+1990
-1470
lines changed

24 files changed

+1990
-1470
lines changed

docs/api/_blueprint.json

Lines changed: 1176 additions & 678 deletions
Large diffs are not rendered by default.

docs/api/_report.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ These items are intentionally undocumented.
3434
- `/networks`: No undocumented message provided
3535
- `/seam/bridge/v1/bridge_client_sessions`: No undocumented message provided
3636
- `/seam/bridge/v1/bridge_connected_systems`: No undocumented message provided
37+
- `/seam/customer/v1/automation_runs`: No undocumented message provided
38+
- `/seam/customer/v1/automations`: No undocumented message provided
3739
- `/seam/customer/v1/portals`: No undocumented message provided
3840
- `/seam/customer/v1/settings`: No undocumented message provided
3941
- `/seam/instant_key/v1/client_sessions`: No undocumented message provided
@@ -100,6 +102,10 @@ These items are intentionally undocumented.
100102
- `/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code`: Seam Bridge Client only.
101103
- `/seam/bridge/v1/bridge_client_sessions/report_status`: Seam Bridge Client only.
102104
- `/seam/bridge/v1/bridge_connected_systems/list`: Seam Bridge Client only.
105+
- `/seam/customer/v1/automation_runs/list`: Internal endpoint for customer portals.
106+
- `/seam/customer/v1/automations/delete`: Internal endpoint for customer portals.
107+
- `/seam/customer/v1/automations/get`: Internal endpoint for customer portals.
108+
- `/seam/customer/v1/automations/update`: Internal endpoint for customer portals.
103109
- `/seam/customer/v1/portals/get`: Internal endpoint for customer portals.
104110
- `/seam/customer/v1/settings/update`: Internal endpoint for customer portals.
105111
- `/seam/instant_key/v1/client_sessions/exchange_short_code`: Seam Instant Key only.
@@ -240,6 +246,7 @@ Items that are intentionally undocumented are not included in this section.
240246
- `device.can_simulate_disconnection`
241247
- `device.can_simulate_removal`
242248
- `device.can_turn_off_hvac`
249+
- `device.can_unlock_with_code`
243250
- `device_provider.can_hvac_cool`
244251
- `device_provider.can_hvac_heat`
245252
- `device_provider.can_hvac_heat_cool`
@@ -251,6 +258,7 @@ Items that are intentionally undocumented are not included in this section.
251258
- `device_provider.can_simulate_disconnection`
252259
- `device_provider.can_simulate_removal`
253260
- `device_provider.can_turn_off_hvac`
261+
- `device_provider.can_unlock_with_code`
254262
- `device_provider.device_provider_name`
255263
- `device_provider.display_name`
256264
- `device_provider.image_url`
@@ -276,6 +284,7 @@ Items that are intentionally undocumented are not included in this section.
276284
- `unmanaged_device.can_simulate_disconnection`
277285
- `unmanaged_device.can_simulate_removal`
278286
- `unmanaged_device.can_turn_off_hvac`
287+
- `unmanaged_device.can_unlock_with_code`
279288
- `unmanaged_device.is_managed`
280289
- `user_identity.display_name`
281290
- `user_identity.full_name`
@@ -409,7 +418,6 @@ These items have been marked as draft.
409418
### Routes
410419

411420
- `/access_grants`: No draft message provided
412-
- `/access_methods`: No draft message provided
413421
- `/spaces`: No draft message provided
414422

415423
### Endpoints
@@ -461,6 +469,12 @@ These items are deprecated.
461469

462470
### Endpoint parameters
463471

472+
- `/access_codes/create`
473+
- `use_offline_access_code`: Use `is_offline_access_code` instead.
474+
- `/access_codes/create_multiple`
475+
- `use_offline_access_code`: Use `is_offline_access_code` instead.
476+
- `/access_codes/update`
477+
- `use_offline_access_code`: Use `is_offline_access_code` instead.
464478
- `/access_grants/create`
465479
- `location_ids`: Use `space_ids`.
466480
- `/access_grants/list`
@@ -530,11 +544,13 @@ These items are deprecated.
530544
- `/bridges/list`: `bridges`
531545
- `/networks/get`: `network`
532546
- `/networks/list`: `networks`
547+
- `/seam/customer/v1/automation_runs/list`: `automation_runs`
533548
- `/seam/customer/v1/portals/get`: `customer_portal`
534549
- `/seam/partner/v1/building_blocks/spaces/auto_map`: `spaces`
535550

536551
### Endpoints without code samples
537552

553+
- `/access_methods/encode`
538554
- `/customers/create_portal`
539555
- `/customers/push_data`
540556
- `/locks/get`

docs/api/_summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
* [Update a Credential](api/acs/credentials/update.md)
4949
* [Encoders](api/acs/encoders/README.md)
5050
* [Encode a Credential](api/acs/encoders/encode_credential.md)
51-
* [Encode an Access Method](api/acs/encoders/encode_access_method.md)
5251
* [Get an Encoder](api/acs/encoders/get.md)
5352
* [List Encoders](api/acs/encoders/list.md)
5453
* [Scan a Credential](api/acs/encoders/scan_credential.md)
@@ -74,6 +73,7 @@
7473
* [Update an Access Grant](api/access_grants/update.md)
7574
* [Access Methods](api/access_methods/README.md)
7675
* [Delete an Access Method](api/access_methods/delete.md)
76+
* [Encode an Access Method](api/access_methods/encode.md)
7777
* [Get an Access Method](api/access_methods/get.md)
7878
* [List Access Methods](api/access_methods/list.md)
7979
* [Connected Accounts](api/connected_accounts/README.md)

docs/api/access_grants/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@ Date and time at which the access grant ends.
110110

111111

112112

113+
---
114+
115+
**`instant_key_url`** *String*
116+
117+
Instant Key URL. Only returned if the access grant has a single mobile_key access_method.
118+
119+
120+
121+
113122
---
114123

115124
**`location_ids`** *List* *of UUIDs*

docs/api/access_methods/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ URL of the Instant Key for mobile key access methods.
103103

104104
---
105105

106-
**`is_card_encoding_required`** *Boolean*
106+
**`is_encoding_required`** *Boolean*
107107

108-
Indicates whether card encoding is required for plastic card access methods.
108+
Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.
109109

110110

111111

@@ -332,6 +332,11 @@ An access method was reissued due to an access grant update.
332332
Delete an access method.
333333

334334

335+
[**`/access_methods/encode`**](./encode.md)
336+
337+
Encodes an existing [credential](../../capability-guides/access-systems/managing-credentials.md) onto a plastic card placed on the specified [encoder](../../capability-guides/access-systems/working-with-card-encoders-and-scanners/README.md).
338+
339+
335340
[**`/access_methods/get`**](./get.md)
336341

337342
Get an access method.

docs/api/access_methods/encode.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Encode an Access Method
2+
{% hint style="info" %}
3+
**Early Access Preview.** The access methods API is currently in Alpha. We're actively developing it and seeking early feedback at [[email protected]](mailto:[email protected]). Expect breaking changes as we refine the design.
4+
{% endhint %}
5+
6+
- [Request Parameters](#request-parameters)
7+
- [Response](#response)
8+
9+
Encodes an existing [credential](../../capability-guides/access-systems/managing-credentials.md) onto a plastic card placed on the specified [encoder](../../capability-guides/access-systems/working-with-card-encoders-and-scanners/README.md).
10+
11+
12+
<details>
13+
14+
<summary>Authentication Methods</summary>
15+
16+
- API key
17+
- Personal access token
18+
<br>Must also include the `seam-workspace` header in the request.
19+
20+
To learn more, see [Authentication](https://docs.seam.co/latest/api/authentication).
21+
</details>
22+
23+
## Request Parameters
24+
25+
**`access_method_id`** *String* (Required)
26+
27+
ID of the `access_method` to encode onto a card.
28+
29+
---
30+
31+
**`acs_encoder_id`** *String* (Required)
32+
33+
ID of the `acs_encoder` to use to encode the `acs_credential`.
34+
35+
---
36+
37+
38+
## Response
39+
40+
[action\_attempt](./)
41+
42+
43+
{% tabs %}
44+
{% tab title="JSON" %}
45+
46+
47+
48+
```json
49+
{
50+
"action_attempt_id": "1b4e28ba-2fa1-11d2-883f-0016d3cca427",
51+
"action_type": "ENCODE_CREDENTIAL",
52+
"error": null,
53+
"result": {
54+
"access_method": "card",
55+
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
56+
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
57+
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
58+
"card_number": "164d29dc4a09b65f",
59+
"created_at": "2025-06-16T16:54:17.946514Z",
60+
"display_name": "Guest Lock 1, Vingcard Lock 2",
61+
"ends_at": "2025-07-12T16:54:17.946512Z",
62+
"errors": [],
63+
"external_type": "visionline_card",
64+
"external_type_display_name": "Visionline Card",
65+
"is_issued": true,
66+
"is_latest_desired_state_synced_with_provider": true,
67+
"is_managed": true,
68+
"is_multi_phone_sync_credential": false,
69+
"issued_at": "2025-06-16T16:54:17.946512Z",
70+
"latest_desired_state_synced_with_provider_at": "2025-06-18T16:54:17.946514Z",
71+
"starts_at": "2025-07-10T16:54:17.946512Z",
72+
"visionline_metadata": {
73+
"card_function_type": "guest",
74+
"card_id": "5",
75+
"common_acs_entrance_ids": ["5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f"],
76+
"credential_id": "15",
77+
"guest_acs_entrance_ids": ["a1b2c3d4-e5f6-4a3b-2c1d-0e9f8a7b6c5d"],
78+
"is_valid": true
79+
},
80+
"warnings": [],
81+
"workspace_id": "005f1e54-5360-40db-8c31-4ef6baaad1fd"
82+
},
83+
"status": "success"
84+
}
85+
```
86+
{% endtab %}
87+
{% endtabs %}

docs/api/acs/README.md

Lines changed: 22 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,86 +6,75 @@ description: Systems for managing and monitoring access to physical spaces
66

77
Access control systems centralize access authorization for buildings, which means that you can use a single system to grant users access to one or more entrances. An access control system manages the following elements:
88

9-
* Who has access
10-
* The entrances to which users have access
11-
* The access schedule for each user and entrance
12-
* The access mechanism—PIN codes, mobile keys, or plastic cards—for each access grant
9+
- Who has access
10+
- The entrances to which users have access
11+
- The access schedule for each user and entrance
12+
- The access mechanism—PIN codes, mobile keys, or plastic cards—for each access grant
1313

1414
To grant access using the Seam access control system API, use the following basic process:
1515

1616
1. Create `acs_user`s.
17-
2. Configure access for these users.\
17+
2. Configure access for these users.
1818
For some access control systems, configure the allowed entrances and access schedule. For other systems, use `acs_access_group`s. For details, see the [system integration guide](../../device-and-system-integration-guides/overview.md#access-control-systems) for your access control system.
19-
3. Create `acs_credential`s, which are the digital means of granting access to users, such as PIN codes, mobile keys, and plastic (RFID) cards.\
20-
If you are developing a mobile app to provide access for your users, you can also use [Seam's iOS and Android SDKs](../../capability-guides/mobile-access/mobile-device-sdks/) that pair with the Seam API to create and manage mobile keys.
19+
3. Create `acs_credential`s, which are the digital means of granting access to users, such as PIN codes, mobile keys, and plastic (RFID) cards.
20+
If you are developing a mobile app to provide access for your users, you can also use [Seam's iOS and Android SDKs](../../capability-guides/mobile-access/mobile-device-sdks/README.md) that pair with the Seam API to create and manage mobile keys.
2121

2222
## Resources
2323

2424
The Access Control Systems (ACS) namespace contains the following resources:
2525

26-
### [`acs_access_group`](access_groups/#acs_access_group)
27-
26+
### [`acs_access_group`](./access_groups/README.md#acs_access_group)
2827
Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
2928

3029
Some access control systems use [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.
3130

3231
To learn whether your access control system supports access groups, see the corresponding [system integration guide](../../device-and-system-integration-guides/overview.md#access-control-systems).
3332

34-
***
35-
36-
### [`acs_credential`](credentials/#acs_credential)
37-
33+
---
34+
### [`acs_credential`](./credentials/README.md#acs_credential)
3835
Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](../../capability-guides/access-systems/retrieving-entrance-details.md). The `acs_credential` object represents a [credential](../../capability-guides/access-systems/managing-credentials.md) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
3936

4037
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
4138

4239
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
4340

44-
***
45-
46-
### [`acs_encoder`](encoders/#acs_encoder)
47-
41+
---
42+
### [`acs_encoder`](./encoders/README.md#acs_encoder)
4843
Represents a hardware device that encodes [credential](../../capability-guides/access-systems/managing-credentials.md) data onto physical cards within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
4944

5045
Some access control systems require credentials to be encoded onto plastic key cards using a card encoder. This process involves the following two key steps:
5146

52-
1. Credential creation\
47+
1. Credential creation
5348
Configure the access parameters for the credential.
54-
2. Card encoding\
49+
2. Card encoding
5550
Write the credential data onto the card using a compatible card encoder.
5651

5752
Separately, the Seam API also supports card scanning, which enables you to scan and read the encoded data on a card. You can use this action to confirm consistency with access control system records or diagnose discrepancies if needed.
5853

59-
See [Working with Card Encoders and Scanners](../../capability-guides/access-systems/working-with-card-encoders-and-scanners/).
54+
See [Working with Card Encoders and Scanners](../../capability-guides/access-systems/working-with-card-encoders-and-scanners/README.md).
6055

6156
To verify if your access control system requires a card encoder, see the corresponding [system integration guide](../../device-and-system-integration-guides/overview.md#access-control-systems).
6257

63-
***
64-
65-
### [`acs_entrance`](entrances/#acs_entrance)
66-
58+
---
59+
### [`acs_entrance`](./entrances/README.md#acs_entrance)
6760
Represents an [entrance](../../capability-guides/access-systems/retrieving-entrance-details.md) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
6861

6962
In an access control system, an entrance is a secured door, gate, zone, or other method of entry. You can list details for all the `acs_entrance` resources in your workspace or get these details for a specific `acs_entrance`. You can also list all entrances associated with a specific credential, and you can list all credentials associated with a specific entrance.
7063

71-
***
72-
73-
### [`acs_system`](systems/#acs_system)
74-
64+
---
65+
### [`acs_system`](./systems/README.md#acs_system)
7566
Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
7667

7768
Within an `acs_system`, create [`acs_user`s](https://docs.seam.co/latest/api/acs/users#acs_user) and [`acs_credential`s](https://docs.seam.co/latest/api/acs/credentials#acs_credential) to grant access to the `acs_user`s.
7869

7970
For details about the resources associated with an access control system, see the [access control systems namespace](https://docs.seam.co/latest/api/acs).
8071

81-
***
82-
83-
### [`acs_user`](users/#acs_user)
84-
72+
---
73+
### [`acs_user`](./users/README.md#acs_user)
8574
Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access system](https://docs.seam.co/latest/capability-guides/access-systems).
8675

8776
An access system user typically refers to an individual who requires access, like an employee or resident. Each user can possess multiple credentials that serve as their keys or identifiers for access. The type of credential can vary widely. For example, in the Salto system, a user can have a PIN code, a mobile app account, and a fob. In other platforms, it is not uncommon for a user to have more than one of the same credential type, such as multiple key cards. Additionally, these credentials can have a schedule or validity period.
8877

8978
For details about how to configure users in your access system, see the corresponding [system integration guide](../../device-and-system-integration-guides/overview.md#access-control-systems).
9079

91-
***
80+
---

docs/api/acs/credentials/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ An access system card credential resource.
2626
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
2727
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
2828
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
29+
"connected_account_id": "daba7bd0-edb6-4bb9-a70b-f9ae08a0e301",
2930
"card_number": "164d29dc4a09b65f",
3031
"created_at": "2025-06-16T16:54:17.946514Z",
3132
"display_name": "Guest Lock 1, Vingcard Lock 2",
@@ -63,6 +64,7 @@ An access system mobile key credential resource.
6364
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
6465
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
6566
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
67+
"connected_account_id": "1b9a3e0d-443f-4063-b619-4ca7e2a97751",
6668
"created_at": "2025-06-16T16:54:17.946514Z",
6769
"display_name": "Front Door",
6870
"errors": [],
@@ -84,6 +86,7 @@ An access system PIN code credential resource.
8486
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
8587
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
8688
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
89+
"connected_account_id": "1b9a3e0d-443f-4063-b619-4ca7e2a97751",
8790
"code": "123456",
8891
"created_at": "2025-06-16T16:54:17.946514Z",
8992
"display_name": "FRONT_DOOR",
@@ -210,6 +213,15 @@ Access (PIN) code for the [credential](../../../capability-guides/access-systems
210213

211214

212215

216+
---
217+
218+
**`connected_account_id`** *UUID*
219+
220+
ID of the [connected account](../../../capability-guides/access-systems/managing-credentials.md#connected-accounts) to which the [credential](../../../capability-guides/access-systems/managing-credentials.md) belongs.
221+
222+
223+
224+
213225
---
214226

215227
**`created_at`** *Datetime*

docs/api/acs/credentials/create.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ Enum values:
534534
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
535535
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
536536
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
537+
"connected_account_id": "daba7bd0-edb6-4bb9-a70b-f9ae08a0e301",
537538
"card_number": "164d29dc4a09b65f",
538539
"created_at": "2025-06-16T16:54:17.946514Z",
539540
"display_name": "Guest Lock 1, Vingcard Lock 2",

docs/api/acs/credentials/get.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ ID of the credential that you want to get.
277277
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
278278
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
279279
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
280+
"connected_account_id": "daba7bd0-edb6-4bb9-a70b-f9ae08a0e301",
280281
"card_number": "164d29dc4a09b65f",
281282
"created_at": "2025-06-16T16:54:17.946514Z",
282283
"display_name": "Guest Lock 1, Vingcard Lock 2",

docs/api/acs/credentials/list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ Array of [acs\_credentials](./)
311311
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
312312
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
313313
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
314+
"connected_account_id": "daba7bd0-edb6-4bb9-a70b-f9ae08a0e301",
314315
"card_number": "164d29dc4a09b65f",
315316
"created_at": "2025-06-16T16:54:17.946514Z",
316317
"display_name": "Guest Lock 1, Vingcard Lock 2",

0 commit comments

Comments
 (0)