From d51c17429d09e377b195d4fb6777c42648acd636 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 13 Mar 2026 17:49:02 +0000 Subject: [PATCH] feat: Sync with Seam API via c7ee21995f215c69233dabc7bf6ad823358f1be1 --- src/lib/seam/connect/models/events/devices.ts | 24 ++++++++++++++ src/lib/seam/connect/openapi.ts | 24 ++++++++++++++ src/lib/seam/connect/route-types.ts | 32 +++++++++++++++++++ 3 files changed, 80 insertions(+) diff --git a/src/lib/seam/connect/models/events/devices.ts b/src/lib/seam/connect/models/events/devices.ts index 60abc511..e7371371 100644 --- a/src/lib/seam/connect/models/events/devices.ts +++ b/src/lib/seam/connect/models/events/devices.ts @@ -715,6 +715,16 @@ export const camera_activated_event = device_event.extend({ .enum(['human', 'vehicle', 'package', 'other']) .optional() .describe('Sub-type of motion detected, if available.'), + image_url: z + .string() + .url() + .optional() + .describe('URL to a thumbnail image captured at the time of activation.'), + video_url: z + .string() + .url() + .optional() + .describe('URL to a short video clip captured at the time of activation.'), }).describe(` --- route_path: /devices @@ -726,6 +736,20 @@ export type CameraActivatedEvent = z.infer export const device_doorbell_rang_event = device_event.extend({ event_type: z.literal('device.doorbell_rang'), + image_url: z + .string() + .url() + .optional() + .describe( + 'URL to a thumbnail image captured at the time the doorbell was pressed.', + ), + video_url: z + .string() + .url() + .optional() + .describe( + 'URL to a short video clip captured at the time the doorbell was pressed.', + ), }).describe(` --- route_path: /devices diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index c9f584f5..c970c1f8 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -23162,6 +23162,12 @@ export default { type: 'string', }, event_type: { enum: ['camera.activated'], type: 'string' }, + image_url: { + description: + 'URL to a thumbnail image captured at the time of activation.', + format: 'uri', + type: 'string', + }, motion_sub_type: { description: 'Sub-type of motion detected, if available.', enum: ['human', 'vehicle', 'package', 'other'], @@ -23172,6 +23178,12 @@ export default { format: 'date-time', type: 'string', }, + video_url: { + description: + 'URL to a short video clip captured at the time of activation.', + format: 'uri', + type: 'string', + }, workspace_id: { description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.', @@ -23239,11 +23251,23 @@ export default { type: 'string', }, event_type: { enum: ['device.doorbell_rang'], type: 'string' }, + image_url: { + description: + 'URL to a thumbnail image captured at the time the doorbell was pressed.', + format: 'uri', + type: 'string', + }, occurred_at: { description: 'Date and time at which the event occurred.', format: 'date-time', type: 'string', }, + video_url: { + description: + 'URL to a short video clip captured at the time the doorbell was pressed.', + format: 'uri', + type: 'string', + }, workspace_id: { description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index a5b1d76b..8dfa505b 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -42531,6 +42531,10 @@ export type Routes = { motion_sub_type?: | ('human' | 'vehicle' | 'package' | 'other') | undefined + /** URL to a thumbnail image captured at the time of activation. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time of activation. */ + video_url?: string | undefined } | { /** ID of the event. */ @@ -42560,6 +42564,10 @@ export type Routes = { } | undefined event_type: 'device.doorbell_rang' + /** URL to a thumbnail image captured at the time the doorbell was pressed. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time the doorbell was pressed. */ + video_url?: string | undefined } | { /** ID of the event. */ @@ -45912,6 +45920,10 @@ export type Routes = { motion_sub_type?: | ('human' | 'vehicle' | 'package' | 'other') | undefined + /** URL to a thumbnail image captured at the time of activation. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time of activation. */ + video_url?: string | undefined } | { /** ID of the event. */ @@ -45941,6 +45953,10 @@ export type Routes = { } | undefined event_type: 'device.doorbell_rang' + /** URL to a thumbnail image captured at the time the doorbell was pressed. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time the doorbell was pressed. */ + video_url?: string | undefined } | { /** ID of the event. */ @@ -73152,6 +73168,10 @@ export type Routes = { motion_sub_type?: | ('human' | 'vehicle' | 'package' | 'other') | undefined + /** URL to a thumbnail image captured at the time of activation. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time of activation. */ + video_url?: string | undefined } | { /** ID of the event. */ @@ -73181,6 +73201,10 @@ export type Routes = { } | undefined event_type: 'device.doorbell_rang' + /** URL to a thumbnail image captured at the time the doorbell was pressed. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time the doorbell was pressed. */ + video_url?: string | undefined } | { /** ID of the event. */ @@ -109588,6 +109612,10 @@ export type Routes = { motion_sub_type?: | ('human' | 'vehicle' | 'package' | 'other') | undefined + /** URL to a thumbnail image captured at the time of activation. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time of activation. */ + video_url?: string | undefined } | { /** ID of the event. */ @@ -109617,6 +109645,10 @@ export type Routes = { } | undefined event_type: 'device.doorbell_rang' + /** URL to a thumbnail image captured at the time the doorbell was pressed. */ + image_url?: string | undefined + /** URL to a short video clip captured at the time the doorbell was pressed. */ + video_url?: string | undefined } | { /** ID of the event. */