Skip to content

Commit 5faea86

Browse files
committed
ci: Generate docs
1 parent 30345bc commit 5faea86

File tree

119 files changed

+770
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+770
-0
lines changed

docs/api/access_codes/create.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2323

2424
**`device_id`** *String* (Required)
2525

26+
````
2627
ID of the device for which you want to create the new access code.
28+
````
2729

2830
---
2931

3032
**`allow_external_modification`** *Boolean*
3133

34+
````
3235
Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`.
36+
````
3337

3438
---
3539

@@ -39,73 +43,97 @@ Indicates whether [external modification](https://docs.seam.co/latest/capability
3943

4044
**`code`** *String*
4145

46+
````
4247
Code to be used for access.
48+
````
4349

4450
---
4551

4652
**`common_code_key`** *String*
4753

54+
````
4855
Key to identify access codes that should have the same code. Any two access codes with the same `common_code_key` are guaranteed to have the same `code`. See also [Creating and Updating Multiple Linked Access Codes](../../capability-guides/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes.md).
56+
````
4957

5058
---
5159

5260
**`ends_at`** *String*
5361

62+
````
5463
Date and time at which the validity of the new access code ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
64+
````
5565

5666
---
5767

5868
**`is_external_modification_allowed`** *Boolean*
5969

70+
````
6071
Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`.
72+
````
6173

6274
---
6375

6476
**`is_offline_access_code`** *Boolean*
6577

78+
````
6679
Indicates whether the access code is an [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes).
80+
````
6781

6882
---
6983

7084
**`is_one_time_use`** *Boolean*
7185

86+
````
7287
Indicates whether the [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) is a single-use access code.
88+
````
7389

7490
---
7591

7692
**`max_time_rounding`** *String*
7793

94+
````
7895
Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.
96+
````
7997

8098
---
8199

82100
**`name`** *String*
83101

102+
````
84103
Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. 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`. 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. 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).
104+
````
85105

86106
---
87107

88108
**`prefer_native_scheduling`** *Boolean*
89109

110+
````
90111
Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`.
112+
````
91113

92114
---
93115

94116
**`preferred_code_length`** *Number*
95117

118+
````
96119
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.
120+
````
97121

98122
---
99123

100124
**`starts_at`** *String*
101125

126+
````
102127
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.
128+
````
103129

104130
---
105131

106132
**`use_backup_access_code_pool`** *Boolean*
107133

134+
````
108135
Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).
136+
````
109137

110138
---
111139

docs/api/access_codes/create_multiple.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
3131

3232
**`device_ids`** *Array* *of UUIDs* (Required)
3333

34+
````
3435
IDs of the devices for which you want to create the new access codes.
36+
````
3537

3638
---
3739

3840
**`allow_external_modification`** *Boolean*
3941

42+
````
4043
Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`.
44+
````
4145

4246
---
4347

@@ -47,73 +51,97 @@ Indicates whether [external modification](https://docs.seam.co/latest/capability
4751

4852
**`behavior_when_code_cannot_be_shared`** *String*
4953

54+
````
5055
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.
56+
````
5157

5258
---
5359

5460
**`code`** *String*
5561

62+
````
5663
Code to be used for access.
64+
````
5765

5866
---
5967

6068
**`ends_at`** *String*
6169

70+
````
6271
Date and time at which the validity of the new access code ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
72+
````
6373

6474
---
6575

6676
**`is_external_modification_allowed`** *Boolean*
6777

78+
````
6879
Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`.
80+
````
6981

7082
---
7183

7284
**`is_offline_access_code`** *Boolean*
7385

86+
````
7487
Indicates whether the access code is an [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes).
88+
````
7589

7690
---
7791

7892
**`is_one_time_use`** *Boolean*
7993

94+
````
8095
Indicates whether the [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) is a single-use access code.
96+
````
8197

8298
---
8399

84100
**`max_time_rounding`** *String*
85101

102+
````
86103
Maximum rounding adjustment. To create a daily-bound [offline access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/offline-access-codes) for devices that support this feature, set this parameter to `1d`.
104+
````
87105

88106
---
89107

90108
**`name`** *String*
91109

110+
````
92111
Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. 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`. 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. 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).
112+
````
93113

94114
---
95115

96116
**`prefer_native_scheduling`** *Boolean*
97117

118+
````
98119
Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`.
120+
````
99121

100122
---
101123

