Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(deps-dev): bump @seamapi/types from 1.294.1 to 1.302.0 in the seam group #134

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@seamapi/types": "1.294.1",
"@seamapi/types": "1.302.0",
"@types/node": "^20.8.10",
"ava": "^6.0.1",
"c8": "^10.1.2",
Expand Down
137 changes: 130 additions & 7 deletions test/snapshots/seam-blueprint.test.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ Generated by [AVA](https://avajs.dev).
},
{
deprecationMessage: '',
description: '',
description: 'Errors associated with the `acs_credential`.',
draftMessage: '',
format: 'list',
isDeprecated: false,
Expand Down Expand Up @@ -883,7 +883,7 @@ Generated by [AVA](https://avajs.dev).
},
{
deprecationMessage: '',
description: '',
description: 'Warnings associated with the `acs_credential`.',
draftMessage: '',
format: 'list',
isDeprecated: false,
Expand Down Expand Up @@ -3302,6 +3302,9 @@ Generated by [AVA](https://avajs.dev).
{
name: 'salto',
},
{
name: 'salto_ks',
},
{
name: 'lockly',
},
Expand Down Expand Up @@ -8086,6 +8089,99 @@ Generated by [AVA](https://avajs.dev).
title: 'Create a Credential for an ACS User',
undocumentedMessage: '',
},
{
codeSamples: [],
deprecationMessage: '',
description: 'Creates a new offline [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) for a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
draftMessage: '',
isDeprecated: false,
isDraft: false,
isUndocumented: true,
name: 'create_offline_code',
path: '/acs/credentials/create_offline_code',
request: {
methods: [
'POST',
],
parameters: [
{
deprecationMessage: '',
description: 'ID of the ACS user to whom the new credential belongs.',
draftMessage: '',
format: 'id',
isDeprecated: false,
isDraft: false,
isRequired: true,
isUndocumented: false,
jsonType: 'string',
name: 'acs_user_id',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: '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.',
draftMessage: '',
format: 'id',
isDeprecated: false,
isDraft: false,
isRequired: false,
isUndocumented: false,
jsonType: 'string',
name: 'allowed_acs_entrance_id',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Date and time at which the validity of the new 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 `starts_at`.',
draftMessage: '',
format: 'datetime',
isDeprecated: false,
isDraft: false,
isRequired: false,
isUndocumented: false,
jsonType: 'string',
name: 'ends_at',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Indicates whether the code is one-time-use or reusable.',
draftMessage: '',
format: 'boolean',
isDeprecated: false,
isDraft: false,
isRequired: false,
isUndocumented: false,
jsonType: 'boolean',
name: 'is_one_time_use',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Date and time at which the validity of the new credential starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
draftMessage: '',
format: 'datetime',
isDeprecated: false,
isDraft: false,
isRequired: false,
isUndocumented: false,
jsonType: 'string',
name: 'starts_at',
undocumentedMessage: '',
},
],
preferredMethod: 'POST',
semanticMethod: 'POST',
},
response: {
description: 'OK',
resourceType: 'acs_credential',
responseKey: 'acs_credential',
responseType: 'resource',
},
title: 'Create an Offline Credential for an ACS User',
undocumentedMessage: 'Unreleased.',
},
{
codeSamples: [],
deprecationMessage: '',
Expand Down Expand Up @@ -9040,7 +9136,7 @@ Generated by [AVA](https://avajs.dev).
parameters: [
{
deprecationMessage: '',
description: '`starts_at` and `ends_at` timestamps for the new `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`. Only applicable to Salto KS access control systems.',
description: '`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`.',
draftMessage: '',
format: 'object',
isDeprecated: false,
Expand Down Expand Up @@ -9597,7 +9693,7 @@ Generated by [AVA](https://avajs.dev).
parameters: [
{
deprecationMessage: '',
description: '`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`. Only applicable to Salto KS access control systems.',
description: '`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`.',
draftMessage: '',
format: 'object',
isDeprecated: false,
Expand Down Expand Up @@ -11032,12 +11128,12 @@ Generated by [AVA](https://avajs.dev).
endpoints: [
{
codeSamples: [],
deprecationMessage: '',
deprecationMessage: 'Deleting a device is no longer supported and will be removed.',
description: '',
draftMessage: '',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
isUndocumented: true,
name: 'delete',
path: '/devices/delete',
request: {
Expand Down Expand Up @@ -11067,7 +11163,7 @@ Generated by [AVA](https://avajs.dev).
responseType: 'void',
},
title: '',
undocumentedMessage: '',
undocumentedMessage: 'Deleting a device is no longer supported and will be removed.',
},
{
codeSamples: [],
Expand Down Expand Up @@ -15387,6 +15483,33 @@ Generated by [AVA](https://avajs.dev).
title: 'Set the Fan Mode Setting',
undocumentedMessage: '',
},
{
codeSamples: [],
deprecationMessage: '',
description: 'Sets the [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
draftMessage: '',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
name: 'set_hvac_mode',
path: '/thermostats/set_hvac_mode',
request: {
methods: [
'POST',
],
parameters: [],
preferredMethod: 'POST',
semanticMethod: 'POST',
},
response: {
description: 'OK',
resourceType: 'action_attempt',
responseKey: 'action_attempt',
responseType: 'resource',
},
title: 'Set the HVAC Mode',
undocumentedMessage: '',
},
{
codeSamples: [],
deprecationMessage: '',
Expand Down
Binary file modified test/snapshots/seam-blueprint.test.ts.snap
Binary file not shown.