@seamapi/types 1.745.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.
@@ -35924,6 +35924,10 @@ export type Routes = {
35924
35924
  activation_reason: 'motion_detected';
35925
35925
  /** Sub-type of motion detected, if available. */
35926
35926
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
35927
+ /** URL to a thumbnail image captured at the time of activation. */
35928
+ image_url?: string | undefined;
35929
+ /** URL to a short video clip captured at the time of activation. */
35930
+ video_url?: string | undefined;
35927
35931
  } | {
35928
35932
  /** ID of the event. */
35929
35933
  event_id: string;
@@ -35948,6 +35952,10 @@ export type Routes = {
35948
35952
  [x: string]: string | boolean;
35949
35953
  } | undefined;
35950
35954
  event_type: 'device.doorbell_rang';
35955
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
35956
+ image_url?: string | undefined;
35957
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
35958
+ video_url?: string | undefined;
35951
35959
  } | {
35952
35960
  /** ID of the event. */
35953
35961
  event_id: string;
@@ -38744,6 +38752,10 @@ export type Routes = {
38744
38752
  activation_reason: 'motion_detected';
38745
38753
  /** Sub-type of motion detected, if available. */
38746
38754
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
38755
+ /** URL to a thumbnail image captured at the time of activation. */
38756
+ image_url?: string | undefined;
38757
+ /** URL to a short video clip captured at the time of activation. */
38758
+ video_url?: string | undefined;
38747
38759
  } | {
38748
38760
  /** ID of the event. */
38749
38761
  event_id: string;
@@ -38768,6 +38780,10 @@ export type Routes = {
38768
38780
  [x: string]: string | boolean;
38769
38781
  } | undefined;
38770
38782
  event_type: 'device.doorbell_rang';
38783
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
38784
+ image_url?: string | undefined;
38785
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
38786
+ video_url?: string | undefined;
38771
38787
  } | {
38772
38788
  /** ID of the event. */
38773
38789
  event_id: string;
@@ -61568,6 +61584,10 @@ export type Routes = {
61568
61584
  activation_reason: 'motion_detected';
61569
61585
  /** Sub-type of motion detected, if available. */
61570
61586
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
61587
+ /** URL to a thumbnail image captured at the time of activation. */
61588
+ image_url?: string | undefined;
61589
+ /** URL to a short video clip captured at the time of activation. */
61590
+ video_url?: string | undefined;
61571
61591
  } | {
61572
61592
  /** ID of the event. */
61573
61593
  event_id: string;
@@ -61592,6 +61612,10 @@ export type Routes = {
61592
61612
  [x: string]: string | boolean;
61593
61613
  } | undefined;
61594
61614
  event_type: 'device.doorbell_rang';
61615
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
61616
+ image_url?: string | undefined;
61617
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
61618
+ video_url?: string | undefined;
61595
61619
  } | {
61596
61620
  /** ID of the event. */
61597
61621
  event_id: string;
@@ -92474,6 +92498,10 @@ export type Routes = {
92474
92498
  activation_reason: 'motion_detected';
92475
92499
  /** Sub-type of motion detected, if available. */
92476
92500
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
92501
+ /** URL to a thumbnail image captured at the time of activation. */
92502
+ image_url?: string | undefined;
92503
+ /** URL to a short video clip captured at the time of activation. */
92504
+ video_url?: string | undefined;
92477
92505
  } | {
92478
92506
  /** ID of the event. */
92479
92507
  event_id: string;
@@ -92498,6 +92526,10 @@ export type Routes = {
92498
92526
  [x: string]: string | boolean;
92499
92527
  } | undefined;
92500
92528
  event_type: 'device.doorbell_rang';
92529
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
92530
+ image_url?: string | undefined;
92531
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
92532
+ video_url?: string | undefined;
92501
92533
  } | {
92502
92534
  /** ID of the event. */
92503
92535
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.745.0",
3
+ "version": "1.746.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -715,6 +715,16 @@ export const camera_activated_event = device_event.extend({
715
715
  .enum(['human', 'vehicle', 'package', 'other'])
716
716
  .optional()
717
717
  .describe('Sub-type of motion detected, if available.'),
718
+ image_url: z
719
+ .string()
720
+ .url()
721
+ .optional()
722
+ .describe('URL to a thumbnail image captured at the time of activation.'),
723
+ video_url: z
724
+ .string()
725
+ .url()
726
+ .optional()
727
+ .describe('URL to a short video clip captured at the time of activation.'),
718
728
  }).describe(`
719
729
  ---
720
730
  route_path: /devices
@@ -726,6 +736,20 @@ export type CameraActivatedEvent = z.infer<typeof camera_activated_event>
726
736
 
727
737
  export const device_doorbell_rang_event = device_event.extend({
728
738
  event_type: z.literal('device.doorbell_rang'),
739
+ image_url: z
740
+ .string()
741
+ .url()
742
+ .optional()
743
+ .describe(
744
+ 'URL to a thumbnail image captured at the time the doorbell was pressed.',
745
+ ),
746
+ video_url: z
747
+ .string()
748
+ .url()
749
+ .optional()
750
+ .describe(
751
+ 'URL to a short video clip captured at the time the doorbell was pressed.',
752
+ ),
729
753
  }).describe(`
730
754
  ---
731
755
  route_path: /devices
@@ -23162,6 +23162,12 @@ export default {
23162
23162
  type: 'string',
23163
23163
  },
23164
23164
  event_type: { enum: ['camera.activated'], type: 'string' },
23165
+ image_url: {
23166
+ description:
23167
+ 'URL to a thumbnail image captured at the time of activation.',
23168
+ format: 'uri',
23169
+ type: 'string',
23170
+ },
23165
23171
  motion_sub_type: {
23166
23172
  description: 'Sub-type of motion detected, if available.',
23167
23173
  enum: ['human', 'vehicle', 'package', 'other'],
@@ -23172,6 +23178,12 @@ export default {
23172
23178
  format: 'date-time',
23173
23179
  type: 'string',
23174
23180
  },
23181
+ video_url: {
23182
+ description:
23183
+ 'URL to a short video clip captured at the time of activation.',
23184
+ format: 'uri',
23185
+ type: 'string',
23186
+ },
23175
23187
  workspace_id: {
23176
23188
  description:
23177
23189
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
@@ -23239,11 +23251,23 @@ export default {
23239
23251
  type: 'string',
23240
23252
  },
23241
23253
  event_type: { enum: ['device.doorbell_rang'], type: 'string' },
23254
+ image_url: {
23255
+ description:
23256
+ 'URL to a thumbnail image captured at the time the doorbell was pressed.',
23257
+ format: 'uri',
23258
+ type: 'string',
23259
+ },
23242
23260
  occurred_at: {
23243
23261
  description: 'Date and time at which the event occurred.',
23244
23262
  format: 'date-time',
23245
23263
  type: 'string',
23246
23264
  },
23265
+ video_url: {
23266
+ description:
23267
+ 'URL to a short video clip captured at the time the doorbell was pressed.',
23268
+ format: 'uri',
23269
+ type: 'string',
23270
+ },
23247
23271
  workspace_id: {
23248
23272
  description:
23249
23273
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
@@ -42531,6 +42531,10 @@ export type Routes = {
42531
42531
  motion_sub_type?:
42532
42532
  | ('human' | 'vehicle' | 'package' | 'other')
42533
42533
  | undefined
42534
+ /** URL to a thumbnail image captured at the time of activation. */
42535
+ image_url?: string | undefined
42536
+ /** URL to a short video clip captured at the time of activation. */
42537
+ video_url?: string | undefined
42534
42538
  }
42535
42539
  | {
42536
42540
  /** ID of the event. */
@@ -42560,6 +42564,10 @@ export type Routes = {
42560
42564
  }
42561
42565
  | undefined
42562
42566
  event_type: 'device.doorbell_rang'
42567
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
42568
+ image_url?: string | undefined
42569
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
42570
+ video_url?: string | undefined
42563
42571
  }
42564
42572
  | {
42565
42573
  /** ID of the event. */
@@ -45912,6 +45920,10 @@ export type Routes = {
45912
45920
  motion_sub_type?:
45913
45921
  | ('human' | 'vehicle' | 'package' | 'other')
45914
45922
  | undefined
45923
+ /** URL to a thumbnail image captured at the time of activation. */
45924
+ image_url?: string | undefined
45925
+ /** URL to a short video clip captured at the time of activation. */
45926
+ video_url?: string | undefined
45915
45927
  }
45916
45928
  | {
45917
45929
  /** ID of the event. */
@@ -45941,6 +45953,10 @@ export type Routes = {
45941
45953
  }
45942
45954
  | undefined
45943
45955
  event_type: 'device.doorbell_rang'
45956
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
45957
+ image_url?: string | undefined
45958
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
45959
+ video_url?: string | undefined
45944
45960
  }
45945
45961
  | {
45946
45962
  /** ID of the event. */
@@ -73152,6 +73168,10 @@ export type Routes = {
73152
73168
  motion_sub_type?:
73153
73169
  | ('human' | 'vehicle' | 'package' | 'other')
73154
73170
  | undefined
73171
+ /** URL to a thumbnail image captured at the time of activation. */
73172
+ image_url?: string | undefined
73173
+ /** URL to a short video clip captured at the time of activation. */
73174
+ video_url?: string | undefined
73155
73175
  }
73156
73176
  | {
73157
73177
  /** ID of the event. */
@@ -73181,6 +73201,10 @@ export type Routes = {
73181
73201
  }
73182
73202
  | undefined
73183
73203
  event_type: 'device.doorbell_rang'
73204
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
73205
+ image_url?: string | undefined
73206
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
73207
+ video_url?: string | undefined
73184
73208
  }
73185
73209
  | {
73186
73210
  /** ID of the event. */
@@ -109588,6 +109612,10 @@ export type Routes = {
109588
109612
  motion_sub_type?:
109589
109613
  | ('human' | 'vehicle' | 'package' | 'other')
109590
109614
  | undefined
109615
+ /** URL to a thumbnail image captured at the time of activation. */
109616
+ image_url?: string | undefined
109617
+ /** URL to a short video clip captured at the time of activation. */
109618
+ video_url?: string | undefined
109591
109619
  }
109592
109620
  | {
109593
109621
  /** ID of the event. */
@@ -109617,6 +109645,10 @@ export type Routes = {
109617
109645
  }
109618
109646
  | undefined
109619
109647
  event_type: 'device.doorbell_rang'
109648
+ /** URL to a thumbnail image captured at the time the doorbell was pressed. */
109649
+ image_url?: string | undefined
109650
+ /** URL to a short video clip captured at the time the doorbell was pressed. */
109651
+ video_url?: string | undefined
109620
109652
  }
109621
109653
  | {
109622
109654
  /** ID of the event. */