@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
|
@@ -100251,6 +100251,8 @@ export type Routes = {
|
|
|
100251
100251
|
instant_key_url?: string | undefined;
|
|
100252
100252
|
}[];
|
|
100253
100253
|
connected_account_id: string | null;
|
|
100254
|
+
/** Key of the customer the reservation belongs to, or null when it belongs to none. */
|
|
100255
|
+
customer_key: string | null;
|
|
100254
100256
|
last_automation_result: {
|
|
100255
100257
|
success: boolean;
|
|
100256
100258
|
rule: string;
|
|
@@ -100368,6 +100370,8 @@ export type Routes = {
|
|
|
100368
100370
|
name: string | null;
|
|
100369
100371
|
}[];
|
|
100370
100372
|
connected_account_id: string | null;
|
|
100373
|
+
/** Key of the customer the reservation belongs to, or null when it belongs to none. */
|
|
100374
|
+
customer_key: string | null;
|
|
100371
100375
|
last_automation_result: {
|
|
100372
100376
|
success: boolean;
|
|
100373
100377
|
rule: string;
|
package/package.json
CHANGED
|
@@ -862,7 +862,7 @@ export const camera_activated_event = device_event.extend({
|
|
|
862
862
|
---
|
|
863
863
|
route_path: /devices
|
|
864
864
|
---
|
|
865
|
-
A camera was activated, for example, by motion detection.
|
|
865
|
+
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.
|
|
866
866
|
`)
|
|
867
867
|
|
|
868
868
|
export type CameraActivatedEvent = z.infer<typeof camera_activated_event>
|
|
@@ -893,7 +893,7 @@ export const device_doorbell_rang_event = device_event.extend({
|
|
|
893
893
|
---
|
|
894
894
|
route_path: /devices
|
|
895
895
|
---
|
|
896
|
-
A doorbell button was pressed on a device.
|
|
896
|
+
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.
|
|
897
897
|
`)
|
|
898
898
|
|
|
899
899
|
export type DeviceDoorbellRangEvent = z.infer<typeof device_doorbell_rang_event>
|
|
@@ -31501,7 +31501,7 @@ const openapi: OpenAPISpec = {
|
|
|
31501
31501
|
},
|
|
31502
31502
|
{
|
|
31503
31503
|
description:
|
|
31504
|
-
'A camera was activated, for example, by motion detection.',
|
|
31504
|
+
'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.',
|
|
31505
31505
|
properties: {
|
|
31506
31506
|
activation_reason: {
|
|
31507
31507
|
description: 'The reason the camera was activated.',
|
|
@@ -31604,7 +31604,8 @@ const openapi: OpenAPISpec = {
|
|
|
31604
31604
|
'x-route-path': '/devices',
|
|
31605
31605
|
},
|
|
31606
31606
|
{
|
|
31607
|
-
description:
|
|
31607
|
+
description:
|
|
31608
|
+
'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.',
|
|
31608
31609
|
properties: {
|
|
31609
31610
|
connected_account_custom_metadata: {
|
|
31610
31611
|
additionalProperties: {
|
|
@@ -70019,6 +70020,12 @@ const openapi: OpenAPISpec = {
|
|
|
70019
70020
|
type: 'string',
|
|
70020
70021
|
},
|
|
70021
70022
|
created_at: { format: 'date-time', type: 'string' },
|
|
70023
|
+
customer_key: {
|
|
70024
|
+
description:
|
|
70025
|
+
'Key of the customer the reservation belongs to, or null when it belongs to none.',
|
|
70026
|
+
nullable: true,
|
|
70027
|
+
type: 'string',
|
|
70028
|
+
},
|
|
70022
70029
|
ends_at: {
|
|
70023
70030
|
format: 'date-time',
|
|
70024
70031
|
nullable: true,
|
|
@@ -70221,6 +70228,7 @@ const openapi: OpenAPISpec = {
|
|
|
70221
70228
|
'access_grant_id',
|
|
70222
70229
|
'access_methods',
|
|
70223
70230
|
'connected_account_id',
|
|
70231
|
+
'customer_key',
|
|
70224
70232
|
'last_automation_result',
|
|
70225
70233
|
'parent_reservation_id',
|
|
70226
70234
|
'parent_reservation_key',
|
|
@@ -70449,6 +70457,12 @@ const openapi: OpenAPISpec = {
|
|
|
70449
70457
|
type: 'string',
|
|
70450
70458
|
},
|
|
70451
70459
|
created_at: { format: 'date-time', type: 'string' },
|
|
70460
|
+
customer_key: {
|
|
70461
|
+
description:
|
|
70462
|
+
'Key of the customer the reservation belongs to, or null when it belongs to none.',
|
|
70463
|
+
nullable: true,
|
|
70464
|
+
type: 'string',
|
|
70465
|
+
},
|
|
70452
70466
|
ends_at: {
|
|
70453
70467
|
format: 'date-time',
|
|
70454
70468
|
nullable: true,
|
|
@@ -70645,6 +70659,7 @@ const openapi: OpenAPISpec = {
|
|
|
70645
70659
|
'access_methods',
|
|
70646
70660
|
'spaces',
|
|
70647
70661
|
'connected_account_id',
|
|
70662
|
+
'customer_key',
|
|
70648
70663
|
'last_automation_result',
|
|
70649
70664
|
'sub_reservations',
|
|
70650
70665
|
],
|
|
@@ -119509,6 +119509,8 @@ export type Routes = {
|
|
|
119509
119509
|
instant_key_url?: string | undefined
|
|
119510
119510
|
}[]
|
|
119511
119511
|
connected_account_id: string | null
|
|
119512
|
+
/** Key of the customer the reservation belongs to, or null when it belongs to none. */
|
|
119513
|
+
customer_key: string | null
|
|
119512
119514
|
last_automation_result: {
|
|
119513
119515
|
success: boolean
|
|
119514
119516
|
rule: string
|
|
@@ -119626,6 +119628,8 @@ export type Routes = {
|
|
|
119626
119628
|
name: string | null
|
|
119627
119629
|
}[]
|
|
119628
119630
|
connected_account_id: string | null
|
|
119631
|
+
/** Key of the customer the reservation belongs to, or null when it belongs to none. */
|
|
119632
|
+
customer_key: string | null
|
|
119629
119633
|
last_automation_result: {
|
|
119630
119634
|
success: boolean
|
|
119631
119635
|
rule: string
|