From 86b506a180b922a31a92703fcd39d5251c742e86 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 06:34:00 +0000 Subject: [PATCH 1/2] feat(deps-dev): Bump @seamapi/types Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.1086.0 to 1.1096.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.1086.0...v1.1096.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.1096.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 77f06a2a..1bcb3d06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@seamapi/blueprint": "^1.10.0", "@seamapi/fake-seam-connect": "^2.0.4", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1086.0", + "@seamapi/types": "1.1096.0", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", "ava": "^8.0.1", @@ -1133,9 +1133,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1086.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1086.0.tgz", - "integrity": "sha512-QlrUQhOjbhtTQKkk36osoTmx1ypWGZJuEEKhbYII7buWD2r9AKrDpeOXSqKnFXREAnYguAffeFlv6V7qVjxzvw==", + "version": "1.1096.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1096.0.tgz", + "integrity": "sha512-JMfk6KOq/U7l3InqXZRKLDrZ+OM/5Vfc+kaeZfkWwXPchBKn7nKBiJgEHQJ6V1BIycelFX+qsUXDju3XHoVN+g==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 03297815..d3f9b8ec 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@seamapi/blueprint": "^1.10.0", "@seamapi/fake-seam-connect": "^2.0.4", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1086.0", + "@seamapi/types": "1.1096.0", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", "ava": "^8.0.1", From cbda706eba763628cb0bbb03719d76566e673fa5 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 5 Oct 2026 06:34:37 +0000 Subject: [PATCH 2/2] ci: Generate code --- src/lib/resources/access-code.ts | 2 +- src/lib/resources/acs-system.ts | 2 +- src/lib/resources/device-provider.ts | 1 + src/lib/resources/device.ts | 22 ++++++++++++- src/lib/resources/media.ts | 4 +++ src/lib/resources/unmanaged-access-code.ts | 2 +- src/lib/resources/unmanaged-device.ts | 3 +- .../routes/client-sessions/client-sessions.ts | 4 +-- .../connect-webviews/connect-webviews.ts | 1 + src/lib/routes/customers/customers.ts | 32 ++++++++++++------- src/lib/routes/devices/devices.ts | 3 ++ src/lib/routes/devices/unmanaged/unmanaged.ts | 3 ++ 12 files changed, 60 insertions(+), 19 deletions(-) diff --git a/src/lib/resources/access-code.ts b/src/lib/resources/access-code.ts index 16eda0d9..c151af4b 100644 --- a/src/lib/resources/access-code.ts +++ b/src/lib/resources/access-code.ts @@ -424,7 +424,7 @@ export type AccessCode = { */ message: string } /** - * Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system. + * Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it. */ | { /** diff --git a/src/lib/resources/acs-system.ts b/src/lib/resources/acs-system.ts index 3be1705d..ef0c2c45 100644 --- a/src/lib/resources/acs-system.ts +++ b/src/lib/resources/acs-system.ts @@ -130,7 +130,7 @@ export type AcsSystem = { */ message: string } /** - * Indicates that Seam's integration user does not have sufficient permissions on the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems). Access cannot be managed until permissions are restored. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system. + * Indicates that the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems) is not letting Seam act on it, so access cannot be managed until this is resolved. The error message says which of two causes applies. Either Seam's integration user does not have sufficient permissions on the provider's system, or has been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. Or the provider account or site does not have a valid subscription with the provider: set up or renew that subscription with the provider. */ | { /** diff --git a/src/lib/resources/device-provider.ts b/src/lib/resources/device-provider.ts index dd15dab6..46e4ea1e 100644 --- a/src/lib/resources/device-provider.ts +++ b/src/lib/resources/device-provider.ts @@ -155,6 +155,7 @@ export type DeviceProvider = { | 'ring' | 'tapo' | 'arlo' + | 'reolink' | 'ical' | 'lodgify' | 'hostaway' diff --git a/src/lib/resources/device.ts b/src/lib/resources/device.ts index 71f5b1aa..e0c31944 100644 --- a/src/lib/resources/device.ts +++ b/src/lib/resources/device.ts @@ -221,6 +221,7 @@ export type Device = { | 'ring_camera' | 'tapo_camera' | 'arlo_camera' + | 'reolink_camera' /** * Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. @@ -288,7 +289,7 @@ export type Device = { */ message: string } /** - * Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system. + * Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it. */ | { /** @@ -1631,6 +1632,25 @@ export type Device = { timezone_raw_offset_ms?: number | undefined } | undefined + /** + * Metadata for a Reolink camera. + */ + reolink_metadata?: + | { + /** + * Firmware version reported by the camera. + */ + firmware_version?: string | undefined + /** + * Hardware version reported by the camera. + */ + hardware_version?: string | undefined + /** + * Model reported by the Reolink camera. + */ + model?: string | undefined + } + | undefined /** * Metadata for a Ring device. */ diff --git a/src/lib/resources/media.ts b/src/lib/resources/media.ts index 361ebaf7..706e43ff 100644 --- a/src/lib/resources/media.ts +++ b/src/lib/resources/media.ts @@ -47,6 +47,10 @@ export type Media = { * Short-lived URL from which you can download the media. Null unless `status` is `available`. The URL expires after about five minutes. Call `/media/get` again for a new URL. */ url: string | null + /** + * Video codec used to encode the media. Only present for video media. `hevc` (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline. + */ + video_codec?: 'h264' | 'hevc' | undefined /** * ID of the workspace that contains the media. */ diff --git a/src/lib/resources/unmanaged-access-code.ts b/src/lib/resources/unmanaged-access-code.ts index 50069439..99da0dd4 100644 --- a/src/lib/resources/unmanaged-access-code.ts +++ b/src/lib/resources/unmanaged-access-code.ts @@ -430,7 +430,7 @@ export type UnmanagedAccessCode = { */ message: string } /** - * Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system. + * Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it. */ | { /** diff --git a/src/lib/resources/unmanaged-device.ts b/src/lib/resources/unmanaged-device.ts index aec1f05a..32bbef5f 100644 --- a/src/lib/resources/unmanaged-device.ts +++ b/src/lib/resources/unmanaged-device.ts @@ -176,6 +176,7 @@ export type UnmanagedDevice = { | 'ring_camera' | 'tapo_camera' | 'arlo_camera' + | 'reolink_camera' /** * Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. @@ -243,7 +244,7 @@ export type UnmanagedDevice = { */ message: string } /** - * Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system. + * Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it. */ | { /** diff --git a/src/lib/routes/client-sessions/client-sessions.ts b/src/lib/routes/client-sessions/client-sessions.ts index 80463e80..3d939390 100644 --- a/src/lib/routes/client-sessions/client-sessions.ts +++ b/src/lib/routes/client-sessions/client-sessions.ts @@ -333,7 +333,7 @@ export type ClientSessionsCreateParameters = { */ expires_at?: string | Date | Temporal.Instant | undefined /** - * Your user ID for the user for whom you want to create a client session. + * Your user ID for the user for whom you want to create a client session. When you authenticate with a publishable key, the `user_identifier_key` must be a high-entropy secret that only the user knows, such as a UUIDv4 or a salted hash. Do not use an email address, name, phone number, or other guessable value, because anyone who knows the `user_identifier_key` can retrieve the client session. */ user_identifier_key?: string | undefined /** @@ -412,7 +412,7 @@ export type ClientSessionsGetOrCreateParameters = { */ expires_at?: string | Date | Temporal.Instant | undefined /** - * Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session). + * Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session). When you authenticate with a publishable key, the `user_identifier_key` must be a high-entropy secret that only the user knows, such as a UUIDv4 or a salted hash. Do not use an email address, name, phone number, or other guessable value, because anyone who knows the `user_identifier_key` can retrieve the client session. */ user_identifier_key?: string | undefined /** diff --git a/src/lib/routes/connect-webviews/connect-webviews.ts b/src/lib/routes/connect-webviews/connect-webviews.ts index 5c3b9dd5..880c9a69 100644 --- a/src/lib/routes/connect-webviews/connect-webviews.ts +++ b/src/lib/routes/connect-webviews/connect-webviews.ts @@ -326,6 +326,7 @@ export type ConnectWebviewsCreateParameters = { | 'ring' | 'tapo' | 'arlo' + | 'reolink' | 'ical' | 'lodgify' | 'hostaway' diff --git a/src/lib/routes/customers/customers.ts b/src/lib/routes/customers/customers.ts index 2cbb5d62..88da5a01 100644 --- a/src/lib/routes/customers/customers.ts +++ b/src/lib/routes/customers/customers.ts @@ -264,9 +264,9 @@ export type CustomersCreatePortalParameters = { */ name?: string | undefined /** - * Preferred PIN code to use when creating access for this reservation. + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */ - preferred_code?: string | undefined + preferred_code?: string | null | undefined /** * Property keys associated with the access grant. */ @@ -343,9 +343,9 @@ export type CustomersCreatePortalParameters = { */ name?: string | undefined /** - * Preferred PIN code to use when creating access for this reservation. + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */ - preferred_code?: string | undefined + preferred_code?: string | null | undefined /** * Property keys associated with the access grant. */ @@ -422,6 +422,10 @@ export type CustomersCreatePortalParameters = { * Your unique identifier for the customer. */ customer_key?: string | undefined + /** + * ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile. + */ + customization_profile_id?: string | null | undefined /** * List of gym or fitness facilities. */ @@ -547,9 +551,9 @@ export type CustomersCreatePortalParameters = { */ name?: string | undefined /** - * Preferred PIN code to use when creating access for this reservation. + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */ - preferred_code?: string | undefined + preferred_code?: string | null | undefined /** * Property keys associated with the access grant. */ @@ -1240,9 +1244,9 @@ export type CustomersPushDataParameters = { */ name?: string | undefined /** - * Preferred PIN code to use when creating access for this reservation. + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */ - preferred_code?: string | undefined + preferred_code?: string | null | undefined /** * Property keys associated with the access grant. */ @@ -1319,9 +1323,9 @@ export type CustomersPushDataParameters = { */ name?: string | undefined /** - * Preferred PIN code to use when creating access for this reservation. + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */ - preferred_code?: string | undefined + preferred_code?: string | null | undefined /** * Property keys associated with the access grant. */ @@ -1399,6 +1403,10 @@ export type CustomersPushDataParameters = { */ customer_key: string + /** + * ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile. + */ + customization_profile_id?: string | null | undefined /** * List of gym or fitness facilities. */ @@ -1524,9 +1532,9 @@ export type CustomersPushDataParameters = { */ name?: string | undefined /** - * Preferred PIN code to use when creating access for this reservation. + * Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code. */ - preferred_code?: string | undefined + preferred_code?: string | null | undefined /** * Property keys associated with the access grant. */ diff --git a/src/lib/routes/devices/devices.ts b/src/lib/routes/devices/devices.ts index 507564eb..9f908f01 100644 --- a/src/lib/routes/devices/devices.ts +++ b/src/lib/routes/devices/devices.ts @@ -385,6 +385,7 @@ export type DevicesListParameters = { | 'ring_camera' | 'tapo_camera' | 'arlo_camera' + | 'reolink_camera' | undefined /** * Array of device types for which you want to list devices. @@ -436,6 +437,7 @@ export type DevicesListParameters = { | 'ring_camera' | 'tapo_camera' | 'arlo_camera' + | 'reolink_camera' > | undefined /** @@ -493,6 +495,7 @@ export type DevicesListParameters = { | 'ring' | 'tapo' | 'arlo' + | 'reolink' | 'ical' | 'lodgify' | 'hostaway' diff --git a/src/lib/routes/devices/unmanaged/unmanaged.ts b/src/lib/routes/devices/unmanaged/unmanaged.ts index a1f900dd..1f01f4e5 100644 --- a/src/lib/routes/devices/unmanaged/unmanaged.ts +++ b/src/lib/routes/devices/unmanaged/unmanaged.ts @@ -332,6 +332,7 @@ export type DevicesUnmanagedListParameters = { | 'ring_camera' | 'tapo_camera' | 'arlo_camera' + | 'reolink_camera' | undefined /** * Array of device types for which you want to list devices. @@ -383,6 +384,7 @@ export type DevicesUnmanagedListParameters = { | 'ring_camera' | 'tapo_camera' | 'arlo_camera' + | 'reolink_camera' > | undefined /** @@ -440,6 +442,7 @@ export type DevicesUnmanagedListParameters = { | 'ring' | 'tapo' | 'arlo' + | 'reolink' | 'ical' | 'lodgify' | 'hostaway'