@seamapi/types 1.745.0 → 1.746.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/connect.cjs CHANGED
@@ -5914,7 +5914,9 @@ var device_name_changed_event = device_event.extend({
5914
5914
  var camera_activated_event = device_event.extend({
5915
5915
  event_type: zod.z.literal("camera.activated"),
5916
5916
  activation_reason: zod.z.enum(["motion_detected"]).describe("The reason the camera was activated."),
5917
- motion_sub_type: zod.z.enum(["human", "vehicle", "package", "other"]).optional().describe("Sub-type of motion detected, if available.")
5917
+ motion_sub_type: zod.z.enum(["human", "vehicle", "package", "other"]).optional().describe("Sub-type of motion detected, if available."),
5918
+ image_url: zod.z.string().url().optional().describe("URL to a thumbnail image captured at the time of activation."),
5919
+ video_url: zod.z.string().url().optional().describe("URL to a short video clip captured at the time of activation.")
5918
5920
  }).describe(`
5919
5921
  ---
5920
5922
  route_path: /devices
@@ -5922,7 +5924,13 @@ var camera_activated_event = device_event.extend({
5922
5924
  A [camera](https://docs.seam.co/latest/core-concepts/devices) was activated, for example, by motion detection.
5923
5925
  `);
5924
5926
  var device_doorbell_rang_event = device_event.extend({
5925
- event_type: zod.z.literal("device.doorbell_rang")
5927
+ event_type: zod.z.literal("device.doorbell_rang"),
5928
+ image_url: zod.z.string().url().optional().describe(
5929
+ "URL to a thumbnail image captured at the time the doorbell was pressed."
5930
+ ),
5931
+ video_url: zod.z.string().url().optional().describe(
5932
+ "URL to a short video clip captured at the time the doorbell was pressed."
5933
+ )
5926
5934
  }).describe(`
5927
5935
  ---
5928
5936
  route_path: /devices
@@ -27359,6 +27367,11 @@ var openapi_default = {
27359
27367
  type: "string"
27360
27368
  },
27361
27369
  event_type: { enum: ["camera.activated"], type: "string" },
27370
+ image_url: {
27371
+ description: "URL to a thumbnail image captured at the time of activation.",
27372
+ format: "uri",
27373
+ type: "string"
27374
+ },
27362
27375
  motion_sub_type: {
27363
27376
  description: "Sub-type of motion detected, if available.",
27364
27377
  enum: ["human", "vehicle", "package", "other"],
@@ -27369,6 +27382,11 @@ var openapi_default = {
27369
27382
  format: "date-time",
27370
27383
  type: "string"
27371
27384
  },
27385
+ video_url: {
27386
+ description: "URL to a short video clip captured at the time of activation.",
27387
+ format: "uri",
27388
+ type: "string"
27389
+ },
27372
27390
  workspace_id: {
27373
27391
  description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.",
27374
27392
  format: "uuid",
@@ -27430,11 +27448,21 @@ var openapi_default = {
27430
27448
  type: "string"
27431
27449
  },
27432
27450
  event_type: { enum: ["device.doorbell_rang"], type: "string" },
27451
+ image_url: {
27452
+ description: "URL to a thumbnail image captured at the time the doorbell was pressed.",
27453
+ format: "uri",
27454
+ type: "string"
27455
+ },
27433
27456
  occurred_at: {
27434
27457
  description: "Date and time at which the event occurred.",
27435
27458
  format: "date-time",
27436
27459
  type: "string"
27437
27460
  },
27461
+ video_url: {
27462
+ description: "URL to a short video clip captured at the time the doorbell was pressed.",
27463
+ format: "uri",
27464
+ type: "string"
27465
+ },
27438
27466
  workspace_id: {
27439
27467
  description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.",
27440
27468
  format: "uuid",