@seamapi/types 1.1084.0 → 1.1085.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.
Files changed (38) hide show
  1. package/lib/seam/connect/model-types.d.ts +1 -1
  2. package/lib/seam/connect/models/cameras/camera-live-view-answer.d.ts +9 -0
  3. package/lib/seam/connect/models/cameras/camera-live-view-answer.js +12 -0
  4. package/lib/seam/connect/models/cameras/camera-live-view-answer.js.map +1 -0
  5. package/lib/seam/connect/models/cameras/camera-live-view-session.d.ts +18 -0
  6. package/lib/seam/connect/models/cameras/camera-live-view-session.js +21 -0
  7. package/lib/seam/connect/models/cameras/camera-live-view-session.js.map +1 -0
  8. package/lib/seam/connect/models/cameras/index.d.ts +2 -0
  9. package/lib/seam/connect/models/cameras/index.js +3 -0
  10. package/lib/seam/connect/models/cameras/index.js.map +1 -0
  11. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -1
  12. package/lib/seam/connect/models/devices/device-provider.js +2 -2
  13. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  14. package/lib/seam/connect/models/devices/device.d.ts +6 -0
  15. package/lib/seam/connect/models/devices/device.js +3 -0
  16. package/lib/seam/connect/models/devices/device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -0
  18. package/lib/seam/connect/models/index.d.ts +1 -0
  19. package/lib/seam/connect/models/index.js +1 -0
  20. package/lib/seam/connect/models/index.js.map +1 -1
  21. package/lib/seam/connect/openapi.js +98 -35
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +65 -8
  24. package/lib/seam/connect/schemas.d.ts +1 -1
  25. package/lib/seam/connect/schemas.js +1 -1
  26. package/lib/seam/connect/schemas.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/internal/schemas.ts +2 -0
  29. package/src/lib/seam/connect/model-types.ts +2 -0
  30. package/src/lib/seam/connect/models/cameras/camera-live-view-answer.ts +16 -0
  31. package/src/lib/seam/connect/models/cameras/camera-live-view-session.ts +28 -0
  32. package/src/lib/seam/connect/models/cameras/index.ts +2 -0
  33. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -2
  34. package/src/lib/seam/connect/models/devices/device.ts +5 -0
  35. package/src/lib/seam/connect/models/index.ts +1 -0
  36. package/src/lib/seam/connect/openapi.ts +112 -36
  37. package/src/lib/seam/connect/route-types.ts +65 -4
  38. package/src/lib/seam/connect/schemas.ts +2 -0
@@ -14058,6 +14058,8 @@ export type Routes = {
14058
14058
  can_simulate_paid_subscription?: boolean | undefined;
14059
14059
  /** Indicates whether the lock supports configuring automatic locking. */
14060
14060
  can_configure_auto_lock?: boolean | undefined;
14061
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
14062
+ can_stream_live_video?: boolean | undefined;
14061
14063
  }[] | undefined;
14062
14064
  acs_entrances?: {
14063
14065
  /** ID of the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) that contains the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
@@ -21290,6 +21292,8 @@ export type Routes = {
21290
21292
  can_simulate_paid_subscription?: boolean | undefined;
21291
21293
  /** Indicates whether the lock supports configuring automatic locking. */
21292
21294
  can_configure_auto_lock?: boolean | undefined;
21295
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
21296
+ can_stream_live_video?: boolean | undefined;
21293
21297
  }[] | undefined;
21294
21298
  acs_entrances?: {
21295
21299
  /** ID of the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) that contains the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
@@ -41917,18 +41921,26 @@ export type Routes = {
41917
41921
  method: 'POST';
41918
41922
  queryParams: {};
41919
41923
  jsonBody: {
41924
+ /** ID of the camera to view. */
41920
41925
  device_id: string;
41926
+ /** Indicates whether to include the camera's audio. */
41921
41927
  include_audio?: boolean;
41928
+ /** Number of seconds for which the live view session is valid, up to 600. */
41922
41929
  duration_seconds?: number;
41923
41930
  };
41924
41931
  commonParams: {};
41925
41932
  formData: {};
