@seamapi/types 1.1196.0 → 1.1197.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.d.ts +6 -6
- package/lib/seam/connect/models/events/devices.js +4 -3
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/openapi.js +4 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +4 -3
- package/src/lib/seam/connect/openapi.ts +5 -6
- package/src/lib/seam/connect/route-types.ts +10 -10
|
@@ -59041,8 +59041,8 @@ export type Routes = {
|
|
|
59041
59041
|
[x: string]: string | boolean;
|
|
59042
59042
|
} | undefined;
|
|
59043
59043
|
event_type: 'camera.activated';
|
|
59044
|
-
/**
|
|
59045
|
-
|
|
59044
|
+
/** Whether motion detection activated the camera, if known. */
|
|
59045
|
+
is_motion_detected?: boolean | undefined;
|
|
59046
59046
|
/** Sub-type of motion detected, if available. */
|
|
59047
59047
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
59048
59048
|
/** URL to a thumbnail image captured at the time of activation. */
|
|
@@ -62754,8 +62754,8 @@ export type Routes = {
|
|
|
62754
62754
|
[x: string]: string | boolean;
|
|
62755
62755
|
} | undefined;
|
|
62756
62756
|
event_type: 'camera.activated';
|
|
62757
|
-
/**
|
|
62758
|
-
|
|
62757
|
+
/** Whether motion detection activated the camera, if known. */
|
|
62758
|
+
is_motion_detected?: boolean | undefined;
|
|
62759
62759
|
/** Sub-type of motion detected, if available. */
|
|
62760
62760
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
62761
62761
|
/** URL to a thumbnail image captured at the time of activation. */
|
|
@@ -109176,8 +109176,8 @@ export type Routes = {
|
|
|
109176
109176
|
[x: string]: string | boolean;
|
|
109177
109177
|
} | undefined;
|
|
109178
109178
|
event_type: 'camera.activated';
|
|
109179
|
-
/**
|
|
109180
|
-
|
|
109179
|
+
/** Whether motion detection activated the camera, if known. */
|
|
109180
|
+
is_motion_detected?: boolean | undefined;
|
|
109181
109181
|
/** Sub-type of motion detected, if available. */
|
|
109182
109182
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
109183
109183
|
/** URL to a thumbnail image captured at the time of activation. */
|
|
@@ -115078,8 +115078,8 @@ export type Routes = {
|
|
|
115078
115078
|
[x: string]: string | boolean;
|
|
115079
115079
|
} | undefined;
|
|
115080
115080
|
event_type: 'camera.activated';
|
|
115081
|
-
/**
|
|
115082
|
-
|
|
115081
|
+
/** Whether motion detection activated the camera, if known. */
|
|
115082
|
+
is_motion_detected?: boolean | undefined;
|
|
115083
115083
|
/** Sub-type of motion detected, if available. */
|
|
115084
115084
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
115085
115085
|
/** URL to a thumbnail image captured at the time of activation. */
|
|
@@ -181180,8 +181180,8 @@ export type Routes = {
|
|
|
181180
181180
|
[x: string]: string | boolean;
|
|
181181
181181
|
} | undefined;
|
|
181182
181182
|
event_type: 'camera.activated';
|
|
181183
|
-
/**
|
|
181184
|
-
|
|
181183
|
+
/** Whether motion detection activated the camera, if known. */
|
|
181184
|
+
is_motion_detected?: boolean | undefined;
|
|
181185
181185
|
/** Sub-type of motion detected, if available. */
|
|
181186
181186
|
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
181187
181187
|
/** URL to a thumbnail image captured at the time of activation. */
|
package/package.json
CHANGED
|
@@ -868,9 +868,10 @@ export type DeviceNameChangedEvent = z.infer<typeof device_name_changed_event>
|
|
|
868
868
|
|
|
869
869
|
export const camera_activated_event = device_event.extend({
|
|
870
870
|
event_type: z.literal('camera.activated'),
|
|
871
|
-
|
|
872
|
-
.
|
|
873
|
-
.
|
|
871
|
+
is_motion_detected: z
|
|
872
|
+
.boolean()
|
|
873
|
+
.optional()
|
|
874
|
+
.describe('Whether motion detection activated the camera, if known.'),
|
|
874
875
|
motion_sub_type: z
|
|
875
876
|
.enum(['human', 'vehicle', 'package', 'other'])
|
|
876
877
|
.optional()
|
|
@@ -32361,11 +32361,6 @@ const openapi: OpenAPISpec = {
|
|
|
32361
32361
|
description:
|
|
32362
32362
|
'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.',
|
|
32363
32363
|
properties: {
|
|
32364
|
-
activation_reason: {
|
|
32365
|
-
description: 'The reason the camera was activated.',
|
|
32366
|
-
enum: ['motion_detected'],
|
|
32367
|
-
type: 'string',
|
|
32368
|
-
},
|
|
32369
32364
|
connected_account_custom_metadata: {
|
|
32370
32365
|
additionalProperties: {
|
|
32371
32366
|
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
@@ -32420,6 +32415,11 @@ const openapi: OpenAPISpec = {
|
|
|
32420
32415
|
format: 'uri',
|
|
32421
32416
|
type: 'string',
|
|
32422
32417
|
},
|
|
32418
|
+
is_motion_detected: {
|
|
32419
|
+
description:
|
|
32420
|
+
'Whether motion detection activated the camera, if known.',
|
|
32421
|
+
type: 'boolean',
|
|
32422
|
+
},
|
|
32423
32423
|
media_ids: {
|
|
32424
32424
|
description:
|
|
32425
32425
|
'IDs of the media, such as a video clip and a thumbnail image, captured for this activation. Use `/media/get` to retrieve each one.',
|
|
@@ -32456,7 +32456,6 @@ const openapi: OpenAPISpec = {
|
|
|
32456
32456
|
'device_id',
|
|
32457
32457
|
'connected_account_id',
|
|
32458
32458
|
'event_type',
|
|
32459
|
-
'activation_reason',
|
|
32460
32459
|
],
|
|
32461
32460
|
type: 'object',
|
|
32462
32461
|
'x-route-path': '/devices',
|
|
@@ -71042,8 +71042,8 @@ export type Routes = {
|
|
|
71042
71042
|
}
|
|
71043
71043
|
| undefined
|
|
71044
71044
|
event_type: 'camera.activated'
|
|
71045
|
-
/**
|
|
71046
|
-
|
|
71045
|
+
/** Whether motion detection activated the camera, if known. */
|
|
71046
|
+
is_motion_detected?: boolean | undefined
|
|
71047
71047
|
/** Sub-type of motion detected, if available. */
|
|
71048
71048
|
motion_sub_type?:
|
|
71049
71049
|
('human' | 'vehicle' | 'package' | 'other') | undefined
|
|
@@ -75439,8 +75439,8 @@ export type Routes = {
|
|
|
75439
75439
|
}
|
|
75440
75440
|
| undefined
|
|
75441
75441
|
event_type: 'camera.activated'
|
|
75442
|
-
/**
|
|
75443
|
-
|
|
75442
|
+
/** Whether motion detection activated the camera, if known. */
|
|
75443
|
+
is_motion_detected?: boolean | undefined
|
|
75444
75444
|
/** Sub-type of motion detected, if available. */
|
|
75445
75445
|
motion_sub_type?:
|
|
75446
75446
|
('human' | 'vehicle' | 'package' | 'other') | undefined
|
|
@@ -130437,8 +130437,8 @@ export type Routes = {
|
|
|
130437
130437
|
}
|
|
130438
130438
|
| undefined
|
|
130439
130439
|
event_type: 'camera.activated'
|
|
130440
|
-
/**
|
|
130441
|
-
|
|
130440
|
+
/** Whether motion detection activated the camera, if known. */
|
|
130441
|
+
is_motion_detected?: boolean | undefined
|
|
130442
130442
|
/** Sub-type of motion detected, if available. */
|
|
130443
130443
|
motion_sub_type?:
|
|
130444
130444
|
('human' | 'vehicle' | 'package' | 'other') | undefined
|
|
@@ -137384,8 +137384,8 @@ export type Routes = {
|
|
|
137384
137384
|
}
|
|
137385
137385
|
| undefined
|
|
137386
137386
|
event_type: 'camera.activated'
|
|
137387
|
-
/**
|
|
137388
|
-
|
|
137387
|
+
/** Whether motion detection activated the camera, if known. */
|
|
137388
|
+
is_motion_detected?: boolean | undefined
|
|
137389
137389
|
/** Sub-type of motion detected, if available. */
|
|
137390
137390
|
motion_sub_type?:
|
|
137391
137391
|
('human' | 'vehicle' | 'package' | 'other') | undefined
|
|
@@ -215269,8 +215269,8 @@ export type Routes = {
|
|
|
215269
215269
|
}
|
|
215270
215270
|
| undefined
|
|
215271
215271
|
event_type: 'camera.activated'
|
|
215272
|
-
/**
|
|
215273
|
-
|
|
215272
|
+
/** Whether motion detection activated the camera, if known. */
|
|
215273
|
+
is_motion_detected?: boolean | undefined
|
|
215274
215274
|
/** Sub-type of motion detected, if available. */
|
|
215275
215275
|
motion_sub_type?:
|
|
215276
215276
|
('human' | 'vehicle' | 'package' | 'other') | undefined
|