@seamapi/types 1.1076.0 → 1.1077.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.
|
@@ -41427,6 +41427,58 @@ export type Routes = {
|
|
|
41427
41427
|
};
|
|
41428
41428
|
maxDuration: undefined;
|
|
41429
41429
|
};
|
|
41430
|
+
'/cameras/live_views/create': {
|
|
41431
|
+
route: '/cameras/live_views/create';
|
|
41432
|
+
method: 'POST';
|
|
41433
|
+
queryParams: {};
|
|
41434
|
+
jsonBody: {
|
|
41435
|
+
device_id: string;
|
|
41436
|
+
include_audio?: boolean;
|
|
41437
|
+
duration_seconds?: number;
|
|
41438
|
+
};
|
|
41439
|
+
commonParams: {};
|
|
41440
|
+
formData: {};
|
|
41441
|
+
jsonResponse: {
|
|
41442
|
+
camera_live_view_session: {
|
|
41443
|
+
camera_live_view_session_id: string;
|
|
41444
|
+
device_id: string;
|
|
41445
|
+
expires_at: string;
|
|
41446
|
+
token: string;
|
|
41447
|
+
};
|
|
41448
|
+
};
|
|
41449
|
+
maxDuration: undefined;
|
|
41450
|
+
};
|
|
41451
|
+
'/cameras/live_views/offer': {
|
|
41452
|
+
route: '/cameras/live_views/offer';
|
|
41453
|
+
method: 'POST';
|
|
41454
|
+
queryParams: {};
|
|
41455
|
+
jsonBody: {
|
|
41456
|
+
camera_live_view_session_id: string;
|
|
41457
|
+
token: string;
|
|
41458
|
+
/** WebRTC SDP, limited to 64 KiB of UTF-8 data. */
|
|
41459
|
+
sdp_offer: string;
|
|
41460
|
+
};
|
|
41461
|
+
commonParams: {};
|
|
41462
|
+
formData: {};
|
|
41463
|
+
jsonResponse: {
|
|
41464
|
+
/** WebRTC SDP, limited to 64 KiB of UTF-8 data. */
|
|
41465
|
+
sdp_answer: string;
|
|
41466
|
+
};
|
|
41467
|
+
maxDuration: undefined;
|
|
41468
|
+
};
|
|
41469
|
+
'/cameras/live_views/stop': {
|
|
41470
|
+
route: '/cameras/live_views/stop';
|
|
41471
|
+
method: 'POST';
|
|
41472
|
+
queryParams: {};
|
|
41473
|
+
jsonBody: {
|
|
41474
|
+
camera_live_view_session_id: string;
|
|
41475
|
+
token: string;
|
|
41476
|
+
};
|
|
41477
|
+
commonParams: {};
|
|
41478
|
+
formData: {};
|
|
41479
|
+
jsonResponse: {};
|
|
41480
|
+
maxDuration: undefined;
|
|
41481
|
+
};
|
|
41430
41482
|
'/client_sessions/create': {
|
|
41431
41483
|
route: '/client_sessions/create';
|
|
41432
41484
|
method: 'POST' | 'PUT';
|
package/package.json
CHANGED
|
@@ -46324,6 +46324,191 @@ const openapi: OpenAPISpec = {
|
|
|
46324
46324
|
'x-undocumented': 'Not yet for customer use.',
|
|
46325
46325
|
},
|
|
46326
46326
|
},
|
|
46327
|
+
'/cameras/live_views/create': {
|
|
46328
|
+
post: {
|
|
46329
|
+
description: 'Creates a short-lived, single-camera live view session.',
|
|
46330
|
+
operationId: 'camerasLiveViewsCreatePost',
|
|
46331
|
+
requestBody: {
|
|
46332
|
+
content: {
|
|
46333
|
+
'application/json': {
|
|
46334
|
+
schema: {
|
|
46335
|
+
additionalProperties: false,
|
|
46336
|
+
properties: {
|
|
46337
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
46338
|
+
duration_seconds: {
|
|
46339
|
+
default: 600,
|
|
46340
|
+
maximum: 600,
|
|
46341
|
+
minimum: 1,
|
|
46342
|
+
type: 'integer',
|
|
46343
|
+
},
|
|
46344
|
+
include_audio: { default: false, type: 'boolean' },
|
|
46345
|
+
},
|
|
46346
|
+
required: ['device_id'],
|
|
46347
|
+
type: 'object',
|
|
46348
|
+
},
|
|
46349
|
+
},
|
|
46350
|
+
},
|
|
46351
|
+
},
|
|
46352
|
+
responses: {
|
|
46353
|
+
'200': {
|
|
46354
|
+
content: {
|
|
46355
|
+
'application/json': {
|
|
46356
|
+
schema: {
|
|
46357
|
+
properties: {
|
|
46358
|
+
camera_live_view_session: {
|
|
46359
|
+
properties: {
|
|
46360
|
+
camera_live_view_session_id: {
|
|
46361
|
+
format: 'uuid',
|
|
46362
|
+
type: 'string',
|
|
46363
|
+
},
|
|
46364
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
46365
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
46366
|
+
token: { maxLength: 512, minLength: 1, type: 'string' },
|
|
46367
|
+
},
|
|
46368
|
+
required: [
|
|
46369
|
+
'camera_live_view_session_id',
|
|
46370
|
+
'device_id',
|
|
46371
|
+
'expires_at',
|
|
46372
|
+
'token',
|
|
46373
|
+
],
|
|
46374
|
+
type: 'object',
|
|
46375
|
+
},
|
|
46376
|
+
ok: { type: 'boolean' },
|
|
46377
|
+
},
|
|
46378
|
+
required: ['camera_live_view_session', 'ok'],
|
|
46379
|
+
type: 'object',
|
|
46380
|
+
},
|
|
46381
|
+
},
|
|
46382
|
+
},
|
|
46383
|
+
description: 'OK',
|
|
46384
|
+
},
|
|
46385
|
+
'400': { description: 'Bad Request' },
|
|
46386
|
+
'401': { description: 'Unauthorized' },
|
|
46387
|
+
},
|
|
46388
|
+
security: [{ client_session: [] }],
|
|
46389
|
+
summary: '/cameras/live_views/create',
|
|
46390
|
+
tags: [],
|
|
46391
|
+
'x-fern-sdk-group-name': ['cameras', 'live_views'],
|
|
46392
|
+
'x-fern-sdk-method-name': 'create',
|
|
46393
|
+
'x-fern-sdk-return-value': 'camera_live_view_session',
|
|
46394
|
+
'x-response-key': 'camera_live_view_session',
|
|
46395
|
+
'x-title': 'Create a Camera Live View Session',
|
|
46396
|
+
'x-undocumented': 'Camera pilot; not yet for customer use.',
|
|
46397
|
+
},
|
|
46398
|
+
},
|
|
46399
|
+
'/cameras/live_views/offer': {
|
|
46400
|
+
post: {
|
|
46401
|
+
description:
|
|
46402
|
+
'Exchanges one WebRTC offer for an authorized camera live view session.',
|
|
46403
|
+
operationId: 'camerasLiveViewsOfferPost',
|
|
46404
|
+
requestBody: {
|
|
46405
|
+
content: {
|
|
46406
|
+
'application/json': {
|
|
46407
|
+
schema: {
|
|
46408
|
+
additionalProperties: false,
|
|
46409
|
+
properties: {
|
|
46410
|
+
camera_live_view_session_id: {
|
|
46411
|
+
format: 'uuid',
|
|
46412
|
+
type: 'string',
|
|
46413
|
+
},
|
|
46414
|
+
sdp_offer: {
|
|
46415
|
+
description: 'WebRTC SDP, limited to 64 KiB of UTF-8 data.',
|
|
46416
|
+
maxLength: 65_536,
|
|
46417
|
+
minLength: 1,
|
|
46418
|
+
type: 'string',
|
|
46419
|
+
},
|
|
46420
|
+
token: { maxLength: 512, minLength: 1, type: 'string' },
|
|
46421
|
+
},
|
|
46422
|
+
required: ['camera_live_view_session_id', 'token', 'sdp_offer'],
|
|
46423
|
+
type: 'object',
|
|
46424
|
+
},
|
|
46425
|
+
},
|
|
46426
|
+
},
|
|
46427
|
+
},
|
|
46428
|
+
responses: {
|
|
46429
|
+
'200': {
|
|
46430
|
+
content: {
|
|
46431
|
+
'application/json': {
|
|
46432
|
+
schema: {
|
|
46433
|
+
properties: {
|
|
46434
|
+
ok: { type: 'boolean' },
|
|
46435
|
+
sdp_answer: {
|
|
46436
|
+
description:
|
|
46437
|
+
'WebRTC SDP, limited to 64 KiB of UTF-8 data.',
|
|
46438
|
+
maxLength: 65_536,
|
|
46439
|
+
minLength: 1,
|
|
46440
|
+
type: 'string',
|
|
46441
|
+
},
|
|
46442
|
+
},
|
|
46443
|
+
required: ['sdp_answer', 'ok'],
|
|
46444
|
+
type: 'object',
|
|
46445
|
+
},
|
|
46446
|
+
},
|
|
46447
|
+
},
|
|
46448
|
+
description: 'OK',
|
|
46449
|
+
},
|
|
46450
|
+
'400': { description: 'Bad Request' },
|
|
46451
|
+
'401': { description: 'Unauthorized' },
|
|
46452
|
+
},
|
|
46453
|
+
security: [{ client_session: [] }],
|
|
46454
|
+
summary: '/cameras/live_views/offer',
|
|
46455
|
+
tags: [],
|
|
46456
|
+
'x-fern-sdk-group-name': ['cameras', 'live_views'],
|
|
46457
|
+
'x-fern-sdk-method-name': 'offer',
|
|
46458
|
+
'x-response-key': null,
|
|
46459
|
+
'x-title': 'Negotiate a Camera Live View',
|
|
46460
|
+
'x-undocumented': 'Camera pilot; not yet for customer use.',
|
|
46461
|
+
},
|
|
46462
|
+
},
|
|
46463
|
+
'/cameras/live_views/stop': {
|
|
46464
|
+
post: {
|
|
46465
|
+
description:
|
|
46466
|
+
'Stops a camera live view session owned by the current client session.',
|
|
46467
|
+
operationId: 'camerasLiveViewsStopPost',
|
|
46468
|
+
requestBody: {
|
|
46469
|
+
content: {
|
|
46470
|
+
'application/json': {
|
|
46471
|
+
schema: {
|
|
46472
|
+
additionalProperties: false,
|
|
46473
|
+
properties: {
|
|
46474
|
+
camera_live_view_session_id: {
|
|
46475
|
+
format: 'uuid',
|
|
46476
|
+
type: 'string',
|
|
46477
|
+
},
|
|
46478
|
+
token: { maxLength: 512, minLength: 1, type: 'string' },
|
|
46479
|
+
},
|
|
46480
|
+
required: ['camera_live_view_session_id', 'token'],
|
|
46481
|
+
type: 'object',
|
|
46482
|
+
},
|
|
46483
|
+
},
|
|
46484
|
+
},
|
|
46485
|
+
},
|
|
46486
|
+
responses: {
|
|
46487
|
+
'200': {
|
|
46488
|
+
content: {
|
|
46489
|
+
'application/json': {
|
|
46490
|
+
schema: {
|
|
46491
|
+
properties: { ok: { type: 'boolean' } },
|
|
46492
|
+
required: ['ok'],
|
|
46493
|
+
type: 'object',
|
|
46494
|
+
},
|
|
46495
|
+
},
|
|
46496
|
+
},
|
|
46497
|
+
description: 'OK',
|
|
46498
|
+
},
|
|
46499
|
+
'400': { description: 'Bad Request' },
|
|
46500
|
+
'401': { description: 'Unauthorized' },
|
|
46501
|
+
},
|
|
46502
|
+
security: [{ client_session: [] }],
|
|
46503
|
+
summary: '/cameras/live_views/stop',
|
|
46504
|
+
tags: [],
|
|
46505
|
+
'x-fern-sdk-group-name': ['cameras', 'live_views'],
|
|
46506
|
+
'x-fern-sdk-method-name': 'stop',
|
|
46507
|
+
'x-response-key': null,
|
|
46508
|
+
'x-title': 'Stop a Camera Live View Session',
|
|
46509
|
+
'x-undocumented': 'Camera pilot; not yet for customer use.',
|
|
46510
|
+
},
|
|
46511
|
+
},
|
|
46327
46512
|
'/client_sessions/create': {
|
|
46328
46513
|
put: {
|
|
46329
46514
|
description:
|
|
@@ -48574,6 +48574,58 @@ export type Routes = {
|
|
|
48574
48574
|
}
|
|
48575
48575
|
maxDuration: undefined
|
|
48576
48576
|
}
|
|
48577
|
+
'/cameras/live_views/create': {
|
|
48578
|
+
route: '/cameras/live_views/create'
|
|
48579
|
+
method: 'POST'
|
|
48580
|
+
queryParams: {}
|
|
48581
|
+
jsonBody: {
|
|
48582
|
+
device_id: string
|
|
48583
|
+
include_audio?: boolean
|
|
48584
|
+
duration_seconds?: number
|
|
48585
|
+
}
|
|
48586
|
+
commonParams: {}
|
|
48587
|
+
formData: {}
|
|
48588
|
+
jsonResponse: {
|
|
48589
|
+
camera_live_view_session: {
|
|
48590
|
+
camera_live_view_session_id: string
|
|
48591
|
+
device_id: string
|
|
48592
|
+
expires_at: string
|
|
48593
|
+
token: string
|
|
48594
|
+
}
|
|
48595
|
+
}
|
|
48596
|
+
maxDuration: undefined
|
|
48597
|
+
}
|
|
48598
|
+
'/cameras/live_views/offer': {
|
|
48599
|
+
route: '/cameras/live_views/offer'
|
|
48600
|
+
method: 'POST'
|
|
48601
|
+
queryParams: {}
|
|
48602
|
+
jsonBody: {
|
|
48603
|
+
camera_live_view_session_id: string
|
|
48604
|
+
token: string
|
|
48605
|
+
/** WebRTC SDP, limited to 64 KiB of UTF-8 data. */
|
|
48606
|
+
sdp_offer: string
|
|
48607
|
+
}
|
|
48608
|
+
commonParams: {}
|
|
48609
|
+
formData: {}
|
|
48610
|
+
jsonResponse: {
|
|
48611
|
+
/** WebRTC SDP, limited to 64 KiB of UTF-8 data. */
|
|
48612
|
+
sdp_answer: string
|
|
48613
|
+
}
|
|
48614
|
+
maxDuration: undefined
|
|
48615
|
+
}
|
|
48616
|
+
'/cameras/live_views/stop': {
|
|
48617
|
+
route: '/cameras/live_views/stop'
|
|
48618
|
+
method: 'POST'
|
|
48619
|
+
queryParams: {}
|
|
48620
|
+
jsonBody: {
|
|
48621
|
+
camera_live_view_session_id: string
|
|
48622
|
+
token: string
|
|
48623
|
+
}
|
|
48624
|
+
commonParams: {}
|
|
48625
|
+
formData: {}
|
|
48626
|
+
jsonResponse: {}
|
|
48627
|
+
maxDuration: undefined
|
|
48628
|
+
}
|
|
48577
48629
|
'/client_sessions/create': {
|
|
48578
48630
|
route: '/client_sessions/create'
|
|
48579
48631
|
method: 'POST' | 'PUT'
|