Skip to content

Commit

Permalink
ci: Generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Jan 6, 2025
1 parent bd3508a commit 1221476
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 16 deletions.
206 changes: 190 additions & 16 deletions test/snapshots/seam-blueprint.test.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2052,11 +2052,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -2156,11 +2156,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -2260,11 +2260,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -2376,11 +2376,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -2492,11 +2492,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -2608,11 +2608,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -2724,11 +2724,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -2840,11 +2840,11 @@ Generated by [AVA](https://avajs.dev).
undocumentedMessage: '',
},
{
deprecationMessage: 'Will be removed.',
deprecationMessage: '',
description: 'ID of the connected account.',
draftMessage: '',
format: 'id',
isDeprecated: true,
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
Expand Down Expand Up @@ -12453,6 +12453,139 @@ Generated by [AVA](https://avajs.dev).
routePath: '',
undocumentedMessage: '',
},
thermostat_schedule: {
deprecationMessage: '',
description: 'Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.',
draftMessage: '',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
properties: [
{
deprecationMessage: '',
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
draftMessage: '',
format: 'string',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
name: 'climate_preset_key',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Date and time at which the thermostat schedule was created.',
draftMessage: '',
format: 'datetime',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
name: 'created_at',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'ID of the desired thermostat device.',
draftMessage: '',
format: 'id',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
name: 'device_id',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
draftMessage: '',
format: 'datetime',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
name: 'ends_at',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
draftMessage: '',
format: 'list',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'array',
name: 'errors',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Number of minutes for which a person at the thermostat can change the thermostat\'s settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).',
draftMessage: '',
format: 'number',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'number',
name: 'max_override_period_minutes',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'User-friendly name to identify the thermostat schedule.',
draftMessage: '',
format: 'string',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
name: 'name',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
draftMessage: '',
format: 'datetime',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
name: 'starts_at',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'ID of the thermostat schedule.',
draftMessage: '',
format: 'id',
isDeprecated: false,
isDraft: false,
isUndocumented: false,
jsonType: 'string',
name: 'thermostat_schedule_id',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Indicates whether a person at the thermostat can change the thermostat\'s settings.',
draftMessage: '',
format: 'boolean',
isDeprecated: false,
isDraft: false,
isUndocumented: true,
jsonType: 'boolean',
name: 'unstable_is_override_allowed',
undocumentedMessage: 'Unstable',
},
],
resourceType: 'thermostat_schedule',
routePath: '',
undocumentedMessage: '',
},
unmanaged_access_code: {
deprecationMessage: '',
description: '',
Expand Down Expand Up @@ -15453,6 +15586,47 @@ Generated by [AVA](https://avajs.dev).
name: 'is_multi_phone_sync_credential',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: 'Salto Space-specific metadata for the new credential.',
draftMessage: '',
format: 'object',
isDeprecated: false,
isDraft: false,
isRequired: false,
isUndocumented: false,
jsonType: 'object',
name: 'salto_space_metadata',
parameters: [
{
deprecationMessage: '',
description: '',
draftMessage: '',
format: 'boolean',
isDeprecated: false,
isDraft: false,
isRequired: false,
isUndocumented: false,
jsonType: 'boolean',
name: 'assign_new_key',
undocumentedMessage: '',
},
{
deprecationMessage: '',
description: '',
draftMessage: '',
format: 'boolean',
isDeprecated: false,
isDraft: false,
isRequired: false,
isUndocumented: false,
jsonType: 'boolean',
name: 'update_current_key',
undocumentedMessage: '',
},
],
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.',
Expand Down
Binary file modified test/snapshots/seam-blueprint.test.ts.snap
Binary file not shown.

0 comments on commit 1221476

Please sign in to comment.