@seamapi/types 1.1154.0 → 1.1156.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/lib/seam/connect/models/events/devices.js +2 -2
- package/lib/seam/connect/openapi.js +14 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +17 -2
- package/src/lib/seam/connect/route-types.ts +4 -0
|
@@ -642,7 +642,7 @@ export const camera_activated_event = device_event.extend({
|
|
|
642
642
|
---
|
|
643
643
|
route_path: /devices
|
|
644
644
|
---
|
|
645
|
-
A camera was activated, for example, by motion detection.
|
|
645
|
+
A camera was activated, for example, by motion detection. For Ring cameras, this event is available only in the Seam Console, not through the API or webhooks.
|
|
646
646
|
`);
|
|
647
647
|
export const device_doorbell_rang_event = device_event.extend({
|
|
648
648
|
event_type: z.literal('device.doorbell_rang'),
|
|
@@ -664,7 +664,7 @@ export const device_doorbell_rang_event = device_event.extend({
|
|
|
664
664
|
---
|
|
665
665
|
route_path: /devices
|
|
666
666
|
---
|
|
667
|
-
A doorbell button was pressed on a device.
|
|
667
|
+
A doorbell button was pressed on a device. For Ring cameras, this event is available only in the Seam Console, not through the API or webhooks.
|
|
668
668
|
`);
|
|
669
669
|
export const device_events = [
|
|
670
670
|
device_connected_event,
|
|
@@ -28227,7 +28227,7 @@ const openapi = {
|
|
|
28227
28227
|
'x-route-path': '/devices',
|
|
28228
28228
|
},
|
|
28229
28229
|
{
|
|
28230
|
-
description: 'A camera was activated, for example, by motion detection.',
|
|
28230
|
+
description: 'A camera was activated, for example, by motion detection. For Ring cameras, this event is available only in the Seam Console, not through the API or webhooks.',
|
|
28231
28231
|
properties: {
|
|
28232
28232
|
activation_reason: {
|
|
28233
28233
|
description: 'The reason the camera was activated.',
|
|
@@ -28322,7 +28322,7 @@ const openapi = {
|
|
|
28322
28322
|
'x-route-path': '/devices',
|
|
28323
28323
|
},
|
|
28324
28324
|
{
|
|
28325
|
-
description: 'A doorbell button was pressed on a device.',
|
|
28325
|
+
description: 'A doorbell button was pressed on a device. For Ring cameras, this event is available only in the Seam Console, not through the API or webhooks.',
|
|
28326
28326
|
properties: {
|
|
28327
28327
|
connected_account_custom_metadata: {
|
|
28328
28328
|
additionalProperties: {
|
|
@@ -64119,6 +64119,11 @@ const openapi = {
|
|
|
64119
64119
|
type: 'string',
|
|
64120
64120
|
},
|
|
64121
64121
|
created_at: { format: 'date-time', type: 'string' },
|
|
64122
|
+
customer_key: {
|
|
64123
|
+
description: 'Key of the customer the reservation belongs to, or null when it belongs to none.',
|
|
64124
|
+
nullable: true,
|
|
64125
|
+
type: 'string',
|
|
64126
|
+
},
|
|
64122
64127
|
ends_at: {
|
|
64123
64128
|
format: 'date-time',
|
|
64124
64129
|
nullable: true,
|
|
@@ -64316,6 +64321,7 @@ const openapi = {
|
|
|
64316
64321
|
'access_grant_id',
|
|
64317
64322
|
'access_methods',
|
|
64318
64323
|
'connected_account_id',
|
|
64324
|
+
'customer_key',
|
|
64319
64325
|
'last_automation_result',
|
|
64320
64326
|
'parent_reservation_id',
|
|
64321
64327
|
'parent_reservation_key',
|
|
@@ -64536,6 +64542,11 @@ const openapi = {
|
|
|
64536
64542
|
type: 'string',
|
|
64537
64543
|
},
|
|
64538
64544
|
created_at: { format: 'date-time', type: 'string' },
|
|
64545
|
+
customer_key: {
|
|
64546
|
+
description: 'Key of the customer the reservation belongs to, or null when it belongs to none.',
|
|
64547
|
+
nullable: true,
|
|
64548
|
+
type: 'string',
|
|
64549
|
+
},
|
|
64539
64550
|
ends_at: {
|
|
64540
64551
|
format: 'date-time',
|
|
64541
64552
|
nullable: true,
|
|
@@ -64730,6 +64741,7 @@ const openapi = {
|
|
|
64730
64741
|
'access_methods',
|
|
64731
64742
|
'spaces',
|
|
64732
64743
|
'connected_account_id',
|
|
64744
|
+
'customer_key',
|
|
64733
64745
|
'last_automation_result',
|
|
64734
64746
|
'sub_reservations',
|
|
64735
64747
|
],
|