@seamapi/types 1.744.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",
@@ -67602,6 +67630,48 @@ var openapi_default = {
67602
67630
  },
67603
67631
  guest_name: { nullable: true, type: "string" },
67604
67632
  is_resource_syncing: { type: "boolean" },
67633
+ last_automation_result: {
67634
+ nullable: true,
67635
+ properties: {
67636
+ actions: {
67637
+ items: {
67638
+ properties: {
67639
+ access_grant_id: {
67640
+ format: "uuid",
67641
+ type: "string"
67642
+ },
67643
+ action_type: {
67644
+ enum: [
67645
+ "create",
67646
+ "update",
67647
+ "delete",
67648
+ "skip"
67649
+ ],
67650
+ type: "string"
67651
+ },
67652
+ message: { type: "string" },
67653
+ resource_type: { type: "string" },
67654
+ skip_reason: { type: "string" }
67655
+ },
67656
+ required: ["action_type", "resource_type"],
67657
+ type: "object"
67658
+ },
67659
+ type: "array"
67660
+ },
67661
+ created_at: { format: "date-time", type: "string" },
67662
+ error: { type: "string" },
67663
+ message: { type: "string" },
67664
+ rule: { type: "string" },
67665
+ success: { type: "boolean" }
67666
+ },
67667
+ required: [
67668
+ "success",
67669
+ "rule",
67670
+ "actions",
67671
+ "created_at"
67672
+ ],
67673
+ type: "object"
67674
+ },
67605
67675
  name: { nullable: true, type: "string" },
67606
67676
  reservation_id: { format: "uuid", type: "string" },
67607
67677
  reservation_key: { type: "string" },
@@ -67639,7 +67709,8 @@ var openapi_default = {
67639
67709
  "guest",
67640
67710
  "spaces",
67641
67711
  "access_grant_id",
67642
- "access_methods"
67712
+ "access_methods",
67713
+ "last_automation_result"
67643
67714
  ],
67644
67715
  type: "object"
67645
67716
  }
@@ -67770,6 +67841,48 @@ var openapi_default = {
67770
67841
  },
67771
67842
  guest_name: { nullable: true, type: "string" },
67772
67843
  is_resource_syncing: { type: "boolean" },
67844
+ last_automation_result: {
67845
+ nullable: true,
67846
+ properties: {
67847
+ actions: {
67848
+ items: {
67849
+ properties: {
67850
+ access_grant_id: {
67851
+ format: "uuid",
67852
+ type: "string"
67853
+ },
67854
+ action_type: {
67855
+ enum: [
67856
+ "create",
67857
+ "update",
67858
+ "delete",
67859
+ "skip"
67860
+ ],
67861
+ type: "string"
67862
+ },
67863
+ message: { type: "string" },
67864
+ resource_type: { type: "string" },
67865
+ skip_reason: { type: "string" }
67866
+ },
67867
+ required: ["action_type", "resource_type"],
67868
+ type: "object"
67869
+ },
67870
+ type: "array"
67871
+ },
67872
+ created_at: { format: "date-time", type: "string" },
67873
+ error: { type: "string" },
67874
+ message: { type: "string" },
67875
+ rule: { type: "string" },
67876
+ success: { type: "boolean" }
67877
+ },
67878
+ required: [
67879
+ "success",
67880
+ "rule",
67881
+ "actions",
67882
+ "created_at"
67883
+ ],
67884
+ type: "object"
67885
+ },
67773
67886
  name: { nullable: true, type: "string" },
67774
67887
  reservation_id: { format: "uuid", type: "string" },
67775
67888
  reservation_key: { type: "string" },
@@ -67807,7 +67920,8 @@ var openapi_default = {
67807
67920
  "guest",
67808
67921
  "spaces",
67809
67922
  "access_grant_id",
67810
- "access_methods"
67923
+ "access_methods",
67924
+ "last_automation_result"
67811
67925
  ],
67812
67926
  type: "object"
67813
67927
  }
