@stream-io/node-sdk 0.1.9 → 0.1.10
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.
- package/dist/index.cjs.js +311 -57
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +311 -57
- package/dist/index.es.js.map +1 -1
- package/dist/src/StreamCall.d.ts +2 -2
- package/dist/src/StreamClient.d.ts +3 -3
- package/dist/src/StreamVideoClient.d.ts +7 -1
- package/dist/src/gen/video/apis/DefaultApi.d.ts +4 -3
- package/dist/src/gen/video/apis/ServerSideApi.d.ts +30 -3
- package/dist/src/gen/video/apis/SettingsApi.d.ts +54 -0
- package/dist/src/gen/video/apis/index.d.ts +1 -0
- package/dist/src/gen/video/models/index.d.ts +425 -1450
- package/dist/src/gen/video/runtime.d.ts +2 -2
- package/package.json +1 -1
- package/src/StreamCall.ts +7 -7
- package/src/StreamClient.ts +21 -2
- package/src/StreamVideoClient.ts +38 -5
- package/src/gen/video/.openapi-generator/FILES +1 -0
- package/src/gen/video/apis/DefaultApi.ts +39 -30
- package/src/gen/video/apis/ServerSideApi.ts +114 -7
- package/src/gen/video/apis/SettingsApi.ts +169 -0
- package/src/gen/video/apis/index.ts +1 -0
- package/src/gen/video/models/index.ts +428 -1353
- package/src/gen/video/runtime.ts +3 -3
|
@@ -189,6 +189,37 @@ export declare const VideoAudioSettingsRequestDefaultDeviceEnum: {
|
|
|
189
189
|
readonly EARPIECE: "earpiece";
|
|
190
190
|
};
|
|
191
191
|
export type VideoAudioSettingsRequestDefaultDeviceEnum = typeof VideoAudioSettingsRequestDefaultDeviceEnum[keyof typeof VideoAudioSettingsRequestDefaultDeviceEnum];
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @export
|
|
195
|
+
* @interface VideoAzureRequest
|
|
196
|
+
*/
|
|
197
|
+
export interface VideoAzureRequest {
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof VideoAzureRequest
|
|
202
|
+
*/
|
|
203
|
+
abs_account_name: string;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof VideoAzureRequest
|
|
208
|
+
*/
|
|
209
|
+
abs_client_id: string;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof VideoAzureRequest
|
|
214
|
+
*/
|
|
215
|
+
abs_client_secret: string;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof VideoAzureRequest
|
|
220
|
+
*/
|
|
221
|
+
abs_tenant_id: string;
|
|
222
|
+
}
|
|
192
223
|
/**
|
|
193
224
|
*
|
|
194
225
|
* @export
|
|
@@ -241,44 +272,6 @@ export interface VideoBlockUserResponse {
|
|
|
241
272
|
*/
|
|
242
273
|
duration: string;
|
|
243
274
|
}
|
|
244
|
-
/**
|
|
245
|
-
* This event is sent to call participants to notify when a user is blocked on a call, clients can use this event to show a notification.
|
|
246
|
-
* If the user is the current user, the client should leave the call screen as well
|
|
247
|
-
* @export
|
|
248
|
-
* @interface VideoBlockedUserEvent
|
|
249
|
-
*/
|
|
250
|
-
export interface VideoBlockedUserEvent {
|
|
251
|
-
/**
|
|
252
|
-
*
|
|
253
|
-
* @type {VideoUserResponse}
|
|
254
|
-
* @memberof VideoBlockedUserEvent
|
|
255
|
-
*/
|
|
256
|
-
blocked_by_user?: VideoUserResponse;
|
|
257
|
-
/**
|
|
258
|
-
*
|
|
259
|
-
* @type {string}
|
|
260
|
-
* @memberof VideoBlockedUserEvent
|
|
261
|
-
*/
|
|
262
|
-
call_cid: string;
|
|
263
|
-
/**
|
|
264
|
-
*
|
|
265
|
-
* @type {string}
|
|
266
|
-
* @memberof VideoBlockedUserEvent
|
|
267
|
-
*/
|
|
268
|
-
created_at: string;
|
|
269
|
-
/**
|
|
270
|
-
* The type of event: "call.blocked_user" in this case
|
|
271
|
-
* @type {string}
|
|
272
|
-
* @memberof VideoBlockedUserEvent
|
|
273
|
-
*/
|
|
274
|
-
type: string;
|
|
275
|
-
/**
|
|
276
|
-
*
|
|
277
|
-
* @type {VideoUserResponse}
|
|
278
|
-
* @memberof VideoBlockedUserEvent
|
|
279
|
-
*/
|
|
280
|
-
user: VideoUserResponse;
|
|
281
|
-
}
|
|
282
275
|
/**
|
|
283
276
|
*
|
|
284
277
|
* @export
|
|
@@ -317,199 +310,6 @@ export interface VideoBroadcastSettingsResponse {
|
|
|
317
310
|
*/
|
|
318
311
|
hls: VideoHLSSettingsResponse;
|
|
319
312
|
}
|
|
320
|
-
/**
|
|
321
|
-
* This event is sent when a user accepts a notification to join a call.
|
|
322
|
-
* @export
|
|
323
|
-
* @interface VideoCallAcceptedEvent
|
|
324
|
-
*/
|
|
325
|
-
export interface VideoCallAcceptedEvent {
|
|
326
|
-
/**
|
|
327
|
-
*
|
|
328
|
-
* @type {VideoCallResponse}
|
|
329
|
-
* @memberof VideoCallAcceptedEvent
|
|
330
|
-
*/
|
|
331
|
-
call: VideoCallResponse;
|
|
332
|
-
/**
|
|
333
|
-
*
|
|
334
|
-
* @type {string}
|
|
335
|
-
* @memberof VideoCallAcceptedEvent
|
|
336
|
-
*/
|
|
337
|
-
call_cid: string;
|
|
338
|
-
/**
|
|
339
|
-
*
|
|
340
|
-
* @type {string}
|
|
341
|
-
* @memberof VideoCallAcceptedEvent
|
|
342
|
-
*/
|
|
343
|
-
created_at: string;
|
|
344
|
-
/**
|
|
345
|
-
* The type of event: "call.accepted" in this case
|
|
346
|
-
* @type {string}
|
|
347
|
-
* @memberof VideoCallAcceptedEvent
|
|
348
|
-
*/
|
|
349
|
-
type: string;
|
|
350
|
-
/**
|
|
351
|
-
*
|
|
352
|
-
* @type {VideoUserResponse}
|
|
353
|
-
* @memberof VideoCallAcceptedEvent
|
|
354
|
-
*/
|
|
355
|
-
user: VideoUserResponse;
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* This event is sent when a call is created. Clients receiving this event should check if the ringing
|
|
359
|
-
* field is set to true and if so, show the call screen
|
|
360
|
-
* @export
|
|
361
|
-
* @interface VideoCallCreatedEvent
|
|
362
|
-
*/
|
|
363
|
-
export interface VideoCallCreatedEvent {
|
|
364
|
-
/**
|
|
365
|
-
*
|
|
366
|
-
* @type {VideoCallResponse}
|
|
367
|
-
* @memberof VideoCallCreatedEvent
|
|
368
|
-
*/
|
|
369
|
-
call: VideoCallResponse;
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @type {string}
|
|
373
|
-
* @memberof VideoCallCreatedEvent
|
|
374
|
-
*/
|
|
375
|
-
call_cid: string;
|
|
376
|
-
/**
|
|
377
|
-
*
|
|
378
|
-
* @type {string}
|
|
379
|
-
* @memberof VideoCallCreatedEvent
|
|
380
|
-
*/
|
|
381
|
-
created_at: string;
|
|
382
|
-
/**
|
|
383
|
-
* the members added to this call
|
|
384
|
-
* @type {Array<VideoMemberResponse>}
|
|
385
|
-
* @memberof VideoCallCreatedEvent
|
|
386
|
-
*/
|
|
387
|
-
members: Array<VideoMemberResponse>;
|
|
388
|
-
/**
|
|
389
|
-
* The type of event: "call.created" in this case
|
|
390
|
-
* @type {string}
|
|
391
|
-
* @memberof VideoCallCreatedEvent
|
|
392
|
-
*/
|
|
393
|
-
type: string;
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* This event is sent when a call is mark as ended for all its participants. Clients receiving this event should leave the call screen
|
|
397
|
-
* @export
|
|
398
|
-
* @interface VideoCallEndedEvent
|
|
399
|
-
*/
|
|
400
|
-
export interface VideoCallEndedEvent {
|
|
401
|
-
/**
|
|
402
|
-
*
|
|
403
|
-
* @type {VideoCallResponse}
|
|
404
|
-
* @memberof VideoCallEndedEvent
|
|
405
|
-
*/
|
|
406
|
-
call: VideoCallResponse;
|
|
407
|
-
/**
|
|
408
|
-
*
|
|
409
|
-
* @type {string}
|
|
410
|
-
* @memberof VideoCallEndedEvent
|
|
411
|
-
*/
|
|
412
|
-
call_cid: string;
|
|
413
|
-
/**
|
|
414
|
-
*
|
|
415
|
-
* @type {string}
|
|
416
|
-
* @memberof VideoCallEndedEvent
|
|
417
|
-
*/
|
|
418
|
-
created_at: string;
|
|
419
|
-
/**
|
|
420
|
-
* The type of event: "call.ended" in this case
|
|
421
|
-
* @type {string}
|
|
422
|
-
* @memberof VideoCallEndedEvent
|
|
423
|
-
*/
|
|
424
|
-
type: string;
|
|
425
|
-
/**
|
|
426
|
-
*
|
|
427
|
-
* @type {VideoUserResponse}
|
|
428
|
-
* @memberof VideoCallEndedEvent
|
|
429
|
-
*/
|
|
430
|
-
user?: VideoUserResponse;
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* This event is sent when HLS broadcasting has failed
|
|
434
|
-
* @export
|
|
435
|
-
* @interface VideoCallHLSBroadcastingFailedEvent
|
|
436
|
-
*/
|
|
437
|
-
export interface VideoCallHLSBroadcastingFailedEvent {
|
|
438
|
-
/**
|
|
439
|
-
*
|
|
440
|
-
* @type {string}
|
|
441
|
-
* @memberof VideoCallHLSBroadcastingFailedEvent
|
|
442
|
-
*/
|
|
443
|
-
call_cid: string;
|
|
444
|
-
/**
|
|
445
|
-
*
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof VideoCallHLSBroadcastingFailedEvent
|
|
448
|
-
*/
|
|
449
|
-
created_at: string;
|
|
450
|
-
/**
|
|
451
|
-
* The type of event: "call.hls_broadcasting_failed" in this case
|
|
452
|
-
* @type {string}
|
|
453
|
-
* @memberof VideoCallHLSBroadcastingFailedEvent
|
|
454
|
-
*/
|
|
455
|
-
type: string;
|
|
456
|
-
}
|
|
457
|
-
/**
|
|
458
|
-
* This event is sent when HLS broadcasting has started
|
|
459
|
-
* @export
|
|
460
|
-
* @interface VideoCallHLSBroadcastingStartedEvent
|
|
461
|
-
*/
|
|
462
|
-
export interface VideoCallHLSBroadcastingStartedEvent {
|
|
463
|
-
/**
|
|
464
|
-
*
|
|
465
|
-
* @type {string}
|
|
466
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
467
|
-
*/
|
|
468
|
-
call_cid: string;
|
|
469
|
-
/**
|
|
470
|
-
*
|
|
471
|
-
* @type {string}
|
|
472
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
473
|
-
*/
|
|
474
|
-
created_at: string;
|
|
475
|
-
/**
|
|
476
|
-
*
|
|
477
|
-
* @type {string}
|
|
478
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
479
|
-
*/
|
|
480
|
-
hls_playlist_url: string;
|
|
481
|
-
/**
|
|
482
|
-
* The type of event: "call.hls_broadcasting_started" in this case
|
|
483
|
-
* @type {string}
|
|
484
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
485
|
-
*/
|
|
486
|
-
type: string;
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* This event is sent when HLS broadcasting has stopped
|
|
490
|
-
* @export
|
|
491
|
-
* @interface VideoCallHLSBroadcastingStoppedEvent
|
|
492
|
-
*/
|
|
493
|
-
export interface VideoCallHLSBroadcastingStoppedEvent {
|
|
494
|
-
/**
|
|
495
|
-
*
|
|
496
|
-
* @type {string}
|
|
497
|
-
* @memberof VideoCallHLSBroadcastingStoppedEvent
|
|
498
|
-
*/
|
|
499
|
-
call_cid: string;
|
|
500
|
-
/**
|
|
501
|
-
*
|
|
502
|
-
* @type {string}
|
|
503
|
-
* @memberof VideoCallHLSBroadcastingStoppedEvent
|
|
504
|
-
*/
|
|
505
|
-
created_at: string;
|
|
506
|
-
/**
|
|
507
|
-
* The type of event: "call.hls_broadcasting_stopped" in this case
|
|
508
|
-
* @type {string}
|
|
509
|
-
* @memberof VideoCallHLSBroadcastingStoppedEvent
|
|
510
|
-
*/
|
|
511
|
-
type: string;
|
|
512
|
-
}
|
|
513
313
|
/**
|
|
514
314
|
*
|
|
515
315
|
* @export
|
|
@@ -523,242 +323,6 @@ export interface VideoCallIngressResponse {
|
|
|
523
323
|
*/
|
|
524
324
|
rtmp: VideoRTMPIngress;
|
|
525
325
|
}
|
|
526
|
-
/**
|
|
527
|
-
* This event is sent when a call is started. Clients receiving this event should start the call.
|
|
528
|
-
* @export
|
|
529
|
-
* @interface VideoCallLiveStartedEvent
|
|
530
|
-
*/
|
|
531
|
-
export interface VideoCallLiveStartedEvent {
|
|
532
|
-
/**
|
|
533
|
-
*
|
|
534
|
-
* @type {VideoCallResponse}
|
|
535
|
-
* @memberof VideoCallLiveStartedEvent
|
|
536
|
-
*/
|
|
537
|
-
call: VideoCallResponse;
|
|
538
|
-
/**
|
|
539
|
-
*
|
|
540
|
-
* @type {string}
|
|
541
|
-
* @memberof VideoCallLiveStartedEvent
|
|
542
|
-
*/
|
|
543
|
-
call_cid: string;
|
|
544
|
-
/**
|
|
545
|
-
*
|
|
546
|
-
* @type {string}
|
|
547
|
-
* @memberof VideoCallLiveStartedEvent
|
|
548
|
-
*/
|
|
549
|
-
created_at: string;
|
|
550
|
-
/**
|
|
551
|
-
* The type of event: "call.live_started" in this case
|
|
552
|
-
* @type {string}
|
|
553
|
-
* @memberof VideoCallLiveStartedEvent
|
|
554
|
-
*/
|
|
555
|
-
type: string;
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* This event is sent when one or more members are added to a call
|
|
559
|
-
* @export
|
|
560
|
-
* @interface VideoCallMemberAddedEvent
|
|
561
|
-
*/
|
|
562
|
-
export interface VideoCallMemberAddedEvent {
|
|
563
|
-
/**
|
|
564
|
-
*
|
|
565
|
-
* @type {VideoCallResponse}
|
|
566
|
-
* @memberof VideoCallMemberAddedEvent
|
|
567
|
-
*/
|
|
568
|
-
call: VideoCallResponse;
|
|
569
|
-
/**
|
|
570
|
-
*
|
|
571
|
-
* @type {string}
|
|
572
|
-
* @memberof VideoCallMemberAddedEvent
|
|
573
|
-
*/
|
|
574
|
-
call_cid: string;
|
|
575
|
-
/**
|
|
576
|
-
*
|
|
577
|
-
* @type {string}
|
|
578
|
-
* @memberof VideoCallMemberAddedEvent
|
|
579
|
-
*/
|
|
580
|
-
created_at: string;
|
|
581
|
-
/**
|
|
582
|
-
* the members added to this call
|
|
583
|
-
* @type {Array<VideoMemberResponse>}
|
|
584
|
-
* @memberof VideoCallMemberAddedEvent
|
|
585
|
-
*/
|
|
586
|
-
members: Array<VideoMemberResponse>;
|
|
587
|
-
/**
|
|
588
|
-
* The type of event: "call.member_added" in this case
|
|
589
|
-
* @type {string}
|
|
590
|
-
* @memberof VideoCallMemberAddedEvent
|
|
591
|
-
*/
|
|
592
|
-
type: string;
|
|
593
|
-
}
|
|
594
|
-
/**
|
|
595
|
-
* This event is sent when one or more members are removed from a call
|
|
596
|
-
* @export
|
|
597
|
-
* @interface VideoCallMemberRemovedEvent
|
|
598
|
-
*/
|
|
599
|
-
export interface VideoCallMemberRemovedEvent {
|
|
600
|
-
/**
|
|
601
|
-
*
|
|
602
|
-
* @type {VideoCallResponse}
|
|
603
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
604
|
-
*/
|
|
605
|
-
call: VideoCallResponse;
|
|
606
|
-
/**
|
|
607
|
-
*
|
|
608
|
-
* @type {string}
|
|
609
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
610
|
-
*/
|
|
611
|
-
call_cid: string;
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* @type {string}
|
|
615
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
616
|
-
*/
|
|
617
|
-
created_at: string;
|
|
618
|
-
/**
|
|
619
|
-
* the list of member IDs removed from the call
|
|
620
|
-
* @type {Array<string>}
|
|
621
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
622
|
-
*/
|
|
623
|
-
members: Array<string>;
|
|
624
|
-
/**
|
|
625
|
-
* The type of event: "call.member_removed" in this case
|
|
626
|
-
* @type {string}
|
|
627
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
628
|
-
*/
|
|
629
|
-
type: string;
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* This event is sent when one or more members are updated
|
|
633
|
-
* @export
|
|
634
|
-
* @interface VideoCallMemberUpdatedEvent
|
|
635
|
-
*/
|
|
636
|
-
export interface VideoCallMemberUpdatedEvent {
|
|
637
|
-
/**
|
|
638
|
-
*
|
|
639
|
-
* @type {VideoCallResponse}
|
|
640
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
641
|
-
*/
|
|
642
|
-
call: VideoCallResponse;
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @type {string}
|
|
646
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
647
|
-
*/
|
|
648
|
-
call_cid: string;
|
|
649
|
-
/**
|
|
650
|
-
*
|
|
651
|
-
* @type {string}
|
|
652
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
653
|
-
*/
|
|
654
|
-
created_at: string;
|
|
655
|
-
/**
|
|
656
|
-
* The list of members that were updated
|
|
657
|
-
* @type {Array<VideoMemberResponse>}
|
|
658
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
659
|
-
*/
|
|
660
|
-
members: Array<VideoMemberResponse>;
|
|
661
|
-
/**
|
|
662
|
-
* The type of event: "call.member_updated" in this case
|
|
663
|
-
* @type {string}
|
|
664
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
665
|
-
*/
|
|
666
|
-
type: string;
|
|
667
|
-
}
|
|
668
|
-
/**
|
|
669
|
-
* This event is sent when one or more members get its role updated
|
|
670
|
-
* @export
|
|
671
|
-
* @interface VideoCallMemberUpdatedPermissionEvent
|
|
672
|
-
*/
|
|
673
|
-
export interface VideoCallMemberUpdatedPermissionEvent {
|
|
674
|
-
/**
|
|
675
|
-
*
|
|
676
|
-
* @type {VideoCallResponse}
|
|
677
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
678
|
-
*/
|
|
679
|
-
call: VideoCallResponse;
|
|
680
|
-
/**
|
|
681
|
-
*
|
|
682
|
-
* @type {string}
|
|
683
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
684
|
-
*/
|
|
685
|
-
call_cid: string;
|
|
686
|
-
/**
|
|
687
|
-
* The capabilities by role for this call
|
|
688
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
689
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
690
|
-
*/
|
|
691
|
-
capabilities_by_role: {
|
|
692
|
-
[key: string]: Array<string>;
|
|
693
|
-
};
|
|
694
|
-
/**
|
|
695
|
-
*
|
|
696
|
-
* @type {string}
|
|
697
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
698
|
-
*/
|
|
699
|
-
created_at: string;
|
|
700
|
-
/**
|
|
701
|
-
* The list of members that were updated
|
|
702
|
-
* @type {Array<VideoMemberResponse>}
|
|
703
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
704
|
-
*/
|
|
705
|
-
members: Array<VideoMemberResponse>;
|
|
706
|
-
/**
|
|
707
|
-
* The type of event: "call.member_added" in this case
|
|
708
|
-
* @type {string}
|
|
709
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
710
|
-
*/
|
|
711
|
-
type: string;
|
|
712
|
-
}
|
|
713
|
-
/**
|
|
714
|
-
* This event is sent to all call members to notify they are getting called
|
|
715
|
-
* @export
|
|
716
|
-
* @interface VideoCallNotificationEvent
|
|
717
|
-
*/
|
|
718
|
-
export interface VideoCallNotificationEvent {
|
|
719
|
-
/**
|
|
720
|
-
*
|
|
721
|
-
* @type {VideoCallResponse}
|
|
722
|
-
* @memberof VideoCallNotificationEvent
|
|
723
|
-
*/
|
|
724
|
-
call: VideoCallResponse;
|
|
725
|
-
/**
|
|
726
|
-
*
|
|
727
|
-
* @type {string}
|
|
728
|
-
* @memberof VideoCallNotificationEvent
|
|
729
|
-
*/
|
|
730
|
-
call_cid: string;
|
|
731
|
-
/**
|
|
732
|
-
*
|
|
733
|
-
* @type {string}
|
|
734
|
-
* @memberof VideoCallNotificationEvent
|
|
735
|
-
*/
|
|
736
|
-
created_at: string;
|
|
737
|
-
/**
|
|
738
|
-
* Call members
|
|
739
|
-
* @type {Array<VideoMemberResponse>}
|
|
740
|
-
* @memberof VideoCallNotificationEvent
|
|
741
|
-
*/
|
|
742
|
-
members: Array<VideoMemberResponse>;
|
|
743
|
-
/**
|
|
744
|
-
* Call session ID
|
|
745
|
-
* @type {string}
|
|
746
|
-
* @memberof VideoCallNotificationEvent
|
|
747
|
-
*/
|
|
748
|
-
session_id: string;
|
|
749
|
-
/**
|
|
750
|
-
* The type of event: "call.notification" in this case
|
|
751
|
-
* @type {string}
|
|
752
|
-
* @memberof VideoCallNotificationEvent
|
|
753
|
-
*/
|
|
754
|
-
type: string;
|
|
755
|
-
/**
|
|
756
|
-
*
|
|
757
|
-
* @type {VideoUserResponse}
|
|
758
|
-
* @memberof VideoCallNotificationEvent
|
|
759
|
-
*/
|
|
760
|
-
user: VideoUserResponse;
|
|
761
|
-
}
|
|
762
326
|
/**
|
|
763
327
|
*
|
|
764
328
|
* @export
|
|
@@ -791,209 +355,35 @@ export interface VideoCallParticipantResponse {
|
|
|
791
355
|
user_session_id: string;
|
|
792
356
|
}
|
|
793
357
|
/**
|
|
794
|
-
*
|
|
795
|
-
* @export
|
|
796
|
-
* @interface
|
|
797
|
-
*/
|
|
798
|
-
export interface
|
|
799
|
-
/**
|
|
800
|
-
*
|
|
801
|
-
* @type {string}
|
|
802
|
-
* @memberof VideoCallReactionEvent
|
|
803
|
-
*/
|
|
804
|
-
call_cid: string;
|
|
805
|
-
/**
|
|
806
|
-
*
|
|
807
|
-
* @type {string}
|
|
808
|
-
* @memberof VideoCallReactionEvent
|
|
809
|
-
*/
|
|
810
|
-
created_at: string;
|
|
811
|
-
/**
|
|
812
|
-
*
|
|
813
|
-
* @type {VideoReactionResponse}
|
|
814
|
-
* @memberof VideoCallReactionEvent
|
|
815
|
-
*/
|
|
816
|
-
reaction: VideoReactionResponse;
|
|
817
|
-
/**
|
|
818
|
-
* The type of event: "call.reaction_new" in this case
|
|
819
|
-
* @type {string}
|
|
820
|
-
* @memberof VideoCallReactionEvent
|
|
821
|
-
*/
|
|
822
|
-
type: string;
|
|
823
|
-
}
|
|
824
|
-
/**
|
|
825
|
-
* CallRecording represents a recording of a call.
|
|
826
|
-
* @export
|
|
827
|
-
* @interface VideoCallRecording
|
|
828
|
-
*/
|
|
829
|
-
export interface VideoCallRecording {
|
|
830
|
-
/**
|
|
831
|
-
*
|
|
832
|
-
* @type {string}
|
|
833
|
-
* @memberof VideoCallRecording
|
|
834
|
-
*/
|
|
835
|
-
end_time: string;
|
|
836
|
-
/**
|
|
837
|
-
*
|
|
838
|
-
* @type {string}
|
|
839
|
-
* @memberof VideoCallRecording
|
|
840
|
-
*/
|
|
841
|
-
filename: string;
|
|
842
|
-
/**
|
|
843
|
-
*
|
|
844
|
-
* @type {string}
|
|
845
|
-
* @memberof VideoCallRecording
|
|
846
|
-
*/
|
|
847
|
-
start_time: string;
|
|
848
|
-
/**
|
|
849
|
-
*
|
|
850
|
-
* @type {string}
|
|
851
|
-
* @memberof VideoCallRecording
|
|
852
|
-
*/
|
|
853
|
-
url: string;
|
|
854
|
-
}
|
|
855
|
-
/**
|
|
856
|
-
* This event is sent when call recording has failed
|
|
857
|
-
* @export
|
|
858
|
-
* @interface VideoCallRecordingFailedEvent
|
|
859
|
-
*/
|
|
860
|
-
export interface VideoCallRecordingFailedEvent {
|
|
861
|
-
/**
|
|
862
|
-
*
|
|
863
|
-
* @type {string}
|
|
864
|
-
* @memberof VideoCallRecordingFailedEvent
|
|
865
|
-
*/
|
|
866
|
-
call_cid: string;
|
|
867
|
-
/**
|
|
868
|
-
*
|
|
869
|
-
* @type {string}
|
|
870
|
-
* @memberof VideoCallRecordingFailedEvent
|
|
871
|
-
*/
|
|
872
|
-
created_at: string;
|
|
873
|
-
/**
|
|
874
|
-
* The type of event: "call.recording_failed" in this case
|
|
875
|
-
* @type {string}
|
|
876
|
-
* @memberof VideoCallRecordingFailedEvent
|
|
877
|
-
*/
|
|
878
|
-
type: string;
|
|
879
|
-
}
|
|
880
|
-
/**
|
|
881
|
-
* This event is sent when call recording is ready
|
|
882
|
-
* @export
|
|
883
|
-
* @interface VideoCallRecordingReadyEvent
|
|
884
|
-
*/
|
|
885
|
-
export interface VideoCallRecordingReadyEvent {
|
|
886
|
-
/**
|
|
887
|
-
*
|
|
888
|
-
* @type {string}
|
|
889
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
890
|
-
*/
|
|
891
|
-
call_cid: string;
|
|
892
|
-
/**
|
|
893
|
-
*
|
|
894
|
-
* @type {VideoCallRecording}
|
|
895
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
896
|
-
*/
|
|
897
|
-
call_recording: VideoCallRecording;
|
|
898
|
-
/**
|
|
899
|
-
*
|
|
900
|
-
* @type {string}
|
|
901
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
902
|
-
*/
|
|
903
|
-
created_at: string;
|
|
904
|
-
/**
|
|
905
|
-
* The type of event: "call.recording_ready" in this case
|
|
906
|
-
* @type {string}
|
|
907
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
908
|
-
*/
|
|
909
|
-
type: string;
|
|
910
|
-
}
|
|
911
|
-
/**
|
|
912
|
-
* This event is sent when call recording has started
|
|
913
|
-
* @export
|
|
914
|
-
* @interface VideoCallRecordingStartedEvent
|
|
915
|
-
*/
|
|
916
|
-
export interface VideoCallRecordingStartedEvent {
|
|
917
|
-
/**
|
|
918
|
-
*
|
|
919
|
-
* @type {string}
|
|
920
|
-
* @memberof VideoCallRecordingStartedEvent
|
|
921
|
-
*/
|
|
922
|
-
call_cid: string;
|
|
923
|
-
/**
|
|
924
|
-
*
|
|
925
|
-
* @type {string}
|
|
926
|
-
* @memberof VideoCallRecordingStartedEvent
|
|
927
|
-
*/
|
|
928
|
-
created_at: string;
|
|
929
|
-
/**
|
|
930
|
-
* The type of event: "call.recording_started" in this case
|
|
931
|
-
* @type {string}
|
|
932
|
-
* @memberof VideoCallRecordingStartedEvent
|
|
933
|
-
*/
|
|
934
|
-
type: string;
|
|
935
|
-
}
|
|
936
|
-
/**
|
|
937
|
-
* This event is sent when call recording has stopped
|
|
938
|
-
* @export
|
|
939
|
-
* @interface VideoCallRecordingStoppedEvent
|
|
940
|
-
*/
|
|
941
|
-
export interface VideoCallRecordingStoppedEvent {
|
|
942
|
-
/**
|
|
943
|
-
*
|
|
944
|
-
* @type {string}
|
|
945
|
-
* @memberof VideoCallRecordingStoppedEvent
|
|
946
|
-
*/
|
|
947
|
-
call_cid: string;
|
|
948
|
-
/**
|
|
949
|
-
*
|
|
950
|
-
* @type {string}
|
|
951
|
-
* @memberof VideoCallRecordingStoppedEvent
|
|
952
|
-
*/
|
|
953
|
-
created_at: string;
|
|
954
|
-
/**
|
|
955
|
-
* The type of event: "call.recording_stopped" in this case
|
|
956
|
-
* @type {string}
|
|
957
|
-
* @memberof VideoCallRecordingStoppedEvent
|
|
958
|
-
*/
|
|
959
|
-
type: string;
|
|
960
|
-
}
|
|
961
|
-
/**
|
|
962
|
-
* This event is sent when a user rejects a notification to join a call.
|
|
963
|
-
* @export
|
|
964
|
-
* @interface VideoCallRejectedEvent
|
|
965
|
-
*/
|
|
966
|
-
export interface VideoCallRejectedEvent {
|
|
967
|
-
/**
|
|
968
|
-
*
|
|
969
|
-
* @type {VideoCallResponse}
|
|
970
|
-
* @memberof VideoCallRejectedEvent
|
|
971
|
-
*/
|
|
972
|
-
call: VideoCallResponse;
|
|
358
|
+
* CallRecording represents a recording of a call.
|
|
359
|
+
* @export
|
|
360
|
+
* @interface VideoCallRecording
|
|
361
|
+
*/
|
|
362
|
+
export interface VideoCallRecording {
|
|
973
363
|
/**
|
|
974
364
|
*
|
|
975
365
|
* @type {string}
|
|
976
|
-
* @memberof
|
|
366
|
+
* @memberof VideoCallRecording
|
|
977
367
|
*/
|
|
978
|
-
|
|
368
|
+
end_time: string;
|
|
979
369
|
/**
|
|
980
370
|
*
|
|
981
371
|
* @type {string}
|
|
982
|
-
* @memberof
|
|
372
|
+
* @memberof VideoCallRecording
|
|
983
373
|
*/
|
|
984
|
-
|
|
374
|
+
filename: string;
|
|
985
375
|
/**
|
|
986
|
-
*
|
|
376
|
+
*
|
|
987
377
|
* @type {string}
|
|
988
|
-
* @memberof
|
|
378
|
+
* @memberof VideoCallRecording
|
|
989
379
|
*/
|
|
990
|
-
|
|
380
|
+
start_time: string;
|
|
991
381
|
/**
|
|
992
382
|
*
|
|
993
|
-
* @type {
|
|
994
|
-
* @memberof
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof VideoCallRecording
|
|
995
385
|
*/
|
|
996
|
-
|
|
386
|
+
url: string;
|
|
997
387
|
}
|
|
998
388
|
/**
|
|
999
389
|
*
|
|
@@ -1015,12 +405,10 @@ export interface VideoCallRequest {
|
|
|
1015
405
|
created_by_id?: string;
|
|
1016
406
|
/**
|
|
1017
407
|
*
|
|
1018
|
-
* @type {
|
|
408
|
+
* @type {object}
|
|
1019
409
|
* @memberof VideoCallRequest
|
|
1020
410
|
*/
|
|
1021
|
-
custom?:
|
|
1022
|
-
[key: string]: any;
|
|
1023
|
-
};
|
|
411
|
+
custom?: object;
|
|
1024
412
|
/**
|
|
1025
413
|
*
|
|
1026
414
|
* @type {Array<VideoMemberRequest>}
|
|
@@ -1090,12 +478,10 @@ export interface VideoCallResponse {
|
|
|
1090
478
|
current_session_id: string;
|
|
1091
479
|
/**
|
|
1092
480
|
* Custom data for this object
|
|
1093
|
-
* @type {
|
|
481
|
+
* @type {object}
|
|
1094
482
|
* @memberof VideoCallResponse
|
|
1095
483
|
*/
|
|
1096
|
-
custom:
|
|
1097
|
-
[key: string]: any;
|
|
1098
|
-
};
|
|
484
|
+
custom: object;
|
|
1099
485
|
/**
|
|
1100
486
|
*
|
|
1101
487
|
* @type {VideoEgressResponse}
|
|
@@ -1175,166 +561,6 @@ export interface VideoCallResponse {
|
|
|
1175
561
|
*/
|
|
1176
562
|
updated_at: string;
|
|
1177
563
|
}
|
|
1178
|
-
/**
|
|
1179
|
-
* This event is sent to all call members to notify they are getting called
|
|
1180
|
-
* @export
|
|
1181
|
-
* @interface VideoCallRingEvent
|
|
1182
|
-
*/
|
|
1183
|
-
export interface VideoCallRingEvent {
|
|
1184
|
-
/**
|
|
1185
|
-
*
|
|
1186
|
-
* @type {VideoCallResponse}
|
|
1187
|
-
* @memberof VideoCallRingEvent
|
|
1188
|
-
*/
|
|
1189
|
-
call: VideoCallResponse;
|
|
1190
|
-
/**
|
|
1191
|
-
*
|
|
1192
|
-
* @type {string}
|
|
1193
|
-
* @memberof VideoCallRingEvent
|
|
1194
|
-
*/
|
|
1195
|
-
call_cid: string;
|
|
1196
|
-
/**
|
|
1197
|
-
*
|
|
1198
|
-
* @type {string}
|
|
1199
|
-
* @memberof VideoCallRingEvent
|
|
1200
|
-
*/
|
|
1201
|
-
created_at: string;
|
|
1202
|
-
/**
|
|
1203
|
-
* Call members
|
|
1204
|
-
* @type {Array<VideoMemberResponse>}
|
|
1205
|
-
* @memberof VideoCallRingEvent
|
|
1206
|
-
*/
|
|
1207
|
-
members: Array<VideoMemberResponse>;
|
|
1208
|
-
/**
|
|
1209
|
-
* Call session ID
|
|
1210
|
-
* @type {string}
|
|
1211
|
-
* @memberof VideoCallRingEvent
|
|
1212
|
-
*/
|
|
1213
|
-
session_id: string;
|
|
1214
|
-
/**
|
|
1215
|
-
* The type of event: "call.notification" in this case
|
|
1216
|
-
* @type {string}
|
|
1217
|
-
* @memberof VideoCallRingEvent
|
|
1218
|
-
*/
|
|
1219
|
-
type: string;
|
|
1220
|
-
/**
|
|
1221
|
-
*
|
|
1222
|
-
* @type {VideoUserResponse}
|
|
1223
|
-
* @memberof VideoCallRingEvent
|
|
1224
|
-
*/
|
|
1225
|
-
user: VideoUserResponse;
|
|
1226
|
-
}
|
|
1227
|
-
/**
|
|
1228
|
-
* This event is sent when a call session ends
|
|
1229
|
-
* @export
|
|
1230
|
-
* @interface VideoCallSessionEndedEvent
|
|
1231
|
-
*/
|
|
1232
|
-
export interface VideoCallSessionEndedEvent {
|
|
1233
|
-
/**
|
|
1234
|
-
*
|
|
1235
|
-
* @type {VideoCallResponse}
|
|
1236
|
-
* @memberof VideoCallSessionEndedEvent
|
|
1237
|
-
*/
|
|
1238
|
-
call: VideoCallResponse;
|
|
1239
|
-
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @type {string}
|
|
1242
|
-
* @memberof VideoCallSessionEndedEvent
|
|
1243
|
-
*/
|
|
1244
|
-
call_cid: string;
|
|
1245
|
-
/**
|
|
1246
|
-
*
|
|
1247
|
-
* @type {string}
|
|
1248
|
-
* @memberof VideoCallSessionEndedEvent
|
|
1249
|
-
*/
|
|
1250
|
-
created_at: string;
|
|
1251
|
-
/**
|
|
1252
|
-
* Call session ID
|
|
1253
|
-
* @type {string}
|
|
1254
|
-
* @memberof VideoCallSessionEndedEvent
|
|
1255
|
-
*/
|
|
1256
|
-
session_id: string;
|
|
1257
|
-
/**
|
|
1258
|
-
* The type of event: "call.session_ended" in this case
|
|
1259
|
-
* @type {string}
|
|
1260
|
-
* @memberof VideoCallSessionEndedEvent
|
|
1261
|
-
*/
|
|
1262
|
-
type: string;
|
|
1263
|
-
}
|
|
1264
|
-
/**
|
|
1265
|
-
* This event is sent when a participant joins a call session
|
|
1266
|
-
* @export
|
|
1267
|
-
* @interface VideoCallSessionParticipantJoinedEvent
|
|
1268
|
-
*/
|
|
1269
|
-
export interface VideoCallSessionParticipantJoinedEvent {
|
|
1270
|
-
/**
|
|
1271
|
-
*
|
|
1272
|
-
* @type {string}
|
|
1273
|
-
* @memberof VideoCallSessionParticipantJoinedEvent
|
|
1274
|
-
*/
|
|
1275
|
-
call_cid: string;
|
|
1276
|
-
/**
|
|
1277
|
-
*
|
|
1278
|
-
* @type {string}
|
|
1279
|
-
* @memberof VideoCallSessionParticipantJoinedEvent
|
|
1280
|
-
*/
|
|
1281
|
-
created_at: string;
|
|
1282
|
-
/**
|
|
1283
|
-
*
|
|
1284
|
-
* @type {VideoCallParticipantResponse}
|
|
1285
|
-
* @memberof VideoCallSessionParticipantJoinedEvent
|
|
1286
|
-
*/
|
|
1287
|
-
participant: VideoCallParticipantResponse;
|
|
1288
|
-
/**
|
|
1289
|
-
* Call session ID
|
|
1290
|
-
* @type {string}
|
|
1291
|
-
* @memberof VideoCallSessionParticipantJoinedEvent
|
|
1292
|
-
*/
|
|
1293
|
-
session_id: string;
|
|
1294
|
-
/**
|
|
1295
|
-
* The type of event: "call.session_participant_joined" in this case
|
|
1296
|
-
* @type {string}
|
|
1297
|
-
* @memberof VideoCallSessionParticipantJoinedEvent
|
|
1298
|
-
*/
|
|
1299
|
-
type: string;
|
|
1300
|
-
}
|
|
1301
|
-
/**
|
|
1302
|
-
* This event is sent when a participant leaves a call session
|
|
1303
|
-
* @export
|
|
1304
|
-
* @interface VideoCallSessionParticipantLeftEvent
|
|
1305
|
-
*/
|
|
1306
|
-
export interface VideoCallSessionParticipantLeftEvent {
|
|
1307
|
-
/**
|
|
1308
|
-
*
|
|
1309
|
-
* @type {string}
|
|
1310
|
-
* @memberof VideoCallSessionParticipantLeftEvent
|
|
1311
|
-
*/
|
|
1312
|
-
call_cid: string;
|
|
1313
|
-
/**
|
|
1314
|
-
*
|
|
1315
|
-
* @type {string}
|
|
1316
|
-
* @memberof VideoCallSessionParticipantLeftEvent
|
|
1317
|
-
*/
|
|
1318
|
-
created_at: string;
|
|
1319
|
-
/**
|
|
1320
|
-
*
|
|
1321
|
-
* @type {VideoCallParticipantResponse}
|
|
1322
|
-
* @memberof VideoCallSessionParticipantLeftEvent
|
|
1323
|
-
*/
|
|
1324
|
-
participant: VideoCallParticipantResponse;
|
|
1325
|
-
/**
|
|
1326
|
-
* Call session ID
|
|
1327
|
-
* @type {string}
|
|
1328
|
-
* @memberof VideoCallSessionParticipantLeftEvent
|
|
1329
|
-
*/
|
|
1330
|
-
session_id: string;
|
|
1331
|
-
/**
|
|
1332
|
-
* The type of event: "call.session_participant_left" in this case
|
|
1333
|
-
* @type {string}
|
|
1334
|
-
* @memberof VideoCallSessionParticipantLeftEvent
|
|
1335
|
-
*/
|
|
1336
|
-
type: string;
|
|
1337
|
-
}
|
|
1338
564
|
/**
|
|
1339
565
|
*
|
|
1340
566
|
* @export
|
|
@@ -1402,43 +628,6 @@ export interface VideoCallSessionResponse {
|
|
|
1402
628
|
*/
|
|
1403
629
|
started_at?: string;
|
|
1404
630
|
}
|
|
1405
|
-
/**
|
|
1406
|
-
* This event is sent when a call session starts
|
|
1407
|
-
* @export
|
|
1408
|
-
* @interface VideoCallSessionStartedEvent
|
|
1409
|
-
*/
|
|
1410
|
-
export interface VideoCallSessionStartedEvent {
|
|
1411
|
-
/**
|
|
1412
|
-
*
|
|
1413
|
-
* @type {VideoCallResponse}
|
|
1414
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1415
|
-
*/
|
|
1416
|
-
call: VideoCallResponse;
|
|
1417
|
-
/**
|
|
1418
|
-
*
|
|
1419
|
-
* @type {string}
|
|
1420
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1421
|
-
*/
|
|
1422
|
-
call_cid: string;
|
|
1423
|
-
/**
|
|
1424
|
-
*
|
|
1425
|
-
* @type {string}
|
|
1426
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1427
|
-
*/
|
|
1428
|
-
created_at: string;
|
|
1429
|
-
/**
|
|
1430
|
-
* Call session ID
|
|
1431
|
-
* @type {string}
|
|
1432
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1433
|
-
*/
|
|
1434
|
-
session_id: string;
|
|
1435
|
-
/**
|
|
1436
|
-
* The type of event: "call.session_started" in this case
|
|
1437
|
-
* @type {string}
|
|
1438
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1439
|
-
*/
|
|
1440
|
-
type: string;
|
|
1441
|
-
}
|
|
1442
631
|
/**
|
|
1443
632
|
*
|
|
1444
633
|
* @export
|
|
@@ -1616,6 +805,12 @@ export interface VideoCallTypeResponse {
|
|
|
1616
805
|
* @memberof VideoCallTypeResponse
|
|
1617
806
|
*/
|
|
1618
807
|
created_at: string;
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @type {string}
|
|
811
|
+
* @memberof VideoCallTypeResponse
|
|
812
|
+
*/
|
|
813
|
+
external_storage?: string;
|
|
1619
814
|
/**
|
|
1620
815
|
*
|
|
1621
816
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -1650,81 +845,17 @@ export interface VideoCallTypeResponse {
|
|
|
1650
845
|
updated_at: string;
|
|
1651
846
|
}
|
|
1652
847
|
/**
|
|
1653
|
-
*
|
|
1654
|
-
* This event also contains the capabilities by role for the call, clients should update the own_capability for the current.
|
|
1655
|
-
* @export
|
|
1656
|
-
* @interface VideoCallUpdatedEvent
|
|
1657
|
-
*/
|
|
1658
|
-
export interface VideoCallUpdatedEvent {
|
|
1659
|
-
/**
|
|
1660
|
-
*
|
|
1661
|
-
* @type {VideoCallResponse}
|
|
1662
|
-
* @memberof VideoCallUpdatedEvent
|
|
1663
|
-
*/
|
|
1664
|
-
call: VideoCallResponse;
|
|
1665
|
-
/**
|
|
1666
|
-
*
|
|
1667
|
-
* @type {string}
|
|
1668
|
-
* @memberof VideoCallUpdatedEvent
|
|
1669
|
-
*/
|
|
1670
|
-
call_cid: string;
|
|
1671
|
-
/**
|
|
1672
|
-
* The capabilities by role for this call
|
|
1673
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
1674
|
-
* @memberof VideoCallUpdatedEvent
|
|
1675
|
-
*/
|
|
1676
|
-
capabilities_by_role: {
|
|
1677
|
-
[key: string]: Array<string>;
|
|
1678
|
-
};
|
|
1679
|
-
/**
|
|
1680
|
-
*
|
|
1681
|
-
* @type {string}
|
|
1682
|
-
* @memberof VideoCallUpdatedEvent
|
|
1683
|
-
*/
|
|
1684
|
-
created_at: string;
|
|
1685
|
-
/**
|
|
1686
|
-
* The type of event: "call.ended" in this case
|
|
1687
|
-
* @type {string}
|
|
1688
|
-
* @memberof VideoCallUpdatedEvent
|
|
1689
|
-
*/
|
|
1690
|
-
type: string;
|
|
1691
|
-
}
|
|
1692
|
-
/**
|
|
1693
|
-
* This event is sent when a call member is muted
|
|
848
|
+
*
|
|
1694
849
|
* @export
|
|
1695
|
-
* @interface
|
|
850
|
+
* @interface VideoCheckExternalStorageResponse
|
|
1696
851
|
*/
|
|
1697
|
-
export interface
|
|
1698
|
-
/**
|
|
1699
|
-
*
|
|
1700
|
-
* @type {string}
|
|
1701
|
-
* @memberof VideoCallUserMuted
|
|
1702
|
-
*/
|
|
1703
|
-
call_cid: string;
|
|
1704
|
-
/**
|
|
1705
|
-
*
|
|
1706
|
-
* @type {string}
|
|
1707
|
-
* @memberof VideoCallUserMuted
|
|
1708
|
-
*/
|
|
1709
|
-
created_at: string;
|
|
1710
|
-
/**
|
|
1711
|
-
*
|
|
1712
|
-
* @type {string}
|
|
1713
|
-
* @memberof VideoCallUserMuted
|
|
1714
|
-
*/
|
|
1715
|
-
from_user_id: string;
|
|
1716
|
-
/**
|
|
1717
|
-
*
|
|
1718
|
-
* @type {Array<string>}
|
|
1719
|
-
* @memberof VideoCallUserMuted
|
|
1720
|
-
*/
|
|
1721
|
-
muted_user_ids: Array<string>;
|
|
852
|
+
export interface VideoCheckExternalStorageResponse {
|
|
1722
853
|
/**
|
|
1723
|
-
*
|
|
854
|
+
* Duration of the request in human-readable format
|
|
1724
855
|
* @type {string}
|
|
1725
|
-
* @memberof
|
|
856
|
+
* @memberof VideoCheckExternalStorageResponse
|
|
1726
857
|
*/
|
|
1727
|
-
|
|
858
|
+
duration: string;
|
|
1728
859
|
}
|
|
1729
860
|
/**
|
|
1730
861
|
*
|
|
@@ -1734,12 +865,10 @@ export interface VideoCallUserMuted {
|
|
|
1734
865
|
export interface VideoConnectUserDetailsRequest {
|
|
1735
866
|
/**
|
|
1736
867
|
*
|
|
1737
|
-
* @type {
|
|
868
|
+
* @type {object}
|
|
1738
869
|
* @memberof VideoConnectUserDetailsRequest
|
|
1739
870
|
*/
|
|
1740
|
-
custom?:
|
|
1741
|
-
[key: string]: any;
|
|
1742
|
-
};
|
|
871
|
+
custom?: object;
|
|
1743
872
|
/**
|
|
1744
873
|
*
|
|
1745
874
|
* @type {string}
|
|
@@ -1757,76 +886,26 @@ export interface VideoConnectUserDetailsRequest {
|
|
|
1757
886
|
* @type {string}
|
|
1758
887
|
* @memberof VideoConnectUserDetailsRequest
|
|
1759
888
|
*/
|
|
1760
|
-
|
|
1761
|
-
}
|
|
1762
|
-
/**
|
|
1763
|
-
* This event is sent when the WS connection is established and authenticated, this event contains the full user object as it is stored on the server
|
|
1764
|
-
* @export
|
|
1765
|
-
* @interface VideoConnectedEvent
|
|
1766
|
-
*/
|
|
1767
|
-
export interface VideoConnectedEvent {
|
|
1768
|
-
/**
|
|
1769
|
-
* The connection_id for this client
|
|
1770
|
-
* @type {string}
|
|
1771
|
-
* @memberof VideoConnectedEvent
|
|
1772
|
-
*/
|
|
1773
|
-
connection_id: string;
|
|
1774
|
-
/**
|
|
1775
|
-
*
|
|
1776
|
-
* @type {string}
|
|
1777
|
-
* @memberof VideoConnectedEvent
|
|
1778
|
-
*/
|
|
1779
|
-
created_at: string;
|
|
889
|
+
language?: string;
|
|
1780
890
|
/**
|
|
1781
891
|
*
|
|
1782
|
-
* @type {VideoOwnUserResponse}
|
|
1783
|
-
* @memberof VideoConnectedEvent
|
|
1784
|
-
*/
|
|
1785
|
-
me: VideoOwnUserResponse;
|
|
1786
|
-
/**
|
|
1787
|
-
* The type of event: "connection.ok" in this case
|
|
1788
892
|
* @type {string}
|
|
1789
|
-
* @memberof
|
|
893
|
+
* @memberof VideoConnectUserDetailsRequest
|
|
1790
894
|
*/
|
|
1791
|
-
|
|
895
|
+
name?: string;
|
|
1792
896
|
}
|
|
1793
897
|
/**
|
|
1794
|
-
*
|
|
898
|
+
*
|
|
1795
899
|
* @export
|
|
1796
|
-
* @interface
|
|
900
|
+
* @interface VideoCreateCallTypeRequest
|
|
1797
901
|
*/
|
|
1798
|
-
export interface
|
|
1799
|
-
/**
|
|
1800
|
-
*
|
|
1801
|
-
* @type {string}
|
|
1802
|
-
* @memberof VideoConnectionErrorEvent
|
|
1803
|
-
*/
|
|
1804
|
-
connection_id: string;
|
|
1805
|
-
/**
|
|
1806
|
-
*
|
|
1807
|
-
* @type {string}
|
|
1808
|
-
* @memberof VideoConnectionErrorEvent
|
|
1809
|
-
*/
|
|
1810
|
-
created_at: string;
|
|
902
|
+
export interface VideoCreateCallTypeRequest {
|
|
1811
903
|
/**
|
|
1812
904
|
*
|
|
1813
|
-
* @type {VideoAPIError}
|
|
1814
|
-
* @memberof VideoConnectionErrorEvent
|
|
1815
|
-
*/
|
|
1816
|
-
error: VideoAPIError | null;
|
|
1817
|
-
/**
|
|
1818
|
-
* The type of event: "connection.ok" in this case
|
|
1819
905
|
* @type {string}
|
|
1820
|
-
* @memberof
|
|
906
|
+
* @memberof VideoCreateCallTypeRequest
|
|
1821
907
|
*/
|
|
1822
|
-
|
|
1823
|
-
}
|
|
1824
|
-
/**
|
|
1825
|
-
*
|
|
1826
|
-
* @export
|
|
1827
|
-
* @interface VideoCreateCallTypeRequest
|
|
1828
|
-
*/
|
|
1829
|
-
export interface VideoCreateCallTypeRequest {
|
|
908
|
+
external_storage?: string;
|
|
1830
909
|
/**
|
|
1831
910
|
*
|
|
1832
911
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -1872,6 +951,12 @@ export interface VideoCreateCallTypeResponse {
|
|
|
1872
951
|
* @memberof VideoCreateCallTypeResponse
|
|
1873
952
|
*/
|
|
1874
953
|
duration: string;
|
|
954
|
+
/**
|
|
955
|
+
*
|
|
956
|
+
* @type {string}
|
|
957
|
+
* @memberof VideoCreateCallTypeResponse
|
|
958
|
+
*/
|
|
959
|
+
external_storage?: string;
|
|
1875
960
|
/**
|
|
1876
961
|
*
|
|
1877
962
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -1958,6 +1043,68 @@ export declare const VideoCreateDeviceRequestPushProviderEnum: {
|
|
|
1958
1043
|
readonly XIAOMI: "xiaomi";
|
|
1959
1044
|
};
|
|
1960
1045
|
export type VideoCreateDeviceRequestPushProviderEnum = typeof VideoCreateDeviceRequestPushProviderEnum[keyof typeof VideoCreateDeviceRequestPushProviderEnum];
|
|
1046
|
+
/**
|
|
1047
|
+
*
|
|
1048
|
+
* @export
|
|
1049
|
+
* @interface VideoCreateExternalStorageRequest
|
|
1050
|
+
*/
|
|
1051
|
+
export interface VideoCreateExternalStorageRequest {
|
|
1052
|
+
/**
|
|
1053
|
+
*
|
|
1054
|
+
* @type {VideoS3Request}
|
|
1055
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1056
|
+
*/
|
|
1057
|
+
aws_s3?: VideoS3Request;
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @type {VideoAzureRequest}
|
|
1061
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1062
|
+
*/
|
|
1063
|
+
azure_blob?: VideoAzureRequest;
|
|
1064
|
+
/**
|
|
1065
|
+
*
|
|
1066
|
+
* @type {string}
|
|
1067
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1068
|
+
*/
|
|
1069
|
+
bucket: string;
|
|
1070
|
+
/**
|
|
1071
|
+
*
|
|
1072
|
+
* @type {string}
|
|
1073
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1074
|
+
*/
|
|
1075
|
+
gcs_credentials?: string;
|
|
1076
|
+
/**
|
|
1077
|
+
*
|
|
1078
|
+
* @type {string}
|
|
1079
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1080
|
+
*/
|
|
1081
|
+
name: string;
|
|
1082
|
+
/**
|
|
1083
|
+
*
|
|
1084
|
+
* @type {string}
|
|
1085
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1086
|
+
*/
|
|
1087
|
+
path?: string;
|
|
1088
|
+
/**
|
|
1089
|
+
*
|
|
1090
|
+
* @type {string}
|
|
1091
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1092
|
+
*/
|
|
1093
|
+
storage_type: string;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
*
|
|
1097
|
+
* @export
|
|
1098
|
+
* @interface VideoCreateExternalStorageResponse
|
|
1099
|
+
*/
|
|
1100
|
+
export interface VideoCreateExternalStorageResponse {
|
|
1101
|
+
/**
|
|
1102
|
+
* Duration of the request in human-readable format
|
|
1103
|
+
* @type {string}
|
|
1104
|
+
* @memberof VideoCreateExternalStorageResponse
|
|
1105
|
+
*/
|
|
1106
|
+
duration: string;
|
|
1107
|
+
}
|
|
1961
1108
|
/**
|
|
1962
1109
|
*
|
|
1963
1110
|
* @export
|
|
@@ -1997,43 +1144,17 @@ export interface VideoCreateGuestResponse {
|
|
|
1997
1144
|
user: VideoUserResponse;
|
|
1998
1145
|
}
|
|
1999
1146
|
/**
|
|
2000
|
-
*
|
|
1147
|
+
*
|
|
2001
1148
|
* @export
|
|
2002
|
-
* @interface
|
|
1149
|
+
* @interface VideoDeleteExternalStorageResponse
|
|
2003
1150
|
*/
|
|
2004
|
-
export interface
|
|
2005
|
-
/**
|
|
2006
|
-
*
|
|
2007
|
-
* @type {string}
|
|
2008
|
-
* @memberof VideoCustomVideoEvent
|
|
2009
|
-
*/
|
|
2010
|
-
call_cid: string;
|
|
2011
|
-
/**
|
|
2012
|
-
*
|
|
2013
|
-
* @type {string}
|
|
2014
|
-
* @memberof VideoCustomVideoEvent
|
|
2015
|
-
*/
|
|
2016
|
-
created_at: string;
|
|
2017
|
-
/**
|
|
2018
|
-
* Custom data for this object
|
|
2019
|
-
* @type {{ [key: string]: any; }}
|
|
2020
|
-
* @memberof VideoCustomVideoEvent
|
|
2021
|
-
*/
|
|
2022
|
-
custom: {
|
|
2023
|
-
[key: string]: any;
|
|
2024
|
-
};
|
|
1151
|
+
export interface VideoDeleteExternalStorageResponse {
|
|
2025
1152
|
/**
|
|
2026
|
-
*
|
|
1153
|
+
* Duration of the request in human-readable format
|
|
2027
1154
|
* @type {string}
|
|
2028
|
-
* @memberof
|
|
2029
|
-
*/
|
|
2030
|
-
type: string;
|
|
2031
|
-
/**
|
|
2032
|
-
*
|
|
2033
|
-
* @type {VideoUserResponse}
|
|
2034
|
-
* @memberof VideoCustomVideoEvent
|
|
1155
|
+
* @memberof VideoDeleteExternalStorageResponse
|
|
2035
1156
|
*/
|
|
2036
|
-
|
|
1157
|
+
duration: string;
|
|
2037
1158
|
}
|
|
2038
1159
|
/**
|
|
2039
1160
|
*
|
|
@@ -2265,6 +1386,37 @@ export interface VideoEventNotificationSettingsRequest {
|
|
|
2265
1386
|
*/
|
|
2266
1387
|
enabled?: boolean;
|
|
2267
1388
|
}
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @export
|
|
1392
|
+
* @interface VideoExternalStorageResponse
|
|
1393
|
+
*/
|
|
1394
|
+
export interface VideoExternalStorageResponse {
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @type {string}
|
|
1398
|
+
* @memberof VideoExternalStorageResponse
|
|
1399
|
+
*/
|
|
1400
|
+
bucket: string;
|
|
1401
|
+
/**
|
|
1402
|
+
*
|
|
1403
|
+
* @type {string}
|
|
1404
|
+
* @memberof VideoExternalStorageResponse
|
|
1405
|
+
*/
|
|
1406
|
+
name: string;
|
|
1407
|
+
/**
|
|
1408
|
+
*
|
|
1409
|
+
* @type {string}
|
|
1410
|
+
* @memberof VideoExternalStorageResponse
|
|
1411
|
+
*/
|
|
1412
|
+
path: string;
|
|
1413
|
+
/**
|
|
1414
|
+
*
|
|
1415
|
+
* @type {string}
|
|
1416
|
+
* @memberof VideoExternalStorageResponse
|
|
1417
|
+
*/
|
|
1418
|
+
type: string;
|
|
1419
|
+
}
|
|
2268
1420
|
/**
|
|
2269
1421
|
*
|
|
2270
1422
|
* @export
|
|
@@ -2346,6 +1498,12 @@ export interface VideoGetCallTypeResponse {
|
|
|
2346
1498
|
* @memberof VideoGetCallTypeResponse
|
|
2347
1499
|
*/
|
|
2348
1500
|
duration: string;
|
|
1501
|
+
/**
|
|
1502
|
+
*
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof VideoGetCallTypeResponse
|
|
1505
|
+
*/
|
|
1506
|
+
external_storage?: string;
|
|
2349
1507
|
/**
|
|
2350
1508
|
*
|
|
2351
1509
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -2478,6 +1636,12 @@ export interface VideoGetOrCreateCallResponse {
|
|
|
2478
1636
|
* @interface VideoGoLiveRequest
|
|
2479
1637
|
*/
|
|
2480
1638
|
export interface VideoGoLiveRequest {
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @type {string}
|
|
1642
|
+
* @memberof VideoGoLiveRequest
|
|
1643
|
+
*/
|
|
1644
|
+
recording_storage_name?: string;
|
|
2481
1645
|
/**
|
|
2482
1646
|
*
|
|
2483
1647
|
* @type {boolean}
|
|
@@ -2578,31 +1742,6 @@ export interface VideoHLSSettingsResponse {
|
|
|
2578
1742
|
*/
|
|
2579
1743
|
quality_tracks: Array<string>;
|
|
2580
1744
|
}
|
|
2581
|
-
/**
|
|
2582
|
-
*
|
|
2583
|
-
* @export
|
|
2584
|
-
* @interface VideoHealthCheckEvent
|
|
2585
|
-
*/
|
|
2586
|
-
export interface VideoHealthCheckEvent {
|
|
2587
|
-
/**
|
|
2588
|
-
* The connection_id for this client
|
|
2589
|
-
* @type {string}
|
|
2590
|
-
* @memberof VideoHealthCheckEvent
|
|
2591
|
-
*/
|
|
2592
|
-
connection_id: string;
|
|
2593
|
-
/**
|
|
2594
|
-
*
|
|
2595
|
-
* @type {string}
|
|
2596
|
-
* @memberof VideoHealthCheckEvent
|
|
2597
|
-
*/
|
|
2598
|
-
created_at: string;
|
|
2599
|
-
/**
|
|
2600
|
-
* The type of event: "health.check" in this case
|
|
2601
|
-
* @type {string}
|
|
2602
|
-
* @memberof VideoHealthCheckEvent
|
|
2603
|
-
*/
|
|
2604
|
-
type: string;
|
|
2605
|
-
}
|
|
2606
1745
|
/**
|
|
2607
1746
|
*
|
|
2608
1747
|
* @export
|
|
@@ -2629,12 +1768,10 @@ export interface VideoLayoutSettings {
|
|
|
2629
1768
|
name: VideoLayoutSettingsNameEnum;
|
|
2630
1769
|
/**
|
|
2631
1770
|
*
|
|
2632
|
-
* @type {
|
|
1771
|
+
* @type {object}
|
|
2633
1772
|
* @memberof VideoLayoutSettings
|
|
2634
1773
|
*/
|
|
2635
|
-
options?:
|
|
2636
|
-
[key: string]: any;
|
|
2637
|
-
};
|
|
1774
|
+
options?: object;
|
|
2638
1775
|
}
|
|
2639
1776
|
/**
|
|
2640
1777
|
* @export
|
|
@@ -2673,12 +1810,10 @@ export interface VideoLayoutSettingsRequest {
|
|
|
2673
1810
|
name: VideoLayoutSettingsRequestNameEnum;
|
|
2674
1811
|
/**
|
|
2675
1812
|
*
|
|
2676
|
-
* @type {
|
|
1813
|
+
* @type {object}
|
|
2677
1814
|
* @memberof VideoLayoutSettingsRequest
|
|
2678
1815
|
*/
|
|
2679
|
-
options?:
|
|
2680
|
-
[key: string]: any;
|
|
2681
|
-
};
|
|
1816
|
+
options?: object;
|
|
2682
1817
|
}
|
|
2683
1818
|
/**
|
|
2684
1819
|
* @export
|
|
@@ -2731,6 +1866,27 @@ export interface VideoListDevicesResponse {
|
|
|
2731
1866
|
*/
|
|
2732
1867
|
duration: string;
|
|
2733
1868
|
}
|
|
1869
|
+
/**
|
|
1870
|
+
*
|
|
1871
|
+
* @export
|
|
1872
|
+
* @interface VideoListExternalStorageResponse
|
|
1873
|
+
*/
|
|
1874
|
+
export interface VideoListExternalStorageResponse {
|
|
1875
|
+
/**
|
|
1876
|
+
* Duration of the request in human-readable format
|
|
1877
|
+
* @type {string}
|
|
1878
|
+
* @memberof VideoListExternalStorageResponse
|
|
1879
|
+
*/
|
|
1880
|
+
duration: string;
|
|
1881
|
+
/**
|
|
1882
|
+
*
|
|
1883
|
+
* @type {{ [key: string]: VideoExternalStorageResponse; }}
|
|
1884
|
+
* @memberof VideoListExternalStorageResponse
|
|
1885
|
+
*/
|
|
1886
|
+
external_storages: {
|
|
1887
|
+
[key: string]: VideoExternalStorageResponse;
|
|
1888
|
+
};
|
|
1889
|
+
}
|
|
2734
1890
|
/**
|
|
2735
1891
|
*
|
|
2736
1892
|
* @export
|
|
@@ -2758,12 +1914,10 @@ export interface VideoListRecordingsResponse {
|
|
|
2758
1914
|
export interface VideoMemberRequest {
|
|
2759
1915
|
/**
|
|
2760
1916
|
* Custom data for this object
|
|
2761
|
-
* @type {
|
|
1917
|
+
* @type {object}
|
|
2762
1918
|
* @memberof VideoMemberRequest
|
|
2763
1919
|
*/
|
|
2764
|
-
custom?:
|
|
2765
|
-
[key: string]: any;
|
|
2766
|
-
};
|
|
1920
|
+
custom?: object;
|
|
2767
1921
|
/**
|
|
2768
1922
|
*
|
|
2769
1923
|
* @type {string}
|
|
@@ -2791,12 +1945,10 @@ export interface VideoMemberResponse {
|
|
|
2791
1945
|
created_at: string;
|
|
2792
1946
|
/**
|
|
2793
1947
|
* Custom member response data
|
|
2794
|
-
* @type {
|
|
1948
|
+
* @type {object}
|
|
2795
1949
|
* @memberof VideoMemberResponse
|
|
2796
1950
|
*/
|
|
2797
|
-
custom:
|
|
2798
|
-
[key: string]: any;
|
|
2799
|
-
};
|
|
1951
|
+
custom: object;
|
|
2800
1952
|
/**
|
|
2801
1953
|
* Date/time of deletion
|
|
2802
1954
|
* @type {string}
|
|
@@ -2913,189 +2065,82 @@ export interface VideoNotificationSettings {
|
|
|
2913
2065
|
* @type {boolean}
|
|
2914
2066
|
* @memberof VideoNotificationSettings
|
|
2915
2067
|
*/
|
|
2916
|
-
enabled: boolean;
|
|
2917
|
-
/**
|
|
2918
|
-
*
|
|
2919
|
-
* @type {VideoEventNotificationSettings}
|
|
2920
|
-
* @memberof VideoNotificationSettings
|
|
2921
|
-
*/
|
|
2922
|
-
session_started: VideoEventNotificationSettings;
|
|
2923
|
-
}
|
|
2924
|
-
/**
|
|
2925
|
-
*
|
|
2926
|
-
* @export
|
|
2927
|
-
* @interface VideoNotificationSettingsRequest
|
|
2928
|
-
*/
|
|
2929
|
-
export interface VideoNotificationSettingsRequest {
|
|
2930
|
-
/**
|
|
2931
|
-
*
|
|
2932
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2933
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2934
|
-
*/
|
|
2935
|
-
call_live_started?: VideoEventNotificationSettingsRequest;
|
|
2936
|
-
/**
|
|
2937
|
-
*
|
|
2938
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2939
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2940
|
-
*/
|
|
2941
|
-
call_notification?: VideoEventNotificationSettingsRequest;
|
|
2942
|
-
/**
|
|
2943
|
-
*
|
|
2944
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2945
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2946
|
-
*/
|
|
2947
|
-
call_ring?: VideoEventNotificationSettingsRequest;
|
|
2948
|
-
/**
|
|
2949
|
-
*
|
|
2950
|
-
* @type {boolean}
|
|
2951
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2952
|
-
*/
|
|
2953
|
-
enabled?: boolean;
|
|
2954
|
-
/**
|
|
2955
|
-
*
|
|
2956
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2957
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2958
|
-
*/
|
|
2959
|
-
session_started?: VideoEventNotificationSettingsRequest;
|
|
2960
|
-
}
|
|
2961
|
-
/**
|
|
2962
|
-
* All possibility of string to use
|
|
2963
|
-
* @export
|
|
2964
|
-
*/
|
|
2965
|
-
export declare const VideoOwnCapability: {
|
|
2966
|
-
readonly BLOCK_USERS: "block-users";
|
|
2967
|
-
readonly CREATE_CALL: "create-call";
|
|
2968
|
-
readonly CREATE_REACTION: "create-reaction";
|
|
2969
|
-
readonly END_CALL: "end-call";
|
|
2970
|
-
readonly JOIN_BACKSTAGE: "join-backstage";
|
|
2971
|
-
readonly JOIN_CALL: "join-call";
|
|
2972
|
-
readonly JOIN_ENDED_CALL: "join-ended-call";
|
|
2973
|
-
readonly MUTE_USERS: "mute-users";
|
|
2974
|
-
readonly PIN_FOR_EVERYONE: "pin-for-everyone";
|
|
2975
|
-
readonly READ_CALL: "read-call";
|
|
2976
|
-
readonly REMOVE_CALL_MEMBER: "remove-call-member";
|
|
2977
|
-
readonly SCREENSHARE: "screenshare";
|
|
2978
|
-
readonly SEND_AUDIO: "send-audio";
|
|
2979
|
-
readonly SEND_VIDEO: "send-video";
|
|
2980
|
-
readonly START_BROADCAST_CALL: "start-broadcast-call";
|
|
2981
|
-
readonly START_RECORD_CALL: "start-record-call";
|
|
2982
|
-
readonly START_TRANSCRIPTION_CALL: "start-transcription-call";
|
|
2983
|
-
readonly STOP_BROADCAST_CALL: "stop-broadcast-call";
|
|
2984
|
-
readonly STOP_RECORD_CALL: "stop-record-call";
|
|
2985
|
-
readonly STOP_TRANSCRIPTION_CALL: "stop-transcription-call";
|
|
2986
|
-
readonly UPDATE_CALL: "update-call";
|
|
2987
|
-
readonly UPDATE_CALL_MEMBER: "update-call-member";
|
|
2988
|
-
readonly UPDATE_CALL_PERMISSIONS: "update-call-permissions";
|
|
2989
|
-
readonly UPDATE_CALL_SETTINGS: "update-call-settings";
|
|
2990
|
-
};
|
|
2991
|
-
export type VideoOwnCapability = typeof VideoOwnCapability[keyof typeof VideoOwnCapability];
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @export
|
|
2995
|
-
* @interface VideoOwnUserResponse
|
|
2996
|
-
*/
|
|
2997
|
-
export interface VideoOwnUserResponse {
|
|
2998
|
-
/**
|
|
2999
|
-
*
|
|
3000
|
-
* @type {string}
|
|
3001
|
-
* @memberof VideoOwnUserResponse
|
|
3002
|
-
*/
|
|
3003
|
-
created_at: string;
|
|
3004
|
-
/**
|
|
3005
|
-
*
|
|
3006
|
-
* @type {{ [key: string]: any; }}
|
|
3007
|
-
* @memberof VideoOwnUserResponse
|
|
3008
|
-
*/
|
|
3009
|
-
custom: {
|
|
3010
|
-
[key: string]: any;
|
|
3011
|
-
};
|
|
3012
|
-
/**
|
|
3013
|
-
*
|
|
3014
|
-
* @type {string}
|
|
3015
|
-
* @memberof VideoOwnUserResponse
|
|
3016
|
-
*/
|
|
3017
|
-
deleted_at?: string;
|
|
3018
|
-
/**
|
|
3019
|
-
*
|
|
3020
|
-
* @type {Array<VideoDevice>}
|
|
3021
|
-
* @memberof VideoOwnUserResponse
|
|
3022
|
-
*/
|
|
3023
|
-
devices: Array<VideoDevice>;
|
|
3024
|
-
/**
|
|
3025
|
-
*
|
|
3026
|
-
* @type {string}
|
|
3027
|
-
* @memberof VideoOwnUserResponse
|
|
3028
|
-
*/
|
|
3029
|
-
id: string;
|
|
3030
|
-
/**
|
|
3031
|
-
*
|
|
3032
|
-
* @type {string}
|
|
3033
|
-
* @memberof VideoOwnUserResponse
|
|
3034
|
-
*/
|
|
3035
|
-
image?: string;
|
|
3036
|
-
/**
|
|
3037
|
-
*
|
|
3038
|
-
* @type {string}
|
|
3039
|
-
* @memberof VideoOwnUserResponse
|
|
3040
|
-
*/
|
|
3041
|
-
name?: string;
|
|
3042
|
-
/**
|
|
3043
|
-
*
|
|
3044
|
-
* @type {string}
|
|
3045
|
-
* @memberof VideoOwnUserResponse
|
|
3046
|
-
*/
|
|
3047
|
-
role: string;
|
|
3048
|
-
/**
|
|
3049
|
-
*
|
|
3050
|
-
* @type {Array<string>}
|
|
3051
|
-
* @memberof VideoOwnUserResponse
|
|
3052
|
-
*/
|
|
3053
|
-
teams: Array<string>;
|
|
2068
|
+
enabled: boolean;
|
|
3054
2069
|
/**
|
|
3055
2070
|
*
|
|
3056
|
-
* @type {
|
|
3057
|
-
* @memberof
|
|
2071
|
+
* @type {VideoEventNotificationSettings}
|
|
2072
|
+
* @memberof VideoNotificationSettings
|
|
3058
2073
|
*/
|
|
3059
|
-
|
|
2074
|
+
session_started: VideoEventNotificationSettings;
|
|
3060
2075
|
}
|
|
3061
2076
|
/**
|
|
3062
|
-
*
|
|
3063
|
-
* clients receiving this event should display a permission request to the user
|
|
2077
|
+
*
|
|
3064
2078
|
* @export
|
|
3065
|
-
* @interface
|
|
2079
|
+
* @interface VideoNotificationSettingsRequest
|
|
3066
2080
|
*/
|
|
3067
|
-
export interface
|
|
2081
|
+
export interface VideoNotificationSettingsRequest {
|
|
3068
2082
|
/**
|
|
3069
2083
|
*
|
|
3070
|
-
* @type {
|
|
3071
|
-
* @memberof
|
|
2084
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2085
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3072
2086
|
*/
|
|
3073
|
-
|
|
2087
|
+
call_live_started?: VideoEventNotificationSettingsRequest;
|
|
3074
2088
|
/**
|
|
3075
2089
|
*
|
|
3076
|
-
* @type {
|
|
3077
|
-
* @memberof
|
|
2090
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2091
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3078
2092
|
*/
|
|
3079
|
-
|
|
2093
|
+
call_notification?: VideoEventNotificationSettingsRequest;
|
|
3080
2094
|
/**
|
|
3081
|
-
*
|
|
3082
|
-
* @type {
|
|
3083
|
-
* @memberof
|
|
2095
|
+
*
|
|
2096
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2097
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3084
2098
|
*/
|
|
3085
|
-
|
|
2099
|
+
call_ring?: VideoEventNotificationSettingsRequest;
|
|
3086
2100
|
/**
|
|
3087
|
-
*
|
|
3088
|
-
* @type {
|
|
3089
|
-
* @memberof
|
|
2101
|
+
*
|
|
2102
|
+
* @type {boolean}
|
|
2103
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3090
2104
|
*/
|
|
3091
|
-
|
|
2105
|
+
enabled?: boolean;
|
|
3092
2106
|
/**
|
|
3093
2107
|
*
|
|
3094
|
-
* @type {
|
|
3095
|
-
* @memberof
|
|
2108
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2109
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3096
2110
|
*/
|
|
3097
|
-
|
|
2111
|
+
session_started?: VideoEventNotificationSettingsRequest;
|
|
3098
2112
|
}
|
|
2113
|
+
/**
|
|
2114
|
+
* All possibility of string to use
|
|
2115
|
+
* @export
|
|
2116
|
+
*/
|
|
2117
|
+
export declare const VideoOwnCapability: {
|
|
2118
|
+
readonly BLOCK_USERS: "block-users";
|
|
2119
|
+
readonly CREATE_CALL: "create-call";
|
|
2120
|
+
readonly CREATE_REACTION: "create-reaction";
|
|
2121
|
+
readonly END_CALL: "end-call";
|
|
2122
|
+
readonly JOIN_BACKSTAGE: "join-backstage";
|
|
2123
|
+
readonly JOIN_CALL: "join-call";
|
|
2124
|
+
readonly JOIN_ENDED_CALL: "join-ended-call";
|
|
2125
|
+
readonly MUTE_USERS: "mute-users";
|
|
2126
|
+
readonly PIN_FOR_EVERYONE: "pin-for-everyone";
|
|
2127
|
+
readonly READ_CALL: "read-call";
|
|
2128
|
+
readonly REMOVE_CALL_MEMBER: "remove-call-member";
|
|
2129
|
+
readonly SCREENSHARE: "screenshare";
|
|
2130
|
+
readonly SEND_AUDIO: "send-audio";
|
|
2131
|
+
readonly SEND_VIDEO: "send-video";
|
|
2132
|
+
readonly START_BROADCAST_CALL: "start-broadcast-call";
|
|
2133
|
+
readonly START_RECORD_CALL: "start-record-call";
|
|
2134
|
+
readonly START_TRANSCRIPTION_CALL: "start-transcription-call";
|
|
2135
|
+
readonly STOP_BROADCAST_CALL: "stop-broadcast-call";
|
|
2136
|
+
readonly STOP_RECORD_CALL: "stop-record-call";
|
|
2137
|
+
readonly STOP_TRANSCRIPTION_CALL: "stop-transcription-call";
|
|
2138
|
+
readonly UPDATE_CALL: "update-call";
|
|
2139
|
+
readonly UPDATE_CALL_MEMBER: "update-call-member";
|
|
2140
|
+
readonly UPDATE_CALL_PERMISSIONS: "update-call-permissions";
|
|
2141
|
+
readonly UPDATE_CALL_SETTINGS: "update-call-settings";
|
|
2142
|
+
};
|
|
2143
|
+
export type VideoOwnCapability = typeof VideoOwnCapability[keyof typeof VideoOwnCapability];
|
|
3099
2144
|
/**
|
|
3100
2145
|
*
|
|
3101
2146
|
* @export
|
|
@@ -3136,12 +2181,10 @@ export interface VideoPinResponse {
|
|
|
3136
2181
|
export interface VideoQueryCallsRequest {
|
|
3137
2182
|
/**
|
|
3138
2183
|
*
|
|
3139
|
-
* @type {
|
|
2184
|
+
* @type {object}
|
|
3140
2185
|
* @memberof VideoQueryCallsRequest
|
|
3141
2186
|
*/
|
|
3142
|
-
filter_conditions?:
|
|
3143
|
-
[key: string]: any;
|
|
3144
|
-
};
|
|
2187
|
+
filter_conditions?: object;
|
|
3145
2188
|
/**
|
|
3146
2189
|
*
|
|
3147
2190
|
* @type {number}
|
|
@@ -3212,12 +2255,10 @@ export interface VideoQueryCallsResponse {
|
|
|
3212
2255
|
export interface VideoQueryMembersRequest {
|
|
3213
2256
|
/**
|
|
3214
2257
|
*
|
|
3215
|
-
* @type {
|
|
2258
|
+
* @type {object}
|
|
3216
2259
|
* @memberof VideoQueryMembersRequest
|
|
3217
2260
|
*/
|
|
3218
|
-
filter_conditions?:
|
|
3219
|
-
[key: string]: any;
|
|
3220
|
-
};
|
|
2261
|
+
filter_conditions?: object;
|
|
3221
2262
|
/**
|
|
3222
2263
|
*
|
|
3223
2264
|
* @type {string}
|
|
@@ -3299,39 +2340,6 @@ export interface VideoRTMPIngress {
|
|
|
3299
2340
|
*/
|
|
3300
2341
|
address: string;
|
|
3301
2342
|
}
|
|
3302
|
-
/**
|
|
3303
|
-
*
|
|
3304
|
-
* @export
|
|
3305
|
-
* @interface VideoReactionResponse
|
|
3306
|
-
*/
|
|
3307
|
-
export interface VideoReactionResponse {
|
|
3308
|
-
/**
|
|
3309
|
-
*
|
|
3310
|
-
* @type {{ [key: string]: any; }}
|
|
3311
|
-
* @memberof VideoReactionResponse
|
|
3312
|
-
*/
|
|
3313
|
-
custom?: {
|
|
3314
|
-
[key: string]: any;
|
|
3315
|
-
};
|
|
3316
|
-
/**
|
|
3317
|
-
*
|
|
3318
|
-
* @type {string}
|
|
3319
|
-
* @memberof VideoReactionResponse
|
|
3320
|
-
*/
|
|
3321
|
-
emoji_code?: string;
|
|
3322
|
-
/**
|
|
3323
|
-
*
|
|
3324
|
-
* @type {string}
|
|
3325
|
-
* @memberof VideoReactionResponse
|
|
3326
|
-
*/
|
|
3327
|
-
type: string;
|
|
3328
|
-
/**
|
|
3329
|
-
*
|
|
3330
|
-
* @type {VideoUserResponse}
|
|
3331
|
-
* @memberof VideoReactionResponse
|
|
3332
|
-
*/
|
|
3333
|
-
user: VideoUserResponse;
|
|
3334
|
-
}
|
|
3335
2343
|
/**
|
|
3336
2344
|
*
|
|
3337
2345
|
* @export
|
|
@@ -3465,6 +2473,31 @@ export interface VideoRingSettingsRequest {
|
|
|
3465
2473
|
*/
|
|
3466
2474
|
incoming_call_timeout_ms?: number;
|
|
3467
2475
|
}
|
|
2476
|
+
/**
|
|
2477
|
+
*
|
|
2478
|
+
* @export
|
|
2479
|
+
* @interface VideoS3Request
|
|
2480
|
+
*/
|
|
2481
|
+
export interface VideoS3Request {
|
|
2482
|
+
/**
|
|
2483
|
+
*
|
|
2484
|
+
* @type {string}
|
|
2485
|
+
* @memberof VideoS3Request
|
|
2486
|
+
*/
|
|
2487
|
+
s3_api_key?: string;
|
|
2488
|
+
/**
|
|
2489
|
+
*
|
|
2490
|
+
* @type {string}
|
|
2491
|
+
* @memberof VideoS3Request
|
|
2492
|
+
*/
|
|
2493
|
+
s3_region: string;
|
|
2494
|
+
/**
|
|
2495
|
+
*
|
|
2496
|
+
* @type {string}
|
|
2497
|
+
* @memberof VideoS3Request
|
|
2498
|
+
*/
|
|
2499
|
+
s3_secret?: string;
|
|
2500
|
+
}
|
|
3468
2501
|
/**
|
|
3469
2502
|
*
|
|
3470
2503
|
* @export
|
|
@@ -3511,12 +2544,10 @@ export interface VideoScreensharingSettingsRequest {
|
|
|
3511
2544
|
export interface VideoSendEventRequest {
|
|
3512
2545
|
/**
|
|
3513
2546
|
*
|
|
3514
|
-
* @type {
|
|
2547
|
+
* @type {object}
|
|
3515
2548
|
* @memberof VideoSendEventRequest
|
|
3516
2549
|
*/
|
|
3517
|
-
custom?:
|
|
3518
|
-
[key: string]: any;
|
|
3519
|
-
};
|
|
2550
|
+
custom?: object;
|
|
3520
2551
|
}
|
|
3521
2552
|
/**
|
|
3522
2553
|
*
|
|
@@ -3569,6 +2600,19 @@ export interface VideoStartHLSBroadcastingResponse {
|
|
|
3569
2600
|
*/
|
|
3570
2601
|
playlist_url: string;
|
|
3571
2602
|
}
|
|
2603
|
+
/**
|
|
2604
|
+
*
|
|
2605
|
+
* @export
|
|
2606
|
+
* @interface VideoStartRecordingRequest
|
|
2607
|
+
*/
|
|
2608
|
+
export interface VideoStartRecordingRequest {
|
|
2609
|
+
/**
|
|
2610
|
+
*
|
|
2611
|
+
* @type {string}
|
|
2612
|
+
* @memberof VideoStartRecordingRequest
|
|
2613
|
+
*/
|
|
2614
|
+
recording_external_storage?: string;
|
|
2615
|
+
}
|
|
3572
2616
|
/**
|
|
3573
2617
|
*
|
|
3574
2618
|
* @export
|
|
@@ -3824,38 +2868,6 @@ export interface VideoUnblockUserResponse {
|
|
|
3824
2868
|
*/
|
|
3825
2869
|
duration: string;
|
|
3826
2870
|
}
|
|
3827
|
-
/**
|
|
3828
|
-
* This event is sent when a user is unblocked on a call,
|
|
3829
|
-
* this can be useful to notify the user that they can now join the call again
|
|
3830
|
-
* @export
|
|
3831
|
-
* @interface VideoUnblockedUserEvent
|
|
3832
|
-
*/
|
|
3833
|
-
export interface VideoUnblockedUserEvent {
|
|
3834
|
-
/**
|
|
3835
|
-
*
|
|
3836
|
-
* @type {string}
|
|
3837
|
-
* @memberof VideoUnblockedUserEvent
|
|
3838
|
-
*/
|
|
3839
|
-
call_cid: string;
|
|
3840
|
-
/**
|
|
3841
|
-
*
|
|
3842
|
-
* @type {string}
|
|
3843
|
-
* @memberof VideoUnblockedUserEvent
|
|
3844
|
-
*/
|
|
3845
|
-
created_at: string;
|
|
3846
|
-
/**
|
|
3847
|
-
* The type of event: "call.unblocked_user" in this case
|
|
3848
|
-
* @type {string}
|
|
3849
|
-
* @memberof VideoUnblockedUserEvent
|
|
3850
|
-
*/
|
|
3851
|
-
type: string;
|
|
3852
|
-
/**
|
|
3853
|
-
*
|
|
3854
|
-
* @type {VideoUserResponse}
|
|
3855
|
-
* @memberof VideoUnblockedUserEvent
|
|
3856
|
-
*/
|
|
3857
|
-
user: VideoUserResponse;
|
|
3858
|
-
}
|
|
3859
2871
|
/**
|
|
3860
2872
|
*
|
|
3861
2873
|
* @export
|
|
@@ -3934,12 +2946,10 @@ export interface VideoUpdateCallMembersResponse {
|
|
|
3934
2946
|
export interface VideoUpdateCallRequest {
|
|
3935
2947
|
/**
|
|
3936
2948
|
* Custom data for this object
|
|
3937
|
-
* @type {
|
|
2949
|
+
* @type {object}
|
|
3938
2950
|
* @memberof VideoUpdateCallRequest
|
|
3939
2951
|
*/
|
|
3940
|
-
custom?:
|
|
3941
|
-
[key: string]: any;
|
|
3942
|
-
};
|
|
2952
|
+
custom?: object;
|
|
3943
2953
|
/**
|
|
3944
2954
|
*
|
|
3945
2955
|
* @type {VideoCallSettingsRequest}
|
|
@@ -3996,6 +3006,12 @@ export interface VideoUpdateCallResponse {
|
|
|
3996
3006
|
* @interface VideoUpdateCallTypeRequest
|
|
3997
3007
|
*/
|
|
3998
3008
|
export interface VideoUpdateCallTypeRequest {
|
|
3009
|
+
/**
|
|
3010
|
+
*
|
|
3011
|
+
* @type {string}
|
|
3012
|
+
* @memberof VideoUpdateCallTypeRequest
|
|
3013
|
+
*/
|
|
3014
|
+
external_storage?: string;
|
|
3999
3015
|
/**
|
|
4000
3016
|
*
|
|
4001
3017
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -4035,6 +3051,12 @@ export interface VideoUpdateCallTypeResponse {
|
|
|
4035
3051
|
* @memberof VideoUpdateCallTypeResponse
|
|
4036
3052
|
*/
|
|
4037
3053
|
duration: string;
|
|
3054
|
+
/**
|
|
3055
|
+
*
|
|
3056
|
+
* @type {string}
|
|
3057
|
+
* @memberof VideoUpdateCallTypeResponse
|
|
3058
|
+
*/
|
|
3059
|
+
external_storage?: string;
|
|
4038
3060
|
/**
|
|
4039
3061
|
*
|
|
4040
3062
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -4071,77 +3093,120 @@ export interface VideoUpdateCallTypeResponse {
|
|
|
4071
3093
|
/**
|
|
4072
3094
|
*
|
|
4073
3095
|
* @export
|
|
4074
|
-
* @interface
|
|
3096
|
+
* @interface VideoUpdateExternalStorageRequest
|
|
4075
3097
|
*/
|
|
4076
|
-
export interface
|
|
3098
|
+
export interface VideoUpdateExternalStorageRequest {
|
|
4077
3099
|
/**
|
|
4078
3100
|
*
|
|
4079
|
-
* @type {
|
|
4080
|
-
* @memberof
|
|
3101
|
+
* @type {VideoS3Request}
|
|
3102
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
4081
3103
|
*/
|
|
4082
|
-
|
|
3104
|
+
aws_s3?: VideoS3Request;
|
|
4083
3105
|
/**
|
|
4084
3106
|
*
|
|
4085
|
-
* @type {
|
|
4086
|
-
* @memberof
|
|
3107
|
+
* @type {VideoAzureRequest}
|
|
3108
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
4087
3109
|
*/
|
|
4088
|
-
|
|
3110
|
+
azure_blob?: VideoAzureRequest;
|
|
4089
3111
|
/**
|
|
4090
3112
|
*
|
|
4091
3113
|
* @type {string}
|
|
4092
|
-
* @memberof
|
|
3114
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
4093
3115
|
*/
|
|
4094
|
-
|
|
3116
|
+
bucket: string;
|
|
3117
|
+
/**
|
|
3118
|
+
*
|
|
3119
|
+
* @type {string}
|
|
3120
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
3121
|
+
*/
|
|
3122
|
+
gcs_credentials?: string;
|
|
3123
|
+
/**
|
|
3124
|
+
*
|
|
3125
|
+
* @type {string}
|
|
3126
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
3127
|
+
*/
|
|
3128
|
+
path?: string;
|
|
3129
|
+
/**
|
|
3130
|
+
*
|
|
3131
|
+
* @type {string}
|
|
3132
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
3133
|
+
*/
|
|
3134
|
+
storage_type: string;
|
|
4095
3135
|
}
|
|
4096
3136
|
/**
|
|
4097
3137
|
*
|
|
4098
3138
|
* @export
|
|
4099
|
-
* @interface
|
|
3139
|
+
* @interface VideoUpdateExternalStorageResponse
|
|
4100
3140
|
*/
|
|
4101
|
-
export interface
|
|
3141
|
+
export interface VideoUpdateExternalStorageResponse {
|
|
3142
|
+
/**
|
|
3143
|
+
*
|
|
3144
|
+
* @type {string}
|
|
3145
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
3146
|
+
*/
|
|
3147
|
+
bucket: string;
|
|
4102
3148
|
/**
|
|
4103
3149
|
* Duration of the request in human-readable format
|
|
4104
3150
|
* @type {string}
|
|
4105
|
-
* @memberof
|
|
3151
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4106
3152
|
*/
|
|
4107
3153
|
duration: string;
|
|
4108
|
-
}
|
|
4109
|
-
/**
|
|
4110
|
-
* This event is sent to notify about permission changes for a user, clients receiving this event should update their UI accordingly
|
|
4111
|
-
* @export
|
|
4112
|
-
* @interface VideoUpdatedCallPermissionsEvent
|
|
4113
|
-
*/
|
|
4114
|
-
export interface VideoUpdatedCallPermissionsEvent {
|
|
4115
3154
|
/**
|
|
4116
3155
|
*
|
|
4117
3156
|
* @type {string}
|
|
4118
|
-
* @memberof
|
|
3157
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4119
3158
|
*/
|
|
4120
|
-
|
|
3159
|
+
name: string;
|
|
4121
3160
|
/**
|
|
4122
3161
|
*
|
|
4123
3162
|
* @type {string}
|
|
4124
|
-
* @memberof
|
|
3163
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4125
3164
|
*/
|
|
4126
|
-
|
|
4127
|
-
/**
|
|
4128
|
-
* The capabilities of the current user
|
|
4129
|
-
* @type {Array<VideoOwnCapability>}
|
|
4130
|
-
* @memberof VideoUpdatedCallPermissionsEvent
|
|
4131
|
-
*/
|
|
4132
|
-
own_capabilities: Array<VideoOwnCapability>;
|
|
3165
|
+
path: string;
|
|
4133
3166
|
/**
|
|
4134
|
-
*
|
|
3167
|
+
*
|
|
4135
3168
|
* @type {string}
|
|
4136
|
-
* @memberof
|
|
3169
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4137
3170
|
*/
|
|
4138
3171
|
type: string;
|
|
3172
|
+
}
|
|
3173
|
+
/**
|
|
3174
|
+
*
|
|
3175
|
+
* @export
|
|
3176
|
+
* @interface VideoUpdateUserPermissionsRequest
|
|
3177
|
+
*/
|
|
3178
|
+
export interface VideoUpdateUserPermissionsRequest {
|
|
4139
3179
|
/**
|
|
4140
3180
|
*
|
|
4141
|
-
* @type {
|
|
4142
|
-
* @memberof
|
|
3181
|
+
* @type {Array<string>}
|
|
3182
|
+
* @memberof VideoUpdateUserPermissionsRequest
|
|
4143
3183
|
*/
|
|
4144
|
-
|
|
3184
|
+
grant_permissions?: Array<string>;
|
|
3185
|
+
/**
|
|
3186
|
+
*
|
|
3187
|
+
* @type {Array<string>}
|
|
3188
|
+
* @memberof VideoUpdateUserPermissionsRequest
|
|
3189
|
+
*/
|
|
3190
|
+
revoke_permissions?: Array<string>;
|
|
3191
|
+
/**
|
|
3192
|
+
*
|
|
3193
|
+
* @type {string}
|
|
3194
|
+
* @memberof VideoUpdateUserPermissionsRequest
|
|
3195
|
+
*/
|
|
3196
|
+
user_id: string;
|
|
3197
|
+
}
|
|
3198
|
+
/**
|
|
3199
|
+
*
|
|
3200
|
+
* @export
|
|
3201
|
+
* @interface VideoUpdateUserPermissionsResponse
|
|
3202
|
+
*/
|
|
3203
|
+
export interface VideoUpdateUserPermissionsResponse {
|
|
3204
|
+
/**
|
|
3205
|
+
* Duration of the request in human-readable format
|
|
3206
|
+
* @type {string}
|
|
3207
|
+
* @memberof VideoUpdateUserPermissionsResponse
|
|
3208
|
+
*/
|
|
3209
|
+
duration: string;
|
|
4145
3210
|
}
|
|
4146
3211
|
/**
|
|
4147
3212
|
*
|
|
@@ -4151,12 +3216,10 @@ export interface VideoUpdatedCallPermissionsEvent {
|
|
|
4151
3216
|
export interface VideoUserRequest {
|
|
4152
3217
|
/**
|
|
4153
3218
|
*
|
|
4154
|
-
* @type {
|
|
3219
|
+
* @type {object}
|
|
4155
3220
|
* @memberof VideoUserRequest
|
|
4156
3221
|
*/
|
|
4157
|
-
custom?:
|
|
4158
|
-
[key: string]: any;
|
|
4159
|
-
};
|
|
3222
|
+
custom?: object;
|
|
4160
3223
|
/**
|
|
4161
3224
|
* User ID
|
|
4162
3225
|
* @type {string}
|
|
@@ -4169,6 +3232,12 @@ export interface VideoUserRequest {
|
|
|
4169
3232
|
* @memberof VideoUserRequest
|
|
4170
3233
|
*/
|
|
4171
3234
|
image?: string;
|
|
3235
|
+
/**
|
|
3236
|
+
*
|
|
3237
|
+
* @type {string}
|
|
3238
|
+
* @memberof VideoUserRequest
|
|
3239
|
+
*/
|
|
3240
|
+
language?: string;
|
|
4172
3241
|
/**
|
|
4173
3242
|
* Optional name of user
|
|
4174
3243
|
* @type {string}
|
|
@@ -4202,12 +3271,10 @@ export interface VideoUserResponse {
|
|
|
4202
3271
|
created_at: string;
|
|
4203
3272
|
/**
|
|
4204
3273
|
*
|
|
4205
|
-
* @type {
|
|
3274
|
+
* @type {object}
|
|
4206
3275
|
* @memberof VideoUserResponse
|
|
4207
3276
|
*/
|
|
4208
|
-
custom:
|
|
4209
|
-
[key: string]: any;
|
|
4210
|
-
};
|
|
3277
|
+
custom: object;
|
|
4211
3278
|
/**
|
|
4212
3279
|
* Date/time of deletion
|
|
4213
3280
|
* @type {string}
|
|
@@ -4226,6 +3293,12 @@ export interface VideoUserResponse {
|
|
|
4226
3293
|
* @memberof VideoUserResponse
|
|
4227
3294
|
*/
|
|
4228
3295
|
image?: string;
|
|
3296
|
+
/**
|
|
3297
|
+
*
|
|
3298
|
+
* @type {string}
|
|
3299
|
+
* @memberof VideoUserResponse
|
|
3300
|
+
*/
|
|
3301
|
+
language: string;
|
|
4229
3302
|
/**
|
|
4230
3303
|
*
|
|
4231
3304
|
* @type {string}
|
|
@@ -4251,78 +3324,6 @@ export interface VideoUserResponse {
|
|
|
4251
3324
|
*/
|
|
4252
3325
|
updated_at: string;
|
|
4253
3326
|
}
|
|
4254
|
-
/**
|
|
4255
|
-
* @type VideoVideoEvent
|
|
4256
|
-
* The discriminator object for all websocket events, you should use this to map event payloads to their own type
|
|
4257
|
-
* @export
|
|
4258
|
-
*/
|
|
4259
|
-
export type VideoVideoEvent = {
|
|
4260
|
-
type: 'call.accepted';
|
|
4261
|
-
} & VideoCallAcceptedEvent | {
|
|
4262
|
-
type: 'call.blocked_user';
|
|
4263
|
-
} & VideoBlockedUserEvent | {
|
|
4264
|
-
type: 'call.created';
|
|
4265
|
-
} & VideoCallCreatedEvent | {
|
|
4266
|
-
type: 'call.ended';
|
|
4267
|
-
} & VideoCallEndedEvent | {
|
|
4268
|
-
type: 'call.hls_broadcasting_failed';
|
|
4269
|
-
} & VideoCallHLSBroadcastingFailedEvent | {
|
|
4270
|
-
type: 'call.hls_broadcasting_started';
|
|
4271
|
-
} & VideoCallHLSBroadcastingStartedEvent | {
|
|
4272
|
-
type: 'call.hls_broadcasting_stopped';
|
|
4273
|
-
} & VideoCallHLSBroadcastingStoppedEvent | {
|
|
4274
|
-
type: 'call.live_started';
|
|
4275
|
-
} & VideoCallLiveStartedEvent | {
|
|
4276
|
-
type: 'call.member_added';
|
|
4277
|
-
} & VideoCallMemberAddedEvent | {
|
|
4278
|
-
type: 'call.member_removed';
|
|
4279
|
-
} & VideoCallMemberRemovedEvent | {
|
|
4280
|
-
type: 'call.member_updated';
|
|
4281
|
-
} & VideoCallMemberUpdatedEvent | {
|
|
4282
|
-
type: 'call.member_updated_permission';
|
|
4283
|
-
} & VideoCallMemberUpdatedPermissionEvent | {
|
|
4284
|
-
type: 'call.notification';
|
|
4285
|
-
} & VideoCallNotificationEvent | {
|
|
4286
|
-
type: 'call.permission_request';
|
|
4287
|
-
} & VideoPermissionRequestEvent | {
|
|
4288
|
-
type: 'call.permissions_updated';
|
|
4289
|
-
} & VideoUpdatedCallPermissionsEvent | {
|
|
4290
|
-
type: 'call.reaction_new';
|
|
4291
|
-
} & VideoCallReactionEvent | {
|
|
4292
|
-
type: 'call.recording_failed';
|
|
4293
|
-
} & VideoCallRecordingFailedEvent | {
|
|
4294
|
-
type: 'call.recording_ready';
|
|
4295
|
-
} & VideoCallRecordingReadyEvent | {
|
|
4296
|
-
type: 'call.recording_started';
|
|
4297
|
-
} & VideoCallRecordingStartedEvent | {
|
|
4298
|
-
type: 'call.recording_stopped';
|
|
4299
|
-
} & VideoCallRecordingStoppedEvent | {
|
|
4300
|
-
type: 'call.rejected';
|
|
4301
|
-
} & VideoCallRejectedEvent | {
|
|
4302
|
-
type: 'call.ring';
|
|
4303
|
-
} & VideoCallRingEvent | {
|
|
4304
|
-
type: 'call.session_ended';
|
|
4305
|
-
} & VideoCallSessionEndedEvent | {
|
|
4306
|
-
type: 'call.session_participant_joined';
|
|
4307
|
-
} & VideoCallSessionParticipantJoinedEvent | {
|
|
4308
|
-
type: 'call.session_participant_left';
|
|
4309
|
-
} & VideoCallSessionParticipantLeftEvent | {
|
|
4310
|
-
type: 'call.session_started';
|
|
4311
|
-
} & VideoCallSessionStartedEvent | {
|
|
4312
|
-
type: 'call.unblocked_user';
|
|
4313
|
-
} & VideoUnblockedUserEvent | {
|
|
4314
|
-
type: 'call.updated';
|
|
4315
|
-
} & VideoCallUpdatedEvent | {
|
|
4316
|
-
type: 'call.user_muted';
|
|
4317
|
-
} & VideoCallUserMuted | {
|
|
4318
|
-
type: 'connection.error';
|
|
4319
|
-
} & VideoConnectionErrorEvent | {
|
|
4320
|
-
type: 'connection.ok';
|
|
4321
|
-
} & VideoConnectedEvent | {
|
|
4322
|
-
type: 'custom';
|
|
4323
|
-
} & VideoCustomVideoEvent | {
|
|
4324
|
-
type: 'health.check';
|
|
4325
|
-
} & VideoHealthCheckEvent;
|
|
4326
3327
|
/**
|
|
4327
3328
|
*
|
|
4328
3329
|
* @export
|
|
@@ -4434,29 +3435,3 @@ export interface VideoWSAuthMessageRequest {
|
|
|
4434
3435
|
*/
|
|
4435
3436
|
user_details: VideoConnectUserDetailsRequest;
|
|
4436
3437
|
}
|
|
4437
|
-
/**
|
|
4438
|
-
* This is just a placeholder for all client events
|
|
4439
|
-
* @export
|
|
4440
|
-
* @interface VideoWSCallEvent
|
|
4441
|
-
*/
|
|
4442
|
-
export interface VideoWSCallEvent {
|
|
4443
|
-
/**
|
|
4444
|
-
*
|
|
4445
|
-
* @type {string}
|
|
4446
|
-
* @memberof VideoWSCallEvent
|
|
4447
|
-
*/
|
|
4448
|
-
call_cid?: string;
|
|
4449
|
-
}
|
|
4450
|
-
/**
|
|
4451
|
-
* This is just a placeholder for all client events
|
|
4452
|
-
* @export
|
|
4453
|
-
* @interface VideoWSClientEvent
|
|
4454
|
-
*/
|
|
4455
|
-
export interface VideoWSClientEvent {
|
|
4456
|
-
/**
|
|
4457
|
-
*
|
|
4458
|
-
* @type {string}
|
|
4459
|
-
* @memberof VideoWSClientEvent
|
|
4460
|
-
*/
|
|
4461
|
-
connection_id?: string;
|
|
4462
|
-
}
|