41926
41933
  jsonResponse: {
41934
+ /** Represents a short-lived live view session for a single camera. Use the session ID and token to start a WebRTC stream and to stop the session. */
41927
41935
  camera_live_view_session: {
41936
+ /** ID of the camera live view session. */
41928
41937
  camera_live_view_session_id: string;
41938
+ /** ID of the camera. */
41929
41939
  device_id: string;
41930
- expires_at: string;
41940
+ /** Token that authorizes the offer and stop requests for this session. */
41931
41941
  token: string;
41942
+ /** Date and time at which the live view session expires. */
41943
+ expires_at: string;
41932
41944
  };
41933
41945
  };
41934
41946
  maxDuration: undefined;
@@ -41938,16 +41950,21 @@ export type Routes = {
41938
41950
  method: 'POST';
41939
41951
  queryParams: {};
41940
41952
  jsonBody: {
41953
+ /** ID of the camera live view session. */
41941
41954
  camera_live_view_session_id: string;
41955
+ /** Token returned when the camera live view session was created. */
41942
41956
  token: string;
41943
- /** WebRTC SDP, limited to 64 KiB of UTF-8 data. */
41957
+ /** WebRTC SDP offer from the viewer, limited to 64 KiB of UTF-8 data. */
41944
41958
  sdp_offer: string;
41945
41959
  };
41946
41960
  commonParams: {};
41947
41961
  formData: {};
41948
41962
  jsonResponse: {
41949
- /** WebRTC SDP, limited to 64 KiB of UTF-8 data. */
41950
- sdp_answer: string;
41963
+ /** Represents the WebRTC SDP answer that starts streaming video from a camera for a live view session. */
41964
+ camera_live_view_answer: {
41965
+ /** WebRTC SDP answer for the offer, limited to 64 KiB of UTF-8 data. */
41966
+ sdp_answer: string;
41967
+ };
41951
41968
  };
41952
41969
  maxDuration: undefined;
41953
41970
  };
@@ -41956,7 +41973,9 @@ export type Routes = {
41956
41973
  method: 'POST';
41957
41974
  queryParams: {};
41958
41975
  jsonBody: {
41976
+ /** ID of the camera live view session. */
41959
41977
  camera_live_view_session_id: string;
41978
+ /** Token returned when the camera live view session was created. */
41960
41979
  token: string;
41961
41980
  };
41962
41981
  commonParams: {};
@@ -45651,6 +45670,8 @@ export type Routes = {
45651
45670
  can_simulate_paid_subscription?: boolean | undefined;
45652
45671
  /** Indicates whether the lock supports configuring automatic locking. */
45653
45672
  can_configure_auto_lock?: boolean | undefined;
45673
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
45674
+ can_stream_live_video?: boolean | undefined;
45654
45675
  };
45655
45676
  };
45656
45677
  maxDuration: undefined;
@@ -45690,9 +45711,9 @@ export type Routes = {
45690
45711
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
45691
45712
  page_cursor?: (string | undefined) | null;
45692
45713
  /** */
45693
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
45714
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock' | 'can_stream_live_video')[] | undefined;
45694
45715
  /** */
45695
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
45716
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock' | 'can_stream_live_video')[] | undefined;
45696
45717
  /**
45697
45718
  * @deprecated Use `space_id`.*/
45698
45719
  unstable_location_id?: (string | null) | undefined;
@@ -47234,6 +47255,8 @@ export type Routes = {
47234
47255
  can_simulate_paid_subscription?: boolean | undefined;
47235
47256
  /** Indicates whether the lock supports configuring automatic locking. */
47236
47257
  can_configure_auto_lock?: boolean | undefined;
47258
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
47259
+ can_stream_live_video?: boolean | undefined;
47237
47260
  }[];
47238
47261
  /** Information about the current page of results. */
47239
47262
  pagination: {
@@ -47309,6 +47332,8 @@ export type Routes = {
47309
47332
  can_simulate_paid_subscription?: boolean | undefined;
47310
47333
  /** Indicates whether the lock supports configuring automatic locking. */
47311
47334
  can_configure_auto_lock?: boolean | undefined;
47335
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
47336
+ can_stream_live_video?: boolean | undefined;
47312
47337
  }[];
47313
47338
  };
47314
47339
  maxDuration: undefined;
@@ -47926,6 +47951,8 @@ export type Routes = {
47926
47951
  can_simulate_paid_subscription?: boolean | undefined;
47927
47952
  /** Indicates whether the lock supports configuring automatic locking. */
47928
47953
  can_configure_auto_lock?: boolean | undefined;
47954
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
47955
+ can_stream_live_video?: boolean | undefined;
47929
47956
  };
47930
47957
  };