@@ -67983,6 +68097,51 @@ var openapi_default = {
67983
68097
  },
67984
68098
  guest_name: { nullable: true, type: "string" },
67985
68099
  is_resource_syncing: { type: "boolean" },
68100
+ last_automation_result: {
68101
+ nullable: true,
68102
+ properties: {
68103
+ actions: {
68104
+ items: {
68105
+ properties: {
68106
+ access_grant_id: {
68107
+ format: "uuid",
68108
+ type: "string"
68109
+ },
68110
+ action_type: {
68111
+ enum: [
68112
+ "create",
68113
+ "update",
68114
+ "delete",
68115
+ "skip"
68116
+ ],
68117
+ type: "string"
68118
+ },
68119
+ message: { type: "string" },
68120
+ resource_type: { type: "string" },
68121
+ skip_reason: { type: "string" }
68122
+ },
68123
+ required: ["action_type", "resource_type"],
68124
+ type: "object"
68125
+ },
68126
+ type: "array"
68127
+ },
68128
+ created_at: {
68129
+ format: "date-time",
68130
+ type: "string"
68131
+ },
68132
+ error: { type: "string" },
68133
+ message: { type: "string" },
68134
+ rule: { type: "string" },
68135
+ success: { type: "boolean" }
68136
+ },
68137
+ required: [
68138
+ "success",
68139
+ "rule",
68140
+ "actions",
68141
+ "created_at"
68142
+ ],
68143
+ type: "object"
68144
+ },
67986
68145
  name: { nullable: true, type: "string" },
