@seamapi/types 1.1082.0 → 1.1083.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.
@@ -51970,6 +51970,8 @@ export type Routes = {
51970
51970
  image_url?: string | undefined;
51971
51971
  /** URL to a short video clip captured at the time of activation. */
51972
51972
  video_url?: string | undefined;
51973
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
51974
+ media_status?: ('pending' | 'available' | 'unavailable' | 'failed') | undefined;
51973
51975
  } | {
51974
51976
  /** ID of the event. */
51975
51977
  event_id: string;
@@ -55601,6 +55603,8 @@ export type Routes = {
55601
55603
  image_url?: string | undefined;
55602
55604
  /** URL to a short video clip captured at the time of activation. */
55603
55605
  video_url?: string | undefined;
55606
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
55607
+ media_status?: ('pending' | 'available' | 'unavailable' | 'failed') | undefined;
55604
55608
  } | {
55605
55609
  /** ID of the event. */
55606
55610
  event_id: string;
@@ -87963,6 +87967,8 @@ export type Routes = {
87963
87967
  image_url?: string | undefined;
87964
87968
  /** URL to a short video clip captured at the time of activation. */
87965
87969
  video_url?: string | undefined;
87970
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
87971
+ media_status?: ('pending' | 'available' | 'unavailable' | 'failed') | undefined;
87966
87972
  } | {
87967
87973
  /** ID of the event. */
87968
87974
  event_id: string;
@@ -93614,6 +93620,8 @@ export type Routes = {
93614
93620
  image_url?: string | undefined;
93615
93621
  /** URL to a short video clip captured at the time of activation. */
93616
93622
  video_url?: string | undefined;
93623
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
93624
+ media_status?: ('pending' | 'available' | 'unavailable' | 'failed') | undefined;
93617
93625
  } | {
93618
93626
  /** ID of the event. */
93619
93627
  event_id: string;
@@ -134255,6 +134263,8 @@ export type Routes = {
134255
134263
  image_url?: string | undefined;
134256
134264
  /** URL to a short video clip captured at the time of activation. */
134257
134265
  video_url?: string | undefined;
134266
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
134267
+ media_status?: ('pending' | 'available' | 'unavailable' | 'failed') | undefined;
134258
134268
  } | {
134259
134269
  /** ID of the event. */
134260
134270
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1082.0",
3
+ "version": "1.1083.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -852,6 +852,12 @@ export const camera_activated_event = device_event.extend({
852
852
  .url()
853
853
  .optional()
854
854
  .describe('URL to a short video clip captured at the time of activation.'),
855
+ media_status: z
856
+ .enum(['pending', 'available', 'unavailable', 'failed'])
857
+ .optional()
858
+ .describe(
859
+ 'Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed.',
860
+ ),
855
861
  }).describe(`
856
862
  ---
857
863
  route_path: /devices
@@ -29111,6 +29111,12 @@ const openapi: OpenAPISpec = {
29111
29111
  format: 'uri',
29112
29112
  type: 'string',
29113
29113
  },
29114
+ media_status: {
29115
+ description:
29116
+ 'Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed.',
29117
+ enum: ['pending', 'available', 'unavailable', 'failed'],
29118
+ type: 'string',
29119
+ },
29114
29120
  motion_sub_type: {
29115
29121
  description: 'Sub-type of motion detected, if available.',
29116
29122
  enum: ['human', 'vehicle', 'package', 'other'],
@@ -62715,6 +62715,10 @@ export type Routes = {
62715
62715
  image_url?: string | undefined
62716
62716
  /** URL to a short video clip captured at the time of activation. */
62717
62717
  video_url?: string | undefined
62718
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
62719
+ media_status?:
62720
+ | ('pending' | 'available' | 'unavailable' | 'failed')
62721
+ | undefined
62718
62722
  }
62719
62723
  | {
62720
62724
  /** ID of the event. */
@@ -67008,6 +67012,9 @@ export type Routes = {
67008
67012
  image_url?: string | undefined
67009
67013
  /** URL to a short video clip captured at the time of activation. */
67010
67014
  video_url?: string | undefined
67015
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
67016
+ media_status?:
67017
+ ('pending' | 'available' | 'unavailable' | 'failed') | undefined
67011
67018
  }
67012
67019
  | {
67013
67020
  /** ID of the event. */
@@ -105533,6 +105540,9 @@ export type Routes = {
105533
105540
  image_url?: string | undefined
105534
105541
  /** URL to a short video clip captured at the time of activation. */
105535
105542
  video_url?: string | undefined
105543
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
105544
+ media_status?:
105545
+ ('pending' | 'available' | 'unavailable' | 'failed') | undefined
105536
105546
  }
105537
105547
  | {
105538
105548
  /** ID of the event. */
@@ -112171,6 +112181,9 @@ export type Routes = {
112171
112181
  image_url?: string | undefined
112172
112182
  /** URL to a short video clip captured at the time of activation. */
112173
112183
  video_url?: string | undefined
112184
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
112185
+ media_status?:
112186
+ ('pending' | 'available' | 'unavailable' | 'failed') | undefined
112174
112187
  }
112175
112188
  | {
112176
112189
  /** ID of the event. */
@@ -160481,6 +160494,10 @@ export type Routes = {
160481
160494
  image_url?: string | undefined
160482
160495
  /** URL to a short video clip captured at the time of activation. */
160483
160496
  video_url?: string | undefined
160497
+ /** Status of the recorded clip and thumbnail for this activation, when the camera supports event recordings. `pending` while Seam retrieves the recording, `available` once it is stored, `unavailable` if no recording covers the activation, and `failed` if retrieval failed. */
160498
+ media_status?:
160499
+ | ('pending' | 'available' | 'unavailable' | 'failed')
160500
+ | undefined
160484
160501
  }
160485
160502
  | {
160486
160503
  /** ID of the event. */