47931
47958
  maxDuration: undefined;
@@ -47957,9 +47984,9 @@ export type Routes = {
47957
47984
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
47958
47985
  page_cursor?: (string | undefined) | null;
47959
47986
  /** */
47960
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
47987
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock' | 'can_stream_live_video')[] | undefined;
47961
47988
  /** */
47962
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
47989
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_activate_weekly_program' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock' | 'can_stream_live_video')[] | undefined;
47963
47990
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`. */
47964
47991
  search?: string | undefined;
47965
47992
  /** Numerical limit on the number of devices to return. */
@@ -48457,6 +48484,8 @@ export type Routes = {
48457
48484
  can_simulate_paid_subscription?: boolean | undefined;
48458
48485
  /** Indicates whether the lock supports configuring automatic locking. */
48459
48486
  can_configure_auto_lock?: boolean | undefined;
48487
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
48488
+ can_stream_live_video?: boolean | undefined;
48460
48489
  }[];
48461
48490
  /** Information about the current page of results. */
48462
48491
  pagination: {
@@ -59228,6 +59257,8 @@ export type Routes = {
59228
59257
  can_simulate_paid_subscription?: boolean | undefined;
59229
59258
  /** Indicates whether the lock supports configuring automatic locking. */
59230
59259
  can_configure_auto_lock?: boolean | undefined;
59260
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
59261
+ can_stream_live_video?: boolean | undefined;
59231
59262
  };
59232
59263
  /** Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam. */
59233
59264
  device: {
@@ -60761,6 +60792,8 @@ export type Routes = {
60761
60792
  can_simulate_paid_subscription?: boolean | undefined;
60762
60793
  /** Indicates whether the lock supports configuring automatic locking. */
60763
60794
  can_configure_auto_lock?: boolean | undefined;
60795
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
60796
+ can_stream_live_video?: boolean | undefined;
60764
60797
  };
60765
60798
  };
60766
60799
  maxDuration: undefined;
@@ -62317,6 +62350,8 @@ export type Routes = {
62317
62350
  can_simulate_paid_subscription?: boolean | undefined;
62318
62351
  /** Indicates whether the lock supports configuring automatic locking. */
62319
62352
  can_configure_auto_lock?: boolean | undefined;
62353
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
62354
+ can_stream_live_video?: boolean | undefined;
62320
62355
  }[];
62321
62356
  devices: {
62322
62357
  /** ID of the device. */
@@ -63849,6 +63884,8 @@ export type Routes = {
63849
63884
  can_simulate_paid_subscription?: boolean | undefined;
63850
63885
  /** Indicates whether the lock supports configuring automatic locking. */
63851
63886
  can_configure_auto_lock?: boolean | undefined;
63887
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
63888
+ can_stream_live_video?: boolean | undefined;
63852
63889
  }[];
63853
63890
  };
63854
63891
  maxDuration: undefined;
@@ -72791,6 +72828,8 @@ export type Routes = {
72791
72828
  can_simulate_paid_subscription?: boolean | undefined;
72792
72829
  /** Indicates whether the lock supports configuring automatic locking. */
72793
72830
  can_configure_auto_lock?: boolean | undefined;
72831
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
72832
+ can_stream_live_video?: boolean | undefined;
72794
72833
  }[];
72795
72834
  devices: {
72796
72835
  /** ID of the device. */
@@ -74323,6 +74362,8 @@ export type Routes = {
74323
74362
  can_simulate_paid_subscription?: boolean | undefined;
74324
74363
  /** Indicates whether the lock supports configuring automatic locking. */
74325
74364
  can_configure_auto_lock?: boolean | undefined;
74365
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
74366
+ can_stream_live_video?: boolean | undefined;
74326
74367
  }[];
74327
74368
  };
74328
74369
  maxDuration: undefined;
@@ -95568,6 +95609,8 @@ export type Routes = {
95568
95609
  can_simulate_paid_subscription?: boolean | undefined;
95569
95610
  /** Indicates whether the lock supports configuring automatic locking. */
95570
95611
  can_configure_auto_lock?: boolean | undefined;
95612
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
95613
+ can_stream_live_video?: boolean | undefined;
95571
95614
  }[] | undefined;
95572
95615
  acs_entrances?: {
95573
95616
  /** ID of the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) that contains the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
@@ -105521,6 +105564,8 @@ export type Routes = {
105521
105564
  can_simulate_paid_subscription?: boolean | undefined;
105522
105565
  /** Indicates whether the lock supports configuring automatic locking. */
105523
105566
  can_configure_auto_lock?: boolean | undefined;
105567
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
105568
+ can_stream_live_video?: boolean | undefined;
105524
105569
  };
105525
105570
  };
105526
105571
  maxDuration: undefined;
@@ -110783,6 +110828,8 @@ export type Routes = {
110783
110828
  can_simulate_paid_subscription?: boolean | undefined;
110784
110829
  /** Indicates whether the lock supports configuring automatic locking. */
110785
110830
  can_configure_auto_lock?: boolean | undefined;
110831
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
110832
+ can_stream_live_video?: boolean | undefined;
110786
110833
  }[];
110787
110834
  devices: {
110788
110835
  /** ID of the device. */
@@ -112315,6 +112362,8 @@ export type Routes = {
112315
112362
  can_simulate_paid_subscription?: boolean | undefined;
112316
112363
  /** Indicates whether the lock supports configuring automatic locking. */
112317
112364
  can_configure_auto_lock?: boolean | undefined;
112365
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
112366
+ can_stream_live_video?: boolean | undefined;
112318
112367
  }[];
112319
112368
  };
112320
112369
  maxDuration: undefined;
@@ -122241,6 +122290,8 @@ export type Routes = {
122241
122290
  can_simulate_paid_subscription?: boolean | undefined;
122242
122291
  /** Indicates whether the lock supports configuring automatic locking. */
122243
122292
  can_configure_auto_lock?: boolean | undefined;
122293
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
122294
+ can_stream_live_video?: boolean | undefined;
122244
122295
  }[];
122245
122296
  /**
122246
122297
  * @deprecated Use devices.*/
@@ -123775,6 +123826,8 @@ export type Routes = {
123775
123826
  can_simulate_paid_subscription?: boolean | undefined;
123776
123827
  /** Indicates whether the lock supports configuring automatic locking. */
123777
123828
  can_configure_auto_lock?: boolean | undefined;
123829
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
123830
+ can_stream_live_video?: boolean | undefined;
123778
123831
  }[];
123779
123832
  };
123780
123833
  maxDuration: undefined;
@@ -126646,6 +126699,8 @@ export type Routes = {
126646
126699
  can_simulate_paid_subscription?: boolean | undefined;
126647
126700
  /** Indicates whether the lock supports configuring automatic locking. */
126648
126701
  can_configure_auto_lock?: boolean | undefined;
126702
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
126703
+ can_stream_live_video?: boolean | undefined;
126649
126704
  }[] | undefined;
126650
126705
  acs_entrances?: {
126651
126706
  /** ID of the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) that contains the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
@@ -130229,6 +130284,8 @@ export type Routes = {
130229
130284
  can_simulate_paid_subscription?: boolean | undefined;
130230
130285
  /** Indicates whether the lock supports configuring automatic locking. */
130231
130286
  can_configure_auto_lock?: boolean | undefined;
130287
+ /** Indicates whether the camera supports streaming live video through a camera live view session. */
130288
+ can_stream_live_video?: boolean | undefined;
130232
130289
  }[] | undefined;
130233
130290
  connect_webviews?: {
130234
130291
  /** ID of the Connect Webview. */
@@ -1 +1 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customer_portal, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, camera_live_view_answer, camera_live_view_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customer_portal, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customer_portal, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, camera_live_view_answer, camera_live_view_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customer_portal, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1084.0",
3
+ "version": "1.1085.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,6 +29,8 @@ export {
29
29
  bridge_connected_system,
30
30
  building_resource,
31
31
  camera_device_type,
32
+ camera_live_view_answer,
33
+ camera_live_view_session,
32
34
  capabilities,
33
35
  climate_preset,
34
36
  climate_setting,
@@ -13,6 +13,8 @@ export type {
13
13
  ActionAttempt,
14
14
  Batch,
15
15
  Bridge,
16
+ CameraLiveViewAnswer,
17
+ CameraLiveViewSession,
16
18
  ClientSession,
17
19
  ClimatePreset,
18
20
  ConnectedAccount,
@@ -0,0 +1,16 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ export const camera_live_view_answer = z.object({
4
+ sdp_answer: z
5
+ .string()
6
+ .describe(
7
+ 'WebRTC SDP answer for the offer, limited to 64 KiB of UTF-8 data.',
8
+ ),
9
+ }).describe(`
10
+ ---
11
+ route_path: /cameras/live_views
12
+ ---
13
+ Represents the WebRTC SDP answer that starts streaming video from a camera for a live view session.
14
+ `)
15
+
16
+ export type CameraLiveViewAnswer = z.infer<typeof camera_live_view_answer>
@@ -0,0 +1,28 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ import { datetime } from '../datetime.js'
4
+
5
+ export const camera_live_view_session = z.object({
6
+ camera_live_view_session_id: z
7
+ .string()
8
+ .uuid()
9
+ .describe('ID of the camera live view session.'),
10
+ device_id: z.string().uuid().describe('ID of the camera.'),
11
+ token: z
12
+ .string()
13
+ .min(1)
14
+ .max(512)
15
+ .describe(
16
+ 'Token that authorizes the offer and stop requests for this session.',
17
+ ),
18
+ expires_at: datetime.describe(
19
+ 'Date and time at which the live view session expires.',
20
+ ),
21
+ }).describe(`
22
+ ---
23
+ route_path: /cameras/live_views
24
+ ---
25
+ Represents a short-lived live view session for a single camera. Use the session ID and token to start a WebRTC stream and to stop the session.
26
+ `)
27
+
28
+ export type CameraLiveViewSession = z.infer<typeof camera_live_view_session>
@@ -0,0 +1,2 @@
1
+ export * from './camera-live-view-answer.js'
2
+ export * from './camera-live-view-session.js'
@@ -152,7 +152,7 @@ export const PROVIDER_CATEGORY_MAP = {
152
152
  'yacan',
153
153
  ],
154
154
 
155
- beta: ['salto_ks_accept', 'aqara'],
155
+ beta: ['salto_ks_accept', 'aqara', 'tapo', 'arlo'],
156
156
 
157
157
  thermostats: ['ecobee', 'nest', 'sensi', 'honeywell_resideo', 'first_alert'],
158
158
  noise_sensors: ['minut', 'noiseaware'],
@@ -210,7 +210,7 @@ export const PROVIDER_CATEGORY_CAPABILITY_MAP: Record<
210
210
  > = {
211
211
  stable: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
212
212
  consumer_smartlocks: ['lock'],
213
- beta: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
213
+ beta: ['lock', 'thermostat', 'noise_sensor', 'access_control', 'camera'],
214
214
  thermostats: ['thermostat'],
215
215
  noise_sensors: ['noise_sensor'],
216
216
  access_control_systems: ['access_control'],
@@ -106,6 +106,11 @@ export const device_capability_flags = z
106
106
  .describe(
107
107
  'Indicates whether the lock supports configuring automatic locking.',
108
108
  ),
109
+ can_stream_live_video: z
110
+ .boolean()
111
+ .describe(
112
+ 'Indicates whether the camera supports streaming live video through a camera live view session.',
113
+ ),
109
114
  })
110
115
  .partial()
111
116
 
@@ -5,6 +5,7 @@ export * from './action-attempts/index.js'
5
5
  export * from './batch.js'
6
6
  export * from './bridges/index.js'
7
7
  export * from './bridges/index.js'
8
+ export * from './cameras/index.js'
8
9
  export * from './client-sessions/index.js'
9
10
  export * from './connect-webviews/index.js'
10
11
  export * from './connected-accounts/index.js'