@seamapi/types 1.1157.0 → 1.1158.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.
@@ -55902,6 +55902,85 @@ const openapi = {
55902
55902
  'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
55903
55903
  },
55904
55904
  },
55905
+ '/seam/console/v1/cameras/live_views/create': {
55906
+ post: {
55907
+ description: 'Creates a camera live view session and a short-lived client session that owns it. Console passes the returned client session token to `/cameras/live_views/offer` and `/cameras/live_views/stop`.',
55908
+ operationId: 'seamConsoleV1CamerasLiveViewsCreatePost',
55909
+ requestBody: {
55910
+ content: {
55911
+ 'application/json': {
55912
+ schema: {
55913
+ additionalProperties: false,
55914
+ properties: {
55915
+ device_id: {
55916
+ description: 'ID of the camera to view.',
55917
+ format: 'uuid',
55918
+ type: 'string',
55919
+ },
55920
+ duration_seconds: {
55921
+ default: 600,
55922
+ description: 'Number of seconds for which the live view session is valid, up to 600.',
55923
+ maximum: 600,
55924
+ minimum: 1,
55925
+ type: 'integer',
55926
+ },
55927
+ include_audio: {
55928
+ default: false,
55929
+ description: "Indicates whether to include the camera's audio.",
55930
+ type: 'boolean',
55931
+ },
55932
+ },
55933
+ required: ['device_id'],
55934
+ type: 'object',
55935
+ },
55936
+ },
55937
+ },
55938
+ },
55939
+ responses: {
55940
+ '200': {
55941
+ content: {
55942
+ 'application/json': {
55943
+ schema: {
55944
+ properties: {
55945
+ camera_live_view_session: {
55946
+ $ref: '#/components/schemas/camera_live_view_session',
55947
+ },
55948
+ client_session: {
55949
+ $ref: '#/components/schemas/client_session',
55950
+ },
55951
+ ok: { type: 'boolean' },
55952
+ },
55953
+ required: [
55954
+ 'camera_live_view_session',
55955
+ 'client_session',
55956
+ 'ok',
55957
+ ],
55958
+ type: 'object',
55959
+ },
55960
+ },
55961
+ },
55962
+ description: 'OK',
55963
+ },
55964
+ '400': { description: 'Bad Request' },
55965
+ '401': { description: 'Unauthorized' },
55966
+ },
55967
+ security: [{ console_session_with_workspace: [] }],
55968
+ summary: '/seam/console/v1/cameras/live_views/create',
55969
+ tags: [],
55970
+ 'x-fern-sdk-group-name': [
55971
+ 'seam',
55972
+ 'console',
55973
+ 'v1',
55974
+ 'cameras',
55975
+ 'live_views',
55976
+ ],
55977
+ 'x-fern-sdk-method-name': 'create',
55978
+ 'x-fern-sdk-return-value': 'camera_live_view_session',
55979
+ 'x-response-key': 'camera_live_view_session',
55980
+ 'x-title': 'Create a Camera Live View Session for Console',
55981
+ 'x-undocumented': 'Internal endpoint for Console',
55982
+ },
55983
+ },
55905
55984
  '/seam/console/v1/get_resource_locator': {
55906
55985
  get: {
55907
55986
  description: 'Returns the type and system information of a resource given its UUID.',