Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: seamapi/types
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.322.0
Choose a base ref
...
head repository: seamapi/types
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.322.3
Choose a head ref
  • 6 commits
  • 7 files changed
  • 1 contributor

Commits on Jan 3, 2025

  1. fix: thermostat_schedule errors type (#1414)

    seambot authored Jan 3, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    582828a View commit details
  2. 1.322.1

    seambot committed Jan 3, 2025
    Copy the full SHA
    84f58c1 View commit details
  3. fix: Undeprecate connected_account_id on acs events (#1415)

    seambot authored Jan 3, 2025
    Copy the full SHA
    f3d1ce5 View commit details
  4. 1.322.2

    seambot committed Jan 3, 2025
    Copy the full SHA
    31c7891 View commit details
  5. fix: Remove assa_abloy_vostio_credential_service (#1417)

    seambot authored Jan 3, 2025
    Copy the full SHA
    713a934 View commit details
  6. 1.322.3

    seambot committed Jan 3, 2025
    Copy the full SHA
    7af7701 View commit details
4 changes: 2 additions & 2 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
@@ -1,6 +1,6 @@
{
"name": "@seamapi/types",
"version": "1.322.0",
"version": "1.322.3",
"description": "TypeScript types for the Seam API.",
"type": "module",
"main": "index.js",
1 change: 0 additions & 1 deletion src/lib/seam/connect/models/devices/device-provider.ts
Original file line number Diff line number Diff line change
@@ -113,7 +113,6 @@ export const PROVIDER_CATEGORY_MAP = {
'latch',
'salto_ks',
'assa_abloy_vostio',
'assa_abloy_vostio_credential_service',
'salto_space',
'assa_abloy_vostio',
],
1 change: 0 additions & 1 deletion src/lib/seam/connect/models/events/acs/common.ts
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@ export const common_acs_event = common_event.extend({
connected_account_id: z.string().uuid().optional().describe(`
---
title: Connected Account ID
deprecated: Will be removed.
---
ID of the connected account.
`),
Original file line number Diff line number Diff line change
@@ -53,7 +53,12 @@ export const thermostat_schedule = z
.datetime()
.describe('Date and time at which the thermostat schedule was created.'),
errors: z
.any()
.array(
z.object({
error_code: z.string(),
message: z.string(),
}),
)
.describe(
'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.',
),
36 changes: 20 additions & 16 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
@@ -5319,6 +5319,15 @@ export default {
errors: {
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.',
items: {
properties: {
error_code: { type: 'string' },
message: { type: 'string' },
},
required: ['error_code', 'message'],
type: 'object',
},
type: 'array',
},
max_override_period_minutes: {
description:
@@ -5357,6 +5366,7 @@ export default {
'starts_at',
'ends_at',
'created_at',
'errors',
],
type: 'object',
},
@@ -6920,11 +6930,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -6970,11 +6978,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -7020,11 +7026,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -7071,11 +7075,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -7123,11 +7125,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -7175,11 +7175,9 @@ export default {
},
acs_user_id: { format: 'uuid', type: 'string' },
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -7231,11 +7229,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -7287,11 +7283,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
@@ -10161,6 +10155,15 @@ export default {
errors: {
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.',
items: {
properties: {
error_code: { type: 'string' },
message: { type: 'string' },
},
required: ['error_code', 'message'],
type: 'object',
},
type: 'array',
},
max_override_period_minutes: {
description:
@@ -10199,6 +10202,7 @@ export default {
'starts_at',
'ends_at',
'created_at',
'errors',
],
type: 'object',
},
Loading