102124
**`preferred_code_length`** *Number*
103125

126+
````
104127
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.
128+
````
105129

106130
---
107131

108132
**`starts_at`** *String*
109133

134+
````
110135
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.
136+
````
111137

112138
---
113139

114140
**`use_backup_access_code_pool`** *Boolean*
115141

142+
````
116143
Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).
144+
````
117145

118146
---
119147

docs/api/access_codes/delete.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2323

2424
**`access_code_id`** *String* (Required)
2525

26+
````
2627
ID of the access code that you want to delete.
28+
````
2729

2830
---
2931

3032
**`device_id`** *String*
3133

34+
````
3235
ID of the device for which you want to delete the access code.
36+
````
3337

3438
---
3539

docs/api/access_codes/generate_code.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2323

2424
**`device_id`** *String* (Required)
2525

26+
````
2627
ID of the device for which you want to generate a code.
28+
````
2729

2830
---
2931

docs/api/access_codes/get.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,25 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2323

2424
**`access_code_id`** *String*
2525

26+
````
2627
ID of the access code that you want to get. You must specify either `access_code_id` or both `device_id` and `code`.
28+
````
2729

2830
---
2931

3032
**`code`** *String*
3133

34+
````
3235
Code of the access code that you want to get. You must specify either `access_code_id` or both `device_id` and `code`.
36+
````
3337

3438
---
3539

3640
**`device_id`** *String*
3741

42+
````
3843
ID of the device containing the access code that you want to get. You must specify either `access_code_id` or both `device_id` and `code`.
44+
````
3945

4046
---
4147

docs/api/access_codes/list.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2525

2626
**`access_code_ids`** *Array* *of UUIDs*
2727

28+
````
2829
IDs of the access codes that you want to retrieve. Specify either `device_id` or `access_code_ids`.
30+
````
2931

3032
---
3133

@@ -35,25 +37,33 @@ IDs of the access codes that you want to retrieve. Specify either `device_id` or
3537

3638
**`device_id`** *String*
3739

40+
````
3841
ID of the device for which you want to list access codes. Specify either `device_id` or `access_code_ids`.
42+
````
3943

4044
---
4145

4246
**`limit`** *Number*
4347

48+
````
4449
Numerical limit on the number of access codes to return.
50+
````
4551

4652
---
4753

4854
**`page_cursor`** *String*
4955

56+
````
5057
Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
58+
````
5159

5260
---
5361

5462
**`user_identifier_key`** *String*
5563

64+
````
5665
Your user ID for the user by which to filter access codes.
66+
````
5767

5868
---
5969

docs/api/access_codes/pull_backup_access_code.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
3131

3232
**`access_code_id`** *String* (Required)
3333

34+
````
3435
ID of the access code for which you want to pull a backup access code.
36+
````
3537

3638
---
3739

docs/api/access_codes/report_device_constraints.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,33 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2525

2626
**`device_id`** *String* (Required)
2727

28+
````
2829
ID of the device for which you want to report constraints.
30+
````
2931

3032
---
3133

3234
**`max_code_length`** *Number*
3335

36+
````
3437
Maximum supported code length as an integer between 4 and 20, inclusive. You can specify either `min_code_length`/`max_code_length` or `supported_code_lengths`.
38+
````
3539

3640
---
3741

3842
**`min_code_length`** *Number*
3943

44+
````
4045
Minimum supported code length as an integer between 4 and 20, inclusive. You can specify either `min_code_length`/`max_code_length` or `supported_code_lengths`.
46+
````
4147

4248
---
4349

4450
**`supported_code_lengths`** *Array* *of Numbers*
4551

52+
````
4653
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`.
54+
````
4755

4856
---
4957

docs/api/access_codes/simulate/create_unmanaged_access_code.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,25 @@ To learn more, see [Authentication](https://docs.seam.co/latest/api/authenticati
2323

2424
**`code`** *String* (Required)
2525

26+
````
2627
Code of the simulated unmanaged access code.
28+
````
2729

2830
---
2931

3032
**`device_id`** *String* (Required)
3133

34+
````
3235
ID of the device for which you want to simulate the creation of an unmanaged access code.
36+
````
3337

3438
---
3539

3640
**`name`** *String* (Required)
3741

42+
````
3843
Name of the simulated unmanaged access code.
44+
````
3945

4046
---
4147

0 commit comments

Comments
 (0)