Skip to content

Commit 1214550

Browse files
mikewuuseambot
andauthored
fix: missing deprecation warning for request parameters (#946)
* fix: add missing request param deprecated warnings * ci: Generate docs --------- Co-authored-by: Seam Bot <[email protected]>
1 parent 04bf6d2 commit 1214550

File tree

21 files changed

+100
-0
lines changed

21 files changed

+100
-0
lines changed

codegen/layouts/api-endpoint.hbs

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

4343
{{this.description}}
4444
{{/if}}
45+
{{#if this.isDeprecated}}
46+
47+
{{> deprecated-warning}}
48+
{{/if}}
4549
{{#if this.itemEnumValues}}
4650
<details>
4751

docs/api/access_codes/create.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,10 @@ Indicates whether to use a [backup access code pool](https://docs.seam.co/latest
375375

376376
**`use_offline_access_code`** *Boolean*
377377

378+
{% hint style="warning" %}
379+
**Deprecated**. Use `is_offline_access_code` instead.
380+
{% endhint %}
381+
378382
---
379383

380384

docs/api/access_codes/create_multiple.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,10 @@ Indicates whether to use a [backup access code pool](https://docs.seam.co/latest
434434

435435
**`use_offline_access_code`** *Boolean*
436436

437+
{% hint style="warning" %}
438+
**Deprecated**. Use `is_offline_access_code` instead.
439+
{% endhint %}
440+
437441
---
438442

439443

docs/api/access_codes/update.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ Indicates whether to use a [backup access code pool](https://docs.seam.co/latest
270270

271271
**`use_offline_access_code`** *Boolean*
272272

273+
{% hint style="warning" %}
274+
**Deprecated**. Use `is_offline_access_code` instead.
275+
{% endhint %}
276+
273277
---
274278

275279

docs/api/access_grants/create.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,10 @@ Name of the location.
537537

538538
**`location_ids`** *Array* *of UUIDs*
539539

540+
{% hint style="warning" %}
541+
**Deprecated**. Use `space_ids`.
542+
{% endhint %}
543+
540544
---
541545

542546
**`name`** *String*

docs/api/access_grants/list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ Customer key for which you want to list access grants.
453453

454454
**`location_id`** *String*
455455

456+
{% hint style="warning" %}
457+
**Deprecated**. Use `space_id`.
458+
{% endhint %}
459+
456460
---
457461

458462
**`reservation_key`** *String*

docs/api/acs/entrances/list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ Maximum number of records to return per page.
292292

293293
**`location_id`** *String*
294294

295+
{% hint style="warning" %}
296+
**Deprecated**. Use `space_id`.
297+
{% endhint %}
298+
295299
---
296300

297301
**`page_cursor`** *String*

docs/api/acs/users/create.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,10 @@ Array of access group IDs to indicate the access groups to which you want to add
397397

398398
**`email`** *String*
399399

400+
{% hint style="warning" %}
401+
**Deprecated**. use email_address.
402+
{% endhint %}
403+
400404
---
401405

402406
**`email_address`** *String*

docs/api/acs/users/update.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ ID of the access system user that you want to update. You can only provide acs_u
231231

232232
**`email`** *String*
233233

234+
{% hint style="warning" %}
235+
**Deprecated**. use email_address.
236+
{% endhint %}
237+
234238
---
235239

236240
**`email_address`** *String*

docs/api/client_sessions/create.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ ID of the [user identity](../../capability-guides/mobile-access/managing-mobile-
294294

295295
IDs of the [user identities](../../capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities.md#what-is-a-user-identity) that you want to associate with the client session.
296296

297+
{% hint style="warning" %}
298+
**Deprecated**. Use `user_identity_id` instead.
299+
{% endhint %}
300+
297301
---
298302

299303

0 commit comments

Comments
 (0)