@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.
|
@@ -91325,6 +91325,39 @@ export type Routes = {
|
|
|
91325
91325
|
};
|
|
91326
91326
|
maxDuration: undefined;
|
|
91327
91327
|
};
|
|
91328
|
+
'/seam/console/v1/cameras/live_views/create': {
|
|
91329
|
+
route: '/seam/console/v1/cameras/live_views/create';
|
|
91330
|
+
method: 'POST';
|
|
91331
|
+
queryParams: {};
|
|
91332
|
+
jsonBody: {
|
|
91333
|
+
/** ID of the camera to view. */
|
|
91334
|
+
device_id: string;
|
|
91335
|
+
/** Indicates whether to include the camera's audio. */
|
|
91336
|
+
include_audio?: boolean;
|
|
91337
|
+
/** Number of seconds for which the live view session is valid, up to 600. */
|
|
91338
|
+
duration_seconds?: number;
|
|
91339
|
+
};
|
|
91340
|
+
commonParams: {};
|
|
91341
|
+
formData: {};
|
|
91342
|
+
jsonResponse: {
|
|
91343
|
+
/** 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. */
|
|
91344
|
+
camera_live_view_session: {
|
|
91345
|
+
/** ID of the camera live view session. */
|
|
91346
|
+
camera_live_view_session_id: string;
|
|
91347
|
+
/** ID of the camera. */
|
|
91348
|
+
device_id: string;
|
|
91349
|
+
/** Token that authorizes the offer and stop requests for this session. */
|
|
91350
|
+
token: string;
|
|
91351
|
+
/** Date and time at which the live view session expires. */
|
|
91352
|
+
expires_at: string;
|
|
91353
|
+
};
|
|
91354
|
+
client_session: {
|
|
91355
|
+
client_session_id: string;
|
|
91356
|
+
token: string;
|
|
91357
|
+
};
|
|
91358
|
+
};
|
|
91359
|
+
maxDuration: undefined;
|
|
91360
|
+
};
|
|
91328
91361
|
'/seam/console/v1/get_resource_locator': {
|
|
91329
91362
|
route: '/seam/console/v1/get_resource_locator';
|
|
91330
91363
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -61558,6 +61558,88 @@ const openapi: OpenAPISpec = {
|
|
|
61558
61558
|
'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
61559
61559
|
},
|
|
61560
61560
|
},
|
|
61561
|
+
'/seam/console/v1/cameras/live_views/create': {
|
|
61562
|
+
post: {
|
|
61563
|
+
description:
|
|
61564
|
+
'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`.',
|
|
61565
|
+
operationId: 'seamConsoleV1CamerasLiveViewsCreatePost',
|
|
61566
|
+
requestBody: {
|
|
61567
|
+
content: {
|
|
61568
|
+
'application/json': {
|
|
61569
|
+
schema: {
|
|
61570
|
+
additionalProperties: false,
|
|
61571
|
+
properties: {
|
|
61572
|
+
device_id: {
|
|
61573
|
+
description: 'ID of the camera to view.',
|
|
61574
|
+
format: 'uuid',
|
|
61575
|
+
type: 'string',
|
|
61576
|
+
},
|
|
61577
|
+
duration_seconds: {
|
|
61578
|
+
default: 600,
|
|
61579
|
+
description:
|
|
61580
|
+
'Number of seconds for which the live view session is valid, up to 600.',
|
|
61581
|
+
maximum: 600,
|
|
61582
|
+
minimum: 1,
|
|
61583
|
+
type: 'integer',
|
|
61584
|
+
},
|
|
61585
|
+
include_audio: {
|
|
61586
|
+
default: false,
|
|
61587
|
+
description:
|
|
61588
|
+
"Indicates whether to include the camera's audio.",
|
|
61589
|
+
type: 'boolean',
|
|
61590
|
+
},
|
|
61591
|
+
},
|
|
61592
|
+
required: ['device_id'],
|
|
61593
|
+
type: 'object',
|
|
61594
|
+
},
|
|
61595
|
+
},
|
|
61596
|
+
},
|
|
61597
|
+
},
|
|
61598
|
+
responses: {
|
|
61599
|
+
'200': {
|
|
61600
|
+
content: {
|
|
61601
|
+
'application/json': {
|
|
61602
|
+
schema: {
|
|
61603
|
+
properties: {
|
|
61604
|
+
camera_live_view_session: {
|
|
61605
|
+
$ref: '#/components/schemas/camera_live_view_session',
|
|
61606
|
+
},
|
|
61607
|
+
client_session: {
|
|
61608
|
+
$ref: '#/components/schemas/client_session',
|
|
61609
|
+
},
|
|
61610
|
+
ok: { type: 'boolean' },
|
|
61611
|
+
},
|
|
61612
|
+
required: [
|
|
61613
|
+
'camera_live_view_session',
|
|
61614
|
+
'client_session',
|
|
61615
|
+
'ok',
|
|
61616
|
+
],
|
|
61617
|
+
type: 'object',
|
|
61618
|
+
},
|
|
61619
|
+
},
|
|
61620
|
+
},
|
|
61621
|
+
description: 'OK',
|
|
61622
|
+
},
|
|
61623
|
+
'400': { description: 'Bad Request' },
|
|
61624
|
+
'401': { description: 'Unauthorized' },
|
|
61625
|
+
},
|
|
61626
|
+
security: [{ console_session_with_workspace: [] }],
|
|
61627
|
+
summary: '/seam/console/v1/cameras/live_views/create',
|
|
61628
|
+
tags: [],
|
|
61629
|
+
'x-fern-sdk-group-name': [
|
|
61630
|
+
'seam',
|
|
61631
|
+
'console',
|
|
61632
|
+
'v1',
|
|
61633
|
+
'cameras',
|
|
61634
|
+
'live_views',
|
|
61635
|
+
],
|
|
61636
|
+
'x-fern-sdk-method-name': 'create',
|
|
61637
|
+
'x-fern-sdk-return-value': 'camera_live_view_session',
|
|
61638
|
+
'x-response-key': 'camera_live_view_session',
|
|
61639
|
+
'x-title': 'Create a Camera Live View Session for Console',
|
|
61640
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
61641
|
+
},
|
|
61642
|
+
},
|
|
61561
61643
|
'/seam/console/v1/get_resource_locator': {
|
|
61562
61644
|
get: {
|
|
61563
61645
|
description:
|
|
@@ -109042,6 +109042,39 @@ export type Routes = {
|
|
|
109042
109042
|
}
|
|
109043
109043
|
maxDuration: undefined
|
|
109044
109044
|
}
|
|
109045
|
+
'/seam/console/v1/cameras/live_views/create': {
|
|
109046
|
+
route: '/seam/console/v1/cameras/live_views/create'
|
|
109047
|
+
method: 'POST'
|
|
109048
|
+
queryParams: {}
|
|
109049
|
+
jsonBody: {
|
|
109050
|
+
/** ID of the camera to view. */
|
|
109051
|
+
device_id: string
|
|
109052
|
+
/** Indicates whether to include the camera's audio. */
|
|
109053
|
+
include_audio?: boolean
|
|
109054
|
+
/** Number of seconds for which the live view session is valid, up to 600. */
|
|
109055
|
+
duration_seconds?: number
|
|
109056
|
+
}
|
|
109057
|
+
commonParams: {}
|
|
109058
|
+
formData: {}
|
|
109059
|
+
jsonResponse: {
|
|
109060
|
+
/** 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. */
|
|
109061
|
+
camera_live_view_session: {
|
|
109062
|
+
/** ID of the camera live view session. */
|
|
109063
|
+
camera_live_view_session_id: string
|
|
109064
|
+
/** ID of the camera. */
|
|
109065
|
+
device_id: string
|
|
109066
|
+
/** Token that authorizes the offer and stop requests for this session. */
|
|
109067
|
+
token: string
|
|
109068
|
+
/** Date and time at which the live view session expires. */
|
|
109069
|
+
expires_at: string
|
|
109070
|
+
}
|
|
109071
|
+
client_session: {
|
|
109072
|
+
client_session_id: string
|
|
109073
|
+
token: string
|
|
109074
|
+
}
|
|
109075
|
+
}
|
|
109076
|
+
maxDuration: undefined
|
|
109077
|
+
}
|
|
109045
109078
|
'/seam/console/v1/get_resource_locator': {
|
|
109046
109079
|
route: '/seam/console/v1/get_resource_locator'
|
|
109047
109080
|
method: 'GET' | 'POST'
|