67987
68146
  pending_mutations: {
67988
68147
  items: {
@@ -68054,7 +68213,8 @@ var openapi_default = {
68054
68213
  "warnings",
68055
68214
  "pending_mutations",
68056
68215
  "access_methods",
68057
- "spaces"
68216
+ "spaces",
68217
+ "last_automation_result"
68058
68218
  ],
68059
68219
  type: "object"
68060
68220
  },
@@ -68211,6 +68371,51 @@ var openapi_default = {
68211
68371
  },
68212
68372
  guest_name: { nullable: true, type: "string" },
68213
68373
  is_resource_syncing: { type: "boolean" },
68374
+ last_automation_result: {
68375
+ nullable: true,
68376
+ properties: {
68377
+ actions: {
68378
+ items: {
68379
+ properties: {
68380
+ access_grant_id: {
68381
+ format: "uuid",
68382
+ type: "string"
68383
+ },
68384
+ action_type: {
68385
+ enum: [
68386
+ "create",
68387
+ "update",
68388
+ "delete",
68389
+ "skip"
68390
+ ],
68391
+ type: "string"
68392
+ },
68393
+ message: { type: "string" },
68394
+ resource_type: { type: "string" },
68395
+ skip_reason: { type: "string" }
68396
+ },
68397
+ required: ["action_type", "resource_type"],
68398
+ type: "object"
68399
+ },
68400
+ type: "array"
68401
+ },
68402
+ created_at: {
68403
+ format: "date-time",
68404
+ type: "string"
68405
+ },
68406
+ error: { type: "string" },
68407
+ message: { type: "string" },
68408
+ rule: { type: "string" },
68409
+ success: { type: "boolean" }
68410
+ },
68411
+ required: [
68412
+ "success",
68413
+ "rule",
68414
+ "actions",
68415
+ "created_at"
68416
+ ],
68417
+ type: "object"
68418
+ },
68214
68419
  name: { nullable: true, type: "string" },
68215
68420
  pending_mutations: {
68216
68421
  items: {
@@ -68282,7 +68487,8 @@ var openapi_default = {
68282
68487
  "warnings",
68283
68488
  "pending_mutations",
68284
68489
  "access_methods",
68285
- "spaces"
68490
+ "spaces",
68491
+ "last_automation_result"
68286
68492
  ],
68287
68493
  type: "object"
68288
68494
  },
@@ -69223,6 +69429,51 @@ var openapi_default = {
69223
69429
  },
69224
69430
  guest_name: { nullable: true, type: "string" },
69225
69431
  has_issued_access: { type: "boolean" },
69432
+ last_automation_result: {
69433
+ nullable: true,
69434
+ properties: {
69435
+ actions: {
69436
+ items: {
69437
+ properties: {
69438
+ access_grant_id: {
69439
+ format: "uuid",
69440
+ type: "string"
69441
+ },
69442
+ action_type: {
69443
+ enum: [
69444
+ "create",
69445
+ "update",
69446
+ "delete",
69447
+ "skip"
69448
+ ],
69449
+ type: "string"
69450
+ },
69451
+ message: { type: "string" },
69452
+ resource_type: { type: "string" },
69453
+ skip_reason: { type: "string" }
69454
+ },
69455
+ required: ["action_type", "resource_type"],
69456
+ type: "object"
69457
+ },
69458
+ type: "array"
69459
+ },
69460
+ created_at: {
69461
+ format: "date-time",
69462
+ type: "string"
69463
+ },
69464
+ error: { type: "string" },
69465
+ message: { type: "string" },
69466
+ rule: { type: "string" },
69467
+ success: { type: "boolean" }
69468
+ },
69469
+ required: [
69470
+ "success",
69471
+ "rule",
69472
+ "actions",
69473
+ "created_at"
69474
+ ],
69475
+ type: "object"
69476
+ },
69226
69477
  name: { nullable: true, type: "string" },
69227
69478
  reservation_id: { format: "uuid", type: "string" },
69228
69479
  reservation_key: { type: "string" },
@@ -69241,7 +69492,8 @@ var openapi_default = {
69241
69492
  "created_at",
69242
69493
  "guest_name",
69243
69494
  "has_issued_access",
69244
- "access_methods"
69495
+ "access_methods",
69496
+ "last_automation_result"
69245
69497
  ],
69246
69498
  type: "object"
69247
69499
  },
@@ -69317,6 +69569,51 @@ var openapi_default = {
69317
69569
  },
69318
69570
  guest_name: { nullable: true, type: "string" },
69319
69571
  has_issued_access: { type: "boolean" },
69572
+ last_automation_result: {
69573
+ nullable: true,
69574
+ properties: {
69575
+ actions: {
69576
+ items: {
69577
+ properties: {
69578
+ access_grant_id: {
69579
+ format: "uuid",
69580
+ type: "string"
69581
+ },
69582
+ action_type: {
69583
+ enum: [
69584
+ "create",
69585
+ "update",
69586
+ "delete",
69587
+ "skip"
69588
+ ],
69589
+ type: "string"
69590
+ },
69591
+ message: { type: "string" },
69592
+ resource_type: { type: "string" },
69593
+ skip_reason: { type: "string" }
69594
+ },
69595
+ required: ["action_type", "resource_type"],
69596
+ type: "object"
69597
+ },
69598
+ type: "array"
69599
+ },
69600
+ created_at: {
69601
+ format: "date-time",
69602
+ type: "string"
69603
+ },
69604
+ error: { type: "string" },
69605
+ message: { type: "string" },
69606
+ rule: { type: "string" },
69607
+ success: { type: "boolean" }
69608
+ },
69609
+ required: [
69610
+ "success",
69611
+ "rule",
69612
+ "actions",
69613
+ "created_at"
69614
+ ],
69615
+ type: "object"
69616
+ },
69320
69617
  name: { nullable: true, type: "string" },
69321
69618
  reservation_id: { format: "uuid", type: "string" },
69322
69619
  reservation_key: { type: "string" },
@@ -69335,7 +69632,8 @@ var openapi_default = {
69335
69632
  "created_at",
69336
69633
  "guest_name",
69337
69634
  "has_issued_access",
69338
- "access_methods"
69635
+ "access_methods",
69636
+ "last_automation_result"
69339
69637
  ],
69340
69638
  type: "object"
69341
69639
  },