@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
|
@@ -195,6 +195,37 @@ export const VideoAudioSettingsRequestDefaultDeviceEnum = {
|
|
|
195
195
|
} as const;
|
|
196
196
|
export type VideoAudioSettingsRequestDefaultDeviceEnum = typeof VideoAudioSettingsRequestDefaultDeviceEnum[keyof typeof VideoAudioSettingsRequestDefaultDeviceEnum];
|
|
197
197
|
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @export
|
|
201
|
+
* @interface VideoAzureRequest
|
|
202
|
+
*/
|
|
203
|
+
export interface VideoAzureRequest {
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof VideoAzureRequest
|
|
208
|
+
*/
|
|
209
|
+
abs_account_name: string;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof VideoAzureRequest
|
|
214
|
+
*/
|
|
215
|
+
abs_client_id: string;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof VideoAzureRequest
|
|
220
|
+
*/
|
|
221
|
+
abs_client_secret: string;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @memberof VideoAzureRequest
|
|
226
|
+
*/
|
|
227
|
+
abs_tenant_id: string;
|
|
228
|
+
}
|
|
198
229
|
/**
|
|
199
230
|
*
|
|
200
231
|
* @export
|
|
@@ -247,44 +278,6 @@ export interface VideoBlockUserResponse {
|
|
|
247
278
|
*/
|
|
248
279
|
duration: string;
|
|
249
280
|
}
|
|
250
|
-
/**
|
|
251
|
-
* 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.
|
|
252
|
-
* If the user is the current user, the client should leave the call screen as well
|
|
253
|
-
* @export
|
|
254
|
-
* @interface VideoBlockedUserEvent
|
|
255
|
-
*/
|
|
256
|
-
export interface VideoBlockedUserEvent {
|
|
257
|
-
/**
|
|
258
|
-
*
|
|
259
|
-
* @type {VideoUserResponse}
|
|
260
|
-
* @memberof VideoBlockedUserEvent
|
|
261
|
-
*/
|
|
262
|
-
blocked_by_user?: VideoUserResponse;
|
|
263
|
-
/**
|
|
264
|
-
*
|
|
265
|
-
* @type {string}
|
|
266
|
-
* @memberof VideoBlockedUserEvent
|
|
267
|
-
*/
|
|
268
|
-
call_cid: string;
|
|
269
|
-
/**
|
|
270
|
-
*
|
|
271
|
-
* @type {string}
|
|
272
|
-
* @memberof VideoBlockedUserEvent
|
|
273
|
-
*/
|
|
274
|
-
created_at: string;
|
|
275
|
-
/**
|
|
276
|
-
* The type of event: "call.blocked_user" in this case
|
|
277
|
-
* @type {string}
|
|
278
|
-
* @memberof VideoBlockedUserEvent
|
|
279
|
-
*/
|
|
280
|
-
type: string;
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @type {VideoUserResponse}
|
|
284
|
-
* @memberof VideoBlockedUserEvent
|
|
285
|
-
*/
|
|
286
|
-
user: VideoUserResponse;
|
|
287
|
-
}
|
|
288
281
|
/**
|
|
289
282
|
*
|
|
290
283
|
* @export
|
|
@@ -323,199 +316,6 @@ export interface VideoBroadcastSettingsResponse {
|
|
|
323
316
|
*/
|
|
324
317
|
hls: VideoHLSSettingsResponse;
|
|
325
318
|
}
|
|
326
|
-
/**
|
|
327
|
-
* This event is sent when a user accepts a notification to join a call.
|
|
328
|
-
* @export
|
|
329
|
-
* @interface VideoCallAcceptedEvent
|
|
330
|
-
*/
|
|
331
|
-
export interface VideoCallAcceptedEvent {
|
|
332
|
-
/**
|
|
333
|
-
*
|
|
334
|
-
* @type {VideoCallResponse}
|
|
335
|
-
* @memberof VideoCallAcceptedEvent
|
|
336
|
-
*/
|
|
337
|
-
call: VideoCallResponse;
|
|
338
|
-
/**
|
|
339
|
-
*
|
|
340
|
-
* @type {string}
|
|
341
|
-
* @memberof VideoCallAcceptedEvent
|
|
342
|
-
*/
|
|
343
|
-
call_cid: string;
|
|
344
|
-
/**
|
|
345
|
-
*
|
|
346
|
-
* @type {string}
|
|
347
|
-
* @memberof VideoCallAcceptedEvent
|
|
348
|
-
*/
|
|
349
|
-
created_at: string;
|
|
350
|
-
/**
|
|
351
|
-
* The type of event: "call.accepted" in this case
|
|
352
|
-
* @type {string}
|
|
353
|
-
* @memberof VideoCallAcceptedEvent
|
|
354
|
-
*/
|
|
355
|
-
type: string;
|
|
356
|
-
/**
|
|
357
|
-
*
|
|
358
|
-
* @type {VideoUserResponse}
|
|
359
|
-
* @memberof VideoCallAcceptedEvent
|
|
360
|
-
*/
|
|
361
|
-
user: VideoUserResponse;
|
|
362
|
-
}
|
|
363
|
-
/**
|
|
364
|
-
* This event is sent when a call is created. Clients receiving this event should check if the ringing
|
|
365
|
-
* field is set to true and if so, show the call screen
|
|
366
|
-
* @export
|
|
367
|
-
* @interface VideoCallCreatedEvent
|
|
368
|
-
*/
|
|
369
|
-
export interface VideoCallCreatedEvent {
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @type {VideoCallResponse}
|
|
373
|
-
* @memberof VideoCallCreatedEvent
|
|
374
|
-
*/
|
|
375
|
-
call: VideoCallResponse;
|
|
376
|
-
/**
|
|
377
|
-
*
|
|
378
|
-
* @type {string}
|
|
379
|
-
* @memberof VideoCallCreatedEvent
|
|
380
|
-
*/
|
|
381
|
-
call_cid: string;
|
|
382
|
-
/**
|
|
383
|
-
*
|
|
384
|
-
* @type {string}
|
|
385
|
-
* @memberof VideoCallCreatedEvent
|
|
386
|
-
*/
|
|
387
|
-
created_at: string;
|
|
388
|
-
/**
|
|
389
|
-
* the members added to this call
|
|
390
|
-
* @type {Array<VideoMemberResponse>}
|
|
391
|
-
* @memberof VideoCallCreatedEvent
|
|
392
|
-
*/
|
|
393
|
-
members: Array<VideoMemberResponse>;
|
|
394
|
-
/**
|
|
395
|
-
* The type of event: "call.created" in this case
|
|
396
|
-
* @type {string}
|
|
397
|
-
* @memberof VideoCallCreatedEvent
|
|
398
|
-
*/
|
|
399
|
-
type: string;
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* This event is sent when a call is mark as ended for all its participants. Clients receiving this event should leave the call screen
|
|
403
|
-
* @export
|
|
404
|
-
* @interface VideoCallEndedEvent
|
|
405
|
-
*/
|
|
406
|
-
export interface VideoCallEndedEvent {
|
|
407
|
-
/**
|
|
408
|
-
*
|
|
409
|
-
* @type {VideoCallResponse}
|
|
410
|
-
* @memberof VideoCallEndedEvent
|
|
411
|
-
*/
|
|
412
|
-
call: VideoCallResponse;
|
|
413
|
-
/**
|
|
414
|
-
*
|
|
415
|
-
* @type {string}
|
|
416
|
-
* @memberof VideoCallEndedEvent
|
|
417
|
-
*/
|
|
418
|
-
call_cid: string;
|
|
419
|
-
/**
|
|
420
|
-
*
|
|
421
|
-
* @type {string}
|
|
422
|
-
* @memberof VideoCallEndedEvent
|
|
423
|
-
*/
|
|
424
|
-
created_at: string;
|
|
425
|
-
/**
|
|
426
|
-
* The type of event: "call.ended" in this case
|
|
427
|
-
* @type {string}
|
|
428
|
-
* @memberof VideoCallEndedEvent
|
|
429
|
-
*/
|
|
430
|
-
type: string;
|
|
431
|
-
/**
|
|
432
|
-
*
|
|
433
|
-
* @type {VideoUserResponse}
|
|
434
|
-
* @memberof VideoCallEndedEvent
|
|
435
|
-
*/
|
|
436
|
-
user?: VideoUserResponse;
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* This event is sent when HLS broadcasting has failed
|
|
440
|
-
* @export
|
|
441
|
-
* @interface VideoCallHLSBroadcastingFailedEvent
|
|
442
|
-
*/
|
|
443
|
-
export interface VideoCallHLSBroadcastingFailedEvent {
|
|
444
|
-
/**
|
|
445
|
-
*
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof VideoCallHLSBroadcastingFailedEvent
|
|
448
|
-
*/
|
|
449
|
-
call_cid: string;
|
|
450
|
-
/**
|
|
451
|
-
*
|
|
452
|
-
* @type {string}
|
|
453
|
-
* @memberof VideoCallHLSBroadcastingFailedEvent
|
|
454
|
-
*/
|
|
455
|
-
created_at: string;
|
|
456
|
-
/**
|
|
457
|
-
* The type of event: "call.hls_broadcasting_failed" in this case
|
|
458
|
-
* @type {string}
|
|
459
|
-
* @memberof VideoCallHLSBroadcastingFailedEvent
|
|
460
|
-
*/
|
|
461
|
-
type: string;
|
|
462
|
-
}
|
|
463
|
-
/**
|
|
464
|
-
* This event is sent when HLS broadcasting has started
|
|
465
|
-
* @export
|
|
466
|
-
* @interface VideoCallHLSBroadcastingStartedEvent
|
|
467
|
-
*/
|
|
468
|
-
export interface VideoCallHLSBroadcastingStartedEvent {
|
|
469
|
-
/**
|
|
470
|
-
*
|
|
471
|
-
* @type {string}
|
|
472
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
473
|
-
*/
|
|
474
|
-
call_cid: string;
|
|
475
|
-
/**
|
|
476
|
-
*
|
|
477
|
-
* @type {string}
|
|
478
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
479
|
-
*/
|
|
480
|
-
created_at: string;
|
|
481
|
-
/**
|
|
482
|
-
*
|
|
483
|
-
* @type {string}
|
|
484
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
485
|
-
*/
|
|
486
|
-
hls_playlist_url: string;
|
|
487
|
-
/**
|
|
488
|
-
* The type of event: "call.hls_broadcasting_started" in this case
|
|
489
|
-
* @type {string}
|
|
490
|
-
* @memberof VideoCallHLSBroadcastingStartedEvent
|
|
491
|
-
*/
|
|
492
|
-
type: string;
|
|
493
|
-
}
|
|
494
|
-
/**
|
|
495
|
-
* This event is sent when HLS broadcasting has stopped
|
|
496
|
-
* @export
|
|
497
|
-
* @interface VideoCallHLSBroadcastingStoppedEvent
|
|
498
|
-
*/
|
|
499
|
-
export interface VideoCallHLSBroadcastingStoppedEvent {
|
|
500
|
-
/**
|
|
501
|
-
*
|
|
502
|
-
* @type {string}
|
|
503
|
-
* @memberof VideoCallHLSBroadcastingStoppedEvent
|
|
504
|
-
*/
|
|
505
|
-
call_cid: string;
|
|
506
|
-
/**
|
|
507
|
-
*
|
|
508
|
-
* @type {string}
|
|
509
|
-
* @memberof VideoCallHLSBroadcastingStoppedEvent
|
|
510
|
-
*/
|
|
511
|
-
created_at: string;
|
|
512
|
-
/**
|
|
513
|
-
* The type of event: "call.hls_broadcasting_stopped" in this case
|
|
514
|
-
* @type {string}
|
|
515
|
-
* @memberof VideoCallHLSBroadcastingStoppedEvent
|
|
516
|
-
*/
|
|
517
|
-
type: string;
|
|
518
|
-
}
|
|
519
319
|
/**
|
|
520
320
|
*
|
|
521
321
|
* @export
|
|
@@ -529,240 +329,6 @@ export interface VideoCallIngressResponse {
|
|
|
529
329
|
*/
|
|
530
330
|
rtmp: VideoRTMPIngress;
|
|
531
331
|
}
|
|
532
|
-
/**
|
|
533
|
-
* This event is sent when a call is started. Clients receiving this event should start the call.
|
|
534
|
-
* @export
|
|
535
|
-
* @interface VideoCallLiveStartedEvent
|
|
536
|
-
*/
|
|
537
|
-
export interface VideoCallLiveStartedEvent {
|
|
538
|
-
/**
|
|
539
|
-
*
|
|
540
|
-
* @type {VideoCallResponse}
|
|
541
|
-
* @memberof VideoCallLiveStartedEvent
|
|
542
|
-
*/
|
|
543
|
-
call: VideoCallResponse;
|
|
544
|
-
/**
|
|
545
|
-
*
|
|
546
|
-
* @type {string}
|
|
547
|
-
* @memberof VideoCallLiveStartedEvent
|
|
548
|
-
*/
|
|
549
|
-
call_cid: string;
|
|
550
|
-
/**
|
|
551
|
-
*
|
|
552
|
-
* @type {string}
|
|
553
|
-
* @memberof VideoCallLiveStartedEvent
|
|
554
|
-
*/
|
|
555
|
-
created_at: string;
|
|
556
|
-
/**
|
|
557
|
-
* The type of event: "call.live_started" in this case
|
|
558
|
-
* @type {string}
|
|
559
|
-
* @memberof VideoCallLiveStartedEvent
|
|
560
|
-
*/
|
|
561
|
-
type: string;
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* This event is sent when one or more members are added to a call
|
|
565
|
-
* @export
|
|
566
|
-
* @interface VideoCallMemberAddedEvent
|
|
567
|
-
*/
|
|
568
|
-
export interface VideoCallMemberAddedEvent {
|
|
569
|
-
/**
|
|
570
|
-
*
|
|
571
|
-
* @type {VideoCallResponse}
|
|
572
|
-
* @memberof VideoCallMemberAddedEvent
|
|
573
|
-
*/
|
|
574
|
-
call: VideoCallResponse;
|
|
575
|
-
/**
|
|
576
|
-
*
|
|
577
|
-
* @type {string}
|
|
578
|
-
* @memberof VideoCallMemberAddedEvent
|
|
579
|
-
*/
|
|
580
|
-
call_cid: string;
|
|
581
|
-
/**
|
|
582
|
-
*
|
|
583
|
-
* @type {string}
|
|
584
|
-
* @memberof VideoCallMemberAddedEvent
|
|
585
|
-
*/
|
|
586
|
-
created_at: string;
|
|
587
|
-
/**
|
|
588
|
-
* the members added to this call
|
|
589
|
-
* @type {Array<VideoMemberResponse>}
|
|
590
|
-
* @memberof VideoCallMemberAddedEvent
|
|
591
|
-
*/
|
|
592
|
-
members: Array<VideoMemberResponse>;
|
|
593
|
-
/**
|
|
594
|
-
* The type of event: "call.member_added" in this case
|
|
595
|
-
* @type {string}
|
|
596
|
-
* @memberof VideoCallMemberAddedEvent
|
|
597
|
-
*/
|
|
598
|
-
type: string;
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* This event is sent when one or more members are removed from a call
|
|
602
|
-
* @export
|
|
603
|
-
* @interface VideoCallMemberRemovedEvent
|
|
604
|
-
*/
|
|
605
|
-
export interface VideoCallMemberRemovedEvent {
|
|
606
|
-
/**
|
|
607
|
-
*
|
|
608
|
-
* @type {VideoCallResponse}
|
|
609
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
610
|
-
*/
|
|
611
|
-
call: VideoCallResponse;
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* @type {string}
|
|
615
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
616
|
-
*/
|
|
617
|
-
call_cid: string;
|
|
618
|
-
/**
|
|
619
|
-
*
|
|
620
|
-
* @type {string}
|
|
621
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
622
|
-
*/
|
|
623
|
-
created_at: string;
|
|
624
|
-
/**
|
|
625
|
-
* the list of member IDs removed from the call
|
|
626
|
-
* @type {Array<string>}
|
|
627
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
628
|
-
*/
|
|
629
|
-
members: Array<string>;
|
|
630
|
-
/**
|
|
631
|
-
* The type of event: "call.member_removed" in this case
|
|
632
|
-
* @type {string}
|
|
633
|
-
* @memberof VideoCallMemberRemovedEvent
|
|
634
|
-
*/
|
|
635
|
-
type: string;
|
|
636
|
-
}
|
|
637
|
-
/**
|
|
638
|
-
* This event is sent when one or more members are updated
|
|
639
|
-
* @export
|
|
640
|
-
* @interface VideoCallMemberUpdatedEvent
|
|
641
|
-
*/
|
|
642
|
-
export interface VideoCallMemberUpdatedEvent {
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @type {VideoCallResponse}
|
|
646
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
647
|
-
*/
|
|
648
|
-
call: VideoCallResponse;
|
|
649
|
-
/**
|
|
650
|
-
*
|
|
651
|
-
* @type {string}
|
|
652
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
653
|
-
*/
|
|
654
|
-
call_cid: string;
|
|
655
|
-
/**
|
|
656
|
-
*
|
|
657
|
-
* @type {string}
|
|
658
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
659
|
-
*/
|
|
660
|
-
created_at: string;
|
|
661
|
-
/**
|
|
662
|
-
* The list of members that were updated
|
|
663
|
-
* @type {Array<VideoMemberResponse>}
|
|
664
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
665
|
-
*/
|
|
666
|
-
members: Array<VideoMemberResponse>;
|
|
667
|
-
/**
|
|
668
|
-
* The type of event: "call.member_updated" in this case
|
|
669
|
-
* @type {string}
|
|
670
|
-
* @memberof VideoCallMemberUpdatedEvent
|
|
671
|
-
*/
|
|
672
|
-
type: string;
|
|
673
|
-
}
|
|
674
|
-
/**
|
|
675
|
-
* This event is sent when one or more members get its role updated
|
|
676
|
-
* @export
|
|
677
|
-
* @interface VideoCallMemberUpdatedPermissionEvent
|
|
678
|
-
*/
|
|
679
|
-
export interface VideoCallMemberUpdatedPermissionEvent {
|
|
680
|
-
/**
|
|
681
|
-
*
|
|
682
|
-
* @type {VideoCallResponse}
|
|
683
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
684
|
-
*/
|
|
685
|
-
call: VideoCallResponse;
|
|
686
|
-
/**
|
|
687
|
-
*
|
|
688
|
-
* @type {string}
|
|
689
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
690
|
-
*/
|
|
691
|
-
call_cid: string;
|
|
692
|
-
/**
|
|
693
|
-
* The capabilities by role for this call
|
|
694
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
695
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
696
|
-
*/
|
|
697
|
-
capabilities_by_role: { [key: string]: Array<string>; };
|
|
698
|
-
/**
|
|
699
|
-
*
|
|
700
|
-
* @type {string}
|
|
701
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
702
|
-
*/
|
|
703
|
-
created_at: string;
|
|
704
|
-
/**
|
|
705
|
-
* The list of members that were updated
|
|
706
|
-
* @type {Array<VideoMemberResponse>}
|
|
707
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
708
|
-
*/
|
|
709
|
-
members: Array<VideoMemberResponse>;
|
|
710
|
-
/**
|
|
711
|
-
* The type of event: "call.member_added" in this case
|
|
712
|
-
* @type {string}
|
|
713
|
-
* @memberof VideoCallMemberUpdatedPermissionEvent
|
|
714
|
-
*/
|
|
715
|
-
type: string;
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* This event is sent to all call members to notify they are getting called
|
|
719
|
-
* @export
|
|
720
|
-
* @interface VideoCallNotificationEvent
|
|
721
|
-
*/
|
|
722
|
-
export interface VideoCallNotificationEvent {
|
|
723
|
-
/**
|
|
724
|
-
*
|
|
725
|
-
* @type {VideoCallResponse}
|
|
726
|
-
* @memberof VideoCallNotificationEvent
|
|
727
|
-
*/
|
|
728
|
-
call: VideoCallResponse;
|
|
729
|
-
/**
|
|
730
|
-
*
|
|
731
|
-
* @type {string}
|
|
732
|
-
* @memberof VideoCallNotificationEvent
|
|
733
|
-
*/
|
|
734
|
-
call_cid: string;
|
|
735
|
-
/**
|
|
736
|
-
*
|
|
737
|
-
* @type {string}
|
|
738
|
-
* @memberof VideoCallNotificationEvent
|
|
739
|
-
*/
|
|
740
|
-
created_at: string;
|
|
741
|
-
/**
|
|
742
|
-
* Call members
|
|
743
|
-
* @type {Array<VideoMemberResponse>}
|
|
744
|
-
* @memberof VideoCallNotificationEvent
|
|
745
|
-
*/
|
|
746
|
-
members: Array<VideoMemberResponse>;
|
|
747
|
-
/**
|
|
748
|
-
* Call session ID
|
|
749
|
-
* @type {string}
|
|
750
|
-
* @memberof VideoCallNotificationEvent
|
|
751
|
-
*/
|
|
752
|
-
session_id: string;
|
|
753
|
-
/**
|
|
754
|
-
* The type of event: "call.notification" in this case
|
|
755
|
-
* @type {string}
|
|
756
|
-
* @memberof VideoCallNotificationEvent
|
|
757
|
-
*/
|
|
758
|
-
type: string;
|
|
759
|
-
/**
|
|
760
|
-
*
|
|
761
|
-
* @type {VideoUserResponse}
|
|
762
|
-
* @memberof VideoCallNotificationEvent
|
|
763
|
-
*/
|
|
764
|
-
user: VideoUserResponse;
|
|
765
|
-
}
|
|
766
332
|
/**
|
|
767
333
|
*
|
|
768
334
|
* @export
|
|
@@ -792,212 +358,38 @@ export interface VideoCallParticipantResponse {
|
|
|
792
358
|
* @type {string}
|
|
793
359
|
* @memberof VideoCallParticipantResponse
|
|
794
360
|
*/
|
|
795
|
-
user_session_id: string;
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* This event is sent when a reaction is sent in a call, clients should use this to show the reaction in the call screen
|
|
799
|
-
* @export
|
|
800
|
-
* @interface VideoCallReactionEvent
|
|
801
|
-
*/
|
|
802
|
-
export interface VideoCallReactionEvent {
|
|
803
|
-
/**
|
|
804
|
-
*
|
|
805
|
-
* @type {string}
|
|
806
|
-
* @memberof VideoCallReactionEvent
|
|
807
|
-
*/
|
|
808
|
-
call_cid: string;
|
|
809
|
-
/**
|
|
810
|
-
*
|
|
811
|
-
* @type {string}
|
|
812
|
-
* @memberof VideoCallReactionEvent
|
|
813
|
-
*/
|
|
814
|
-
created_at: string;
|
|
815
|
-
/**
|
|
816
|
-
*
|
|
817
|
-
* @type {VideoReactionResponse}
|
|
818
|
-
* @memberof VideoCallReactionEvent
|
|
819
|
-
*/
|
|
820
|
-
reaction: VideoReactionResponse;
|
|
821
|
-
/**
|
|
822
|
-
* The type of event: "call.reaction_new" in this case
|
|
823
|
-
* @type {string}
|
|
824
|
-
* @memberof VideoCallReactionEvent
|
|
825
|
-
*/
|
|
826
|
-
type: string;
|
|
827
|
-
}
|
|
828
|
-
/**
|
|
829
|
-
* CallRecording represents a recording of a call.
|
|
830
|
-
* @export
|
|
831
|
-
* @interface VideoCallRecording
|
|
832
|
-
*/
|
|
833
|
-
export interface VideoCallRecording {
|
|
834
|
-
/**
|
|
835
|
-
*
|
|
836
|
-
* @type {string}
|
|
837
|
-
* @memberof VideoCallRecording
|
|
838
|
-
*/
|
|
839
|
-
end_time: string;
|
|
840
|
-
/**
|
|
841
|
-
*
|
|
842
|
-
* @type {string}
|
|
843
|
-
* @memberof VideoCallRecording
|
|
844
|
-
*/
|
|
845
|
-
filename: string;
|
|
846
|
-
/**
|
|
847
|
-
*
|
|
848
|
-
* @type {string}
|
|
849
|
-
* @memberof VideoCallRecording
|
|
850
|
-
*/
|
|
851
|
-
start_time: string;
|
|
852
|
-
/**
|
|
853
|
-
*
|
|
854
|
-
* @type {string}
|
|
855
|
-
* @memberof VideoCallRecording
|
|
856
|
-
*/
|
|
857
|
-
url: string;
|
|
858
|
-
}
|
|
859
|
-
/**
|
|
860
|
-
* This event is sent when call recording has failed
|
|
861
|
-
* @export
|
|
862
|
-
* @interface VideoCallRecordingFailedEvent
|
|
863
|
-
*/
|
|
864
|
-
export interface VideoCallRecordingFailedEvent {
|
|
865
|
-
/**
|
|
866
|
-
*
|
|
867
|
-
* @type {string}
|
|
868
|
-
* @memberof VideoCallRecordingFailedEvent
|
|
869
|
-
*/
|
|
870
|
-
call_cid: string;
|
|
871
|
-
/**
|
|
872
|
-
*
|
|
873
|
-
* @type {string}
|
|
874
|
-
* @memberof VideoCallRecordingFailedEvent
|
|
875
|
-
*/
|
|
876
|
-
created_at: string;
|
|
877
|
-
/**
|
|
878
|
-
* The type of event: "call.recording_failed" in this case
|
|
879
|
-
* @type {string}
|
|
880
|
-
* @memberof VideoCallRecordingFailedEvent
|
|
881
|
-
*/
|
|
882
|
-
type: string;
|
|
883
|
-
}
|
|
884
|
-
/**
|
|
885
|
-
* This event is sent when call recording is ready
|
|
886
|
-
* @export
|
|
887
|
-
* @interface VideoCallRecordingReadyEvent
|
|
888
|
-
*/
|
|
889
|
-
export interface VideoCallRecordingReadyEvent {
|
|
890
|
-
/**
|
|
891
|
-
*
|
|
892
|
-
* @type {string}
|
|
893
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
894
|
-
*/
|
|
895
|
-
call_cid: string;
|
|
896
|
-
/**
|
|
897
|
-
*
|
|
898
|
-
* @type {VideoCallRecording}
|
|
899
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
900
|
-
*/
|
|
901
|
-
call_recording: VideoCallRecording;
|
|
902
|
-
/**
|
|
903
|
-
*
|
|
904
|
-
* @type {string}
|
|
905
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
906
|
-
*/
|
|
907
|
-
created_at: string;
|
|
908
|
-
/**
|
|
909
|
-
* The type of event: "call.recording_ready" in this case
|
|
910
|
-
* @type {string}
|
|
911
|
-
* @memberof VideoCallRecordingReadyEvent
|
|
912
|
-
*/
|
|
913
|
-
type: string;
|
|
914
|
-
}
|
|
915
|
-
/**
|
|
916
|
-
* This event is sent when call recording has started
|
|
917
|
-
* @export
|
|
918
|
-
* @interface VideoCallRecordingStartedEvent
|
|
919
|
-
*/
|
|
920
|
-
export interface VideoCallRecordingStartedEvent {
|
|
921
|
-
/**
|
|
922
|
-
*
|
|
923
|
-
* @type {string}
|
|
924
|
-
* @memberof VideoCallRecordingStartedEvent
|
|
925
|
-
*/
|
|
926
|
-
call_cid: string;
|
|
927
|
-
/**
|
|
928
|
-
*
|
|
929
|
-
* @type {string}
|
|
930
|
-
* @memberof VideoCallRecordingStartedEvent
|
|
931
|
-
*/
|
|
932
|
-
created_at: string;
|
|
933
|
-
/**
|
|
934
|
-
* The type of event: "call.recording_started" in this case
|
|
935
|
-
* @type {string}
|
|
936
|
-
* @memberof VideoCallRecordingStartedEvent
|
|
937
|
-
*/
|
|
938
|
-
type: string;
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* This event is sent when call recording has stopped
|
|
942
|
-
* @export
|
|
943
|
-
* @interface VideoCallRecordingStoppedEvent
|
|
944
|
-
*/
|
|
945
|
-
export interface VideoCallRecordingStoppedEvent {
|
|
946
|
-
/**
|
|
947
|
-
*
|
|
948
|
-
* @type {string}
|
|
949
|
-
* @memberof VideoCallRecordingStoppedEvent
|
|
950
|
-
*/
|
|
951
|
-
call_cid: string;
|
|
952
|
-
/**
|
|
953
|
-
*
|
|
954
|
-
* @type {string}
|
|
955
|
-
* @memberof VideoCallRecordingStoppedEvent
|
|
956
|
-
*/
|
|
957
|
-
created_at: string;
|
|
958
|
-
/**
|
|
959
|
-
* The type of event: "call.recording_stopped" in this case
|
|
960
|
-
* @type {string}
|
|
961
|
-
* @memberof VideoCallRecordingStoppedEvent
|
|
962
|
-
*/
|
|
963
|
-
type: string;
|
|
361
|
+
user_session_id: string;
|
|
964
362
|
}
|
|
965
363
|
/**
|
|
966
|
-
*
|
|
364
|
+
* CallRecording represents a recording of a call.
|
|
967
365
|
* @export
|
|
968
|
-
* @interface
|
|
366
|
+
* @interface VideoCallRecording
|
|
969
367
|
*/
|
|
970
|
-
export interface
|
|
971
|
-
/**
|
|
972
|
-
*
|
|
973
|
-
* @type {VideoCallResponse}
|
|
974
|
-
* @memberof VideoCallRejectedEvent
|
|
975
|
-
*/
|
|
976
|
-
call: VideoCallResponse;
|
|
368
|
+
export interface VideoCallRecording {
|
|
977
369
|
/**
|
|
978
370
|
*
|
|
979
371
|
* @type {string}
|
|
980
|
-
* @memberof
|
|
372
|
+
* @memberof VideoCallRecording
|
|
981
373
|
*/
|
|
982
|
-
|
|
374
|
+
end_time: string;
|
|
983
375
|
/**
|
|
984
376
|
*
|
|
985
377
|
* @type {string}
|
|
986
|
-
* @memberof
|
|
378
|
+
* @memberof VideoCallRecording
|
|
987
379
|
*/
|
|
988
|
-
|
|
380
|
+
filename: string;
|
|
989
381
|
/**
|
|
990
|
-
*
|
|
382
|
+
*
|
|
991
383
|
* @type {string}
|
|
992
|
-
* @memberof
|
|
384
|
+
* @memberof VideoCallRecording
|
|
993
385
|
*/
|
|
994
|
-
|
|
386
|
+
start_time: string;
|
|
995
387
|
/**
|
|
996
388
|
*
|
|
997
|
-
* @type {
|
|
998
|
-
* @memberof
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof VideoCallRecording
|
|
999
391
|
*/
|
|
1000
|
-
|
|
392
|
+
url: string;
|
|
1001
393
|
}
|
|
1002
394
|
/**
|
|
1003
395
|
*
|
|
@@ -1019,10 +411,10 @@ export interface VideoCallRequest {
|
|
|
1019
411
|
created_by_id?: string;
|
|
1020
412
|
/**
|
|
1021
413
|
*
|
|
1022
|
-
* @type {
|
|
414
|
+
* @type {object}
|
|
1023
415
|
* @memberof VideoCallRequest
|
|
1024
416
|
*/
|
|
1025
|
-
custom?:
|
|
417
|
+
custom?: object;
|
|
1026
418
|
/**
|
|
1027
419
|
*
|
|
1028
420
|
* @type {Array<VideoMemberRequest>}
|
|
@@ -1092,10 +484,10 @@ export interface VideoCallResponse {
|
|
|
1092
484
|
current_session_id: string;
|
|
1093
485
|
/**
|
|
1094
486
|
* Custom data for this object
|
|
1095
|
-
* @type {
|
|
487
|
+
* @type {object}
|
|
1096
488
|
* @memberof VideoCallResponse
|
|
1097
489
|
*/
|
|
1098
|
-
custom:
|
|
490
|
+
custom: object;
|
|
1099
491
|
/**
|
|
1100
492
|
*
|
|
1101
493
|
* @type {VideoEgressResponse}
|
|
@@ -1175,166 +567,6 @@ export interface VideoCallResponse {
|
|
|
1175
567
|
*/
|
|
1176
568
|
updated_at: string;
|
|
1177
569
|
}
|
|
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
570
|
/**
|
|
1339
571
|
*
|
|
1340
572
|
* @export
|
|
@@ -1396,43 +628,6 @@ export interface VideoCallSessionResponse {
|
|
|
1396
628
|
*/
|
|
1397
629
|
started_at?: string;
|
|
1398
630
|
}
|
|
1399
|
-
/**
|
|
1400
|
-
* This event is sent when a call session starts
|
|
1401
|
-
* @export
|
|
1402
|
-
* @interface VideoCallSessionStartedEvent
|
|
1403
|
-
*/
|
|
1404
|
-
export interface VideoCallSessionStartedEvent {
|
|
1405
|
-
/**
|
|
1406
|
-
*
|
|
1407
|
-
* @type {VideoCallResponse}
|
|
1408
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1409
|
-
*/
|
|
1410
|
-
call: VideoCallResponse;
|
|
1411
|
-
/**
|
|
1412
|
-
*
|
|
1413
|
-
* @type {string}
|
|
1414
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1415
|
-
*/
|
|
1416
|
-
call_cid: string;
|
|
1417
|
-
/**
|
|
1418
|
-
*
|
|
1419
|
-
* @type {string}
|
|
1420
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1421
|
-
*/
|
|
1422
|
-
created_at: string;
|
|
1423
|
-
/**
|
|
1424
|
-
* Call session ID
|
|
1425
|
-
* @type {string}
|
|
1426
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1427
|
-
*/
|
|
1428
|
-
session_id: string;
|
|
1429
|
-
/**
|
|
1430
|
-
* The type of event: "call.session_started" in this case
|
|
1431
|
-
* @type {string}
|
|
1432
|
-
* @memberof VideoCallSessionStartedEvent
|
|
1433
|
-
*/
|
|
1434
|
-
type: string;
|
|
1435
|
-
}
|
|
1436
631
|
/**
|
|
1437
632
|
*
|
|
1438
633
|
* @export
|
|
@@ -1610,6 +805,12 @@ export interface VideoCallTypeResponse {
|
|
|
1610
805
|
* @memberof VideoCallTypeResponse
|
|
1611
806
|
*/
|
|
1612
807
|
created_at: string;
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @type {string}
|
|
811
|
+
* @memberof VideoCallTypeResponse
|
|
812
|
+
*/
|
|
813
|
+
external_storage?: string;
|
|
1613
814
|
/**
|
|
1614
815
|
*
|
|
1615
816
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -1642,79 +843,17 @@ export interface VideoCallTypeResponse {
|
|
|
1642
843
|
updated_at: string;
|
|
1643
844
|
}
|
|
1644
845
|
/**
|
|
1645
|
-
*
|
|
1646
|
-
* This event also contains the capabilities by role for the call, clients should update the own_capability for the current.
|
|
1647
|
-
* @export
|
|
1648
|
-
* @interface VideoCallUpdatedEvent
|
|
1649
|
-
*/
|
|
1650
|
-
export interface VideoCallUpdatedEvent {
|
|
1651
|
-
/**
|
|
1652
|
-
*
|
|
1653
|
-
* @type {VideoCallResponse}
|
|
1654
|
-
* @memberof VideoCallUpdatedEvent
|
|
1655
|
-
*/
|
|
1656
|
-
call: VideoCallResponse;
|
|
1657
|
-
/**
|
|
1658
|
-
*
|
|
1659
|
-
* @type {string}
|
|
1660
|
-
* @memberof VideoCallUpdatedEvent
|
|
1661
|
-
*/
|
|
1662
|
-
call_cid: string;
|
|
1663
|
-
/**
|
|
1664
|
-
* The capabilities by role for this call
|
|
1665
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
1666
|
-
* @memberof VideoCallUpdatedEvent
|
|
1667
|
-
*/
|
|
1668
|
-
capabilities_by_role: { [key: string]: Array<string>; };
|
|
1669
|
-
/**
|
|
1670
|
-
*
|
|
1671
|
-
* @type {string}
|
|
1672
|
-
* @memberof VideoCallUpdatedEvent
|
|
1673
|
-
*/
|
|
1674
|
-
created_at: string;
|
|
1675
|
-
/**
|
|
1676
|
-
* The type of event: "call.ended" in this case
|
|
1677
|
-
* @type {string}
|
|
1678
|
-
* @memberof VideoCallUpdatedEvent
|
|
1679
|
-
*/
|
|
1680
|
-
type: string;
|
|
1681
|
-
}
|
|
1682
|
-
/**
|
|
1683
|
-
* This event is sent when a call member is muted
|
|
846
|
+
*
|
|
1684
847
|
* @export
|
|
1685
|
-
* @interface
|
|
848
|
+
* @interface VideoCheckExternalStorageResponse
|
|
1686
849
|
*/
|
|
1687
|
-
export interface
|
|
1688
|
-
/**
|
|
1689
|
-
*
|
|
1690
|
-
* @type {string}
|
|
1691
|
-
* @memberof VideoCallUserMuted
|
|
1692
|
-
*/
|
|
1693
|
-
call_cid: string;
|
|
1694
|
-
/**
|
|
1695
|
-
*
|
|
1696
|
-
* @type {string}
|
|
1697
|
-
* @memberof VideoCallUserMuted
|
|
1698
|
-
*/
|
|
1699
|
-
created_at: string;
|
|
1700
|
-
/**
|
|
1701
|
-
*
|
|
1702
|
-
* @type {string}
|
|
1703
|
-
* @memberof VideoCallUserMuted
|
|
1704
|
-
*/
|
|
1705
|
-
from_user_id: string;
|
|
1706
|
-
/**
|
|
1707
|
-
*
|
|
1708
|
-
* @type {Array<string>}
|
|
1709
|
-
* @memberof VideoCallUserMuted
|
|
1710
|
-
*/
|
|
1711
|
-
muted_user_ids: Array<string>;
|
|
850
|
+
export interface VideoCheckExternalStorageResponse {
|
|
1712
851
|
/**
|
|
1713
|
-
*
|
|
852
|
+
* Duration of the request in human-readable format
|
|
1714
853
|
* @type {string}
|
|
1715
|
-
* @memberof
|
|
854
|
+
* @memberof VideoCheckExternalStorageResponse
|
|
1716
855
|
*/
|
|
1717
|
-
|
|
856
|
+
duration: string;
|
|
1718
857
|
}
|
|
1719
858
|
/**
|
|
1720
859
|
*
|
|
@@ -1724,10 +863,10 @@ export interface VideoCallUserMuted {
|
|
|
1724
863
|
export interface VideoConnectUserDetailsRequest {
|
|
1725
864
|
/**
|
|
1726
865
|
*
|
|
1727
|
-
* @type {
|
|
866
|
+
* @type {object}
|
|
1728
867
|
* @memberof VideoConnectUserDetailsRequest
|
|
1729
868
|
*/
|
|
1730
|
-
custom?:
|
|
869
|
+
custom?: object;
|
|
1731
870
|
/**
|
|
1732
871
|
*
|
|
1733
872
|
* @type {string}
|
|
@@ -1745,76 +884,26 @@ export interface VideoConnectUserDetailsRequest {
|
|
|
1745
884
|
* @type {string}
|
|
1746
885
|
* @memberof VideoConnectUserDetailsRequest
|
|
1747
886
|
*/
|
|
1748
|
-
|
|
1749
|
-
}
|
|
1750
|
-
/**
|
|
1751
|
-
* 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
|
|
1752
|
-
* @export
|
|
1753
|
-
* @interface VideoConnectedEvent
|
|
1754
|
-
*/
|
|
1755
|
-
export interface VideoConnectedEvent {
|
|
1756
|
-
/**
|
|
1757
|
-
* The connection_id for this client
|
|
1758
|
-
* @type {string}
|
|
1759
|
-
* @memberof VideoConnectedEvent
|
|
1760
|
-
*/
|
|
1761
|
-
connection_id: string;
|
|
1762
|
-
/**
|
|
1763
|
-
*
|
|
1764
|
-
* @type {string}
|
|
1765
|
-
* @memberof VideoConnectedEvent
|
|
1766
|
-
*/
|
|
1767
|
-
created_at: string;
|
|
887
|
+
language?: string;
|
|
1768
888
|
/**
|
|
1769
889
|
*
|
|
1770
|
-
* @type {VideoOwnUserResponse}
|
|
1771
|
-
* @memberof VideoConnectedEvent
|
|
1772
|
-
*/
|
|
1773
|
-
me: VideoOwnUserResponse;
|
|
1774
|
-
/**
|
|
1775
|
-
* The type of event: "connection.ok" in this case
|
|
1776
890
|
* @type {string}
|
|
1777
|
-
* @memberof
|
|
891
|
+
* @memberof VideoConnectUserDetailsRequest
|
|
1778
892
|
*/
|
|
1779
|
-
|
|
893
|
+
name?: string;
|
|
1780
894
|
}
|
|
1781
895
|
/**
|
|
1782
|
-
*
|
|
896
|
+
*
|
|
1783
897
|
* @export
|
|
1784
|
-
* @interface
|
|
898
|
+
* @interface VideoCreateCallTypeRequest
|
|
1785
899
|
*/
|
|
1786
|
-
export interface
|
|
1787
|
-
/**
|
|
1788
|
-
*
|
|
1789
|
-
* @type {string}
|
|
1790
|
-
* @memberof VideoConnectionErrorEvent
|
|
1791
|
-
*/
|
|
1792
|
-
connection_id: string;
|
|
1793
|
-
/**
|
|
1794
|
-
*
|
|
1795
|
-
* @type {string}
|
|
1796
|
-
* @memberof VideoConnectionErrorEvent
|
|
1797
|
-
*/
|
|
1798
|
-
created_at: string;
|
|
900
|
+
export interface VideoCreateCallTypeRequest {
|
|
1799
901
|
/**
|
|
1800
902
|
*
|
|
1801
|
-
* @type {VideoAPIError}
|
|
1802
|
-
* @memberof VideoConnectionErrorEvent
|
|
1803
|
-
*/
|
|
1804
|
-
error: VideoAPIError | null;
|
|
1805
|
-
/**
|
|
1806
|
-
* The type of event: "connection.ok" in this case
|
|
1807
903
|
* @type {string}
|
|
1808
|
-
* @memberof
|
|
904
|
+
* @memberof VideoCreateCallTypeRequest
|
|
1809
905
|
*/
|
|
1810
|
-
|
|
1811
|
-
}
|
|
1812
|
-
/**
|
|
1813
|
-
*
|
|
1814
|
-
* @export
|
|
1815
|
-
* @interface VideoCreateCallTypeRequest
|
|
1816
|
-
*/
|
|
1817
|
-
export interface VideoCreateCallTypeRequest {
|
|
906
|
+
external_storage?: string;
|
|
1818
907
|
/**
|
|
1819
908
|
*
|
|
1820
909
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -1851,13 +940,19 @@ export interface VideoCreateCallTypeResponse {
|
|
|
1851
940
|
* @type {string}
|
|
1852
941
|
* @memberof VideoCreateCallTypeResponse
|
|
1853
942
|
*/
|
|
1854
|
-
created_at: string;
|
|
943
|
+
created_at: string;
|
|
944
|
+
/**
|
|
945
|
+
*
|
|
946
|
+
* @type {string}
|
|
947
|
+
* @memberof VideoCreateCallTypeResponse
|
|
948
|
+
*/
|
|
949
|
+
duration: string;
|
|
1855
950
|
/**
|
|
1856
951
|
*
|
|
1857
952
|
* @type {string}
|
|
1858
953
|
* @memberof VideoCreateCallTypeResponse
|
|
1859
954
|
*/
|
|
1860
|
-
|
|
955
|
+
external_storage?: string;
|
|
1861
956
|
/**
|
|
1862
957
|
*
|
|
1863
958
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -1945,6 +1040,68 @@ export const VideoCreateDeviceRequestPushProviderEnum = {
|
|
|
1945
1040
|
} as const;
|
|
1946
1041
|
export type VideoCreateDeviceRequestPushProviderEnum = typeof VideoCreateDeviceRequestPushProviderEnum[keyof typeof VideoCreateDeviceRequestPushProviderEnum];
|
|
1947
1042
|
|
|
1043
|
+
/**
|
|
1044
|
+
*
|
|
1045
|
+
* @export
|
|
1046
|
+
* @interface VideoCreateExternalStorageRequest
|
|
1047
|
+
*/
|
|
1048
|
+
export interface VideoCreateExternalStorageRequest {
|
|
1049
|
+
/**
|
|
1050
|
+
*
|
|
1051
|
+
* @type {VideoS3Request}
|
|
1052
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1053
|
+
*/
|
|
1054
|
+
aws_s3?: VideoS3Request;
|
|
1055
|
+
/**
|
|
1056
|
+
*
|
|
1057
|
+
* @type {VideoAzureRequest}
|
|
1058
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1059
|
+
*/
|
|
1060
|
+
azure_blob?: VideoAzureRequest;
|
|
1061
|
+
/**
|
|
1062
|
+
*
|
|
1063
|
+
* @type {string}
|
|
1064
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1065
|
+
*/
|
|
1066
|
+
bucket: string;
|
|
1067
|
+
/**
|
|
1068
|
+
*
|
|
1069
|
+
* @type {string}
|
|
1070
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1071
|
+
*/
|
|
1072
|
+
gcs_credentials?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
*
|
|
1075
|
+
* @type {string}
|
|
1076
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1077
|
+
*/
|
|
1078
|
+
name: string;
|
|
1079
|
+
/**
|
|
1080
|
+
*
|
|
1081
|
+
* @type {string}
|
|
1082
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1083
|
+
*/
|
|
1084
|
+
path?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
*
|
|
1087
|
+
* @type {string}
|
|
1088
|
+
* @memberof VideoCreateExternalStorageRequest
|
|
1089
|
+
*/
|
|
1090
|
+
storage_type: string;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @export
|
|
1095
|
+
* @interface VideoCreateExternalStorageResponse
|
|
1096
|
+
*/
|
|
1097
|
+
export interface VideoCreateExternalStorageResponse {
|
|
1098
|
+
/**
|
|
1099
|
+
* Duration of the request in human-readable format
|
|
1100
|
+
* @type {string}
|
|
1101
|
+
* @memberof VideoCreateExternalStorageResponse
|
|
1102
|
+
*/
|
|
1103
|
+
duration: string;
|
|
1104
|
+
}
|
|
1948
1105
|
/**
|
|
1949
1106
|
*
|
|
1950
1107
|
* @export
|
|
@@ -1984,41 +1141,17 @@ export interface VideoCreateGuestResponse {
|
|
|
1984
1141
|
user: VideoUserResponse;
|
|
1985
1142
|
}
|
|
1986
1143
|
/**
|
|
1987
|
-
*
|
|
1144
|
+
*
|
|
1988
1145
|
* @export
|
|
1989
|
-
* @interface
|
|
1146
|
+
* @interface VideoDeleteExternalStorageResponse
|
|
1990
1147
|
*/
|
|
1991
|
-
export interface
|
|
1992
|
-
/**
|
|
1993
|
-
*
|
|
1994
|
-
* @type {string}
|
|
1995
|
-
* @memberof VideoCustomVideoEvent
|
|
1996
|
-
*/
|
|
1997
|
-
call_cid: string;
|
|
1998
|
-
/**
|
|
1999
|
-
*
|
|
2000
|
-
* @type {string}
|
|
2001
|
-
* @memberof VideoCustomVideoEvent
|
|
2002
|
-
*/
|
|
2003
|
-
created_at: string;
|
|
1148
|
+
export interface VideoDeleteExternalStorageResponse {
|
|
2004
1149
|
/**
|
|
2005
|
-
*
|
|
2006
|
-
* @type {{ [key: string]: any; }}
|
|
2007
|
-
* @memberof VideoCustomVideoEvent
|
|
2008
|
-
*/
|
|
2009
|
-
custom: { [key: string]: any; };
|
|
2010
|
-
/**
|
|
2011
|
-
* The type of event, "custom" in this case
|
|
1150
|
+
* Duration of the request in human-readable format
|
|
2012
1151
|
* @type {string}
|
|
2013
|
-
* @memberof
|
|
2014
|
-
*/
|
|
2015
|
-
type: string;
|
|
2016
|
-
/**
|
|
2017
|
-
*
|
|
2018
|
-
* @type {VideoUserResponse}
|
|
2019
|
-
* @memberof VideoCustomVideoEvent
|
|
1152
|
+
* @memberof VideoDeleteExternalStorageResponse
|
|
2020
1153
|
*/
|
|
2021
|
-
|
|
1154
|
+
duration: string;
|
|
2022
1155
|
}
|
|
2023
1156
|
/**
|
|
2024
1157
|
*
|
|
@@ -2250,6 +1383,37 @@ export interface VideoEventNotificationSettingsRequest {
|
|
|
2250
1383
|
*/
|
|
2251
1384
|
enabled?: boolean;
|
|
2252
1385
|
}
|
|
1386
|
+
/**
|
|
1387
|
+
*
|
|
1388
|
+
* @export
|
|
1389
|
+
* @interface VideoExternalStorageResponse
|
|
1390
|
+
*/
|
|
1391
|
+
export interface VideoExternalStorageResponse {
|
|
1392
|
+
/**
|
|
1393
|
+
*
|
|
1394
|
+
* @type {string}
|
|
1395
|
+
* @memberof VideoExternalStorageResponse
|
|
1396
|
+
*/
|
|
1397
|
+
bucket: string;
|
|
1398
|
+
/**
|
|
1399
|
+
*
|
|
1400
|
+
* @type {string}
|
|
1401
|
+
* @memberof VideoExternalStorageResponse
|
|
1402
|
+
*/
|
|
1403
|
+
name: string;
|
|
1404
|
+
/**
|
|
1405
|
+
*
|
|
1406
|
+
* @type {string}
|
|
1407
|
+
* @memberof VideoExternalStorageResponse
|
|
1408
|
+
*/
|
|
1409
|
+
path: string;
|
|
1410
|
+
/**
|
|
1411
|
+
*
|
|
1412
|
+
* @type {string}
|
|
1413
|
+
* @memberof VideoExternalStorageResponse
|
|
1414
|
+
*/
|
|
1415
|
+
type: string;
|
|
1416
|
+
}
|
|
2253
1417
|
/**
|
|
2254
1418
|
*
|
|
2255
1419
|
* @export
|
|
@@ -2331,6 +1495,12 @@ export interface VideoGetCallTypeResponse {
|
|
|
2331
1495
|
* @memberof VideoGetCallTypeResponse
|
|
2332
1496
|
*/
|
|
2333
1497
|
duration: string;
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @type {string}
|
|
1501
|
+
* @memberof VideoGetCallTypeResponse
|
|
1502
|
+
*/
|
|
1503
|
+
external_storage?: string;
|
|
2334
1504
|
/**
|
|
2335
1505
|
*
|
|
2336
1506
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -2461,6 +1631,12 @@ export interface VideoGetOrCreateCallResponse {
|
|
|
2461
1631
|
* @interface VideoGoLiveRequest
|
|
2462
1632
|
*/
|
|
2463
1633
|
export interface VideoGoLiveRequest {
|
|
1634
|
+
/**
|
|
1635
|
+
*
|
|
1636
|
+
* @type {string}
|
|
1637
|
+
* @memberof VideoGoLiveRequest
|
|
1638
|
+
*/
|
|
1639
|
+
recording_storage_name?: string;
|
|
2464
1640
|
/**
|
|
2465
1641
|
*
|
|
2466
1642
|
* @type {boolean}
|
|
@@ -2561,31 +1737,6 @@ export interface VideoHLSSettingsResponse {
|
|
|
2561
1737
|
*/
|
|
2562
1738
|
quality_tracks: Array<string>;
|
|
2563
1739
|
}
|
|
2564
|
-
/**
|
|
2565
|
-
*
|
|
2566
|
-
* @export
|
|
2567
|
-
* @interface VideoHealthCheckEvent
|
|
2568
|
-
*/
|
|
2569
|
-
export interface VideoHealthCheckEvent {
|
|
2570
|
-
/**
|
|
2571
|
-
* The connection_id for this client
|
|
2572
|
-
* @type {string}
|
|
2573
|
-
* @memberof VideoHealthCheckEvent
|
|
2574
|
-
*/
|
|
2575
|
-
connection_id: string;
|
|
2576
|
-
/**
|
|
2577
|
-
*
|
|
2578
|
-
* @type {string}
|
|
2579
|
-
* @memberof VideoHealthCheckEvent
|
|
2580
|
-
*/
|
|
2581
|
-
created_at: string;
|
|
2582
|
-
/**
|
|
2583
|
-
* The type of event: "health.check" in this case
|
|
2584
|
-
* @type {string}
|
|
2585
|
-
* @memberof VideoHealthCheckEvent
|
|
2586
|
-
*/
|
|
2587
|
-
type: string;
|
|
2588
|
-
}
|
|
2589
1740
|
/**
|
|
2590
1741
|
*
|
|
2591
1742
|
* @export
|
|
@@ -2612,10 +1763,10 @@ export interface VideoLayoutSettings {
|
|
|
2612
1763
|
name: VideoLayoutSettingsNameEnum;
|
|
2613
1764
|
/**
|
|
2614
1765
|
*
|
|
2615
|
-
* @type {
|
|
1766
|
+
* @type {object}
|
|
2616
1767
|
* @memberof VideoLayoutSettings
|
|
2617
1768
|
*/
|
|
2618
|
-
options?:
|
|
1769
|
+
options?: object;
|
|
2619
1770
|
}
|
|
2620
1771
|
|
|
2621
1772
|
|
|
@@ -2657,10 +1808,10 @@ export interface VideoLayoutSettingsRequest {
|
|
|
2657
1808
|
name: VideoLayoutSettingsRequestNameEnum;
|
|
2658
1809
|
/**
|
|
2659
1810
|
*
|
|
2660
|
-
* @type {
|
|
1811
|
+
* @type {object}
|
|
2661
1812
|
* @memberof VideoLayoutSettingsRequest
|
|
2662
1813
|
*/
|
|
2663
|
-
options?:
|
|
1814
|
+
options?: object;
|
|
2664
1815
|
}
|
|
2665
1816
|
|
|
2666
1817
|
|
|
@@ -2714,6 +1865,25 @@ export interface VideoListDevicesResponse {
|
|
|
2714
1865
|
*/
|
|
2715
1866
|
duration: string;
|
|
2716
1867
|
}
|
|
1868
|
+
/**
|
|
1869
|
+
*
|
|
1870
|
+
* @export
|
|
1871
|
+
* @interface VideoListExternalStorageResponse
|
|
1872
|
+
*/
|
|
1873
|
+
export interface VideoListExternalStorageResponse {
|
|
1874
|
+
/**
|
|
1875
|
+
* Duration of the request in human-readable format
|
|
1876
|
+
* @type {string}
|
|
1877
|
+
* @memberof VideoListExternalStorageResponse
|
|
1878
|
+
*/
|
|
1879
|
+
duration: string;
|
|
1880
|
+
/**
|
|
1881
|
+
*
|
|
1882
|
+
* @type {{ [key: string]: VideoExternalStorageResponse; }}
|
|
1883
|
+
* @memberof VideoListExternalStorageResponse
|
|
1884
|
+
*/
|
|
1885
|
+
external_storages: { [key: string]: VideoExternalStorageResponse; };
|
|
1886
|
+
}
|
|
2717
1887
|
/**
|
|
2718
1888
|
*
|
|
2719
1889
|
* @export
|
|
@@ -2741,10 +1911,10 @@ export interface VideoListRecordingsResponse {
|
|
|
2741
1911
|
export interface VideoMemberRequest {
|
|
2742
1912
|
/**
|
|
2743
1913
|
* Custom data for this object
|
|
2744
|
-
* @type {
|
|
1914
|
+
* @type {object}
|
|
2745
1915
|
* @memberof VideoMemberRequest
|
|
2746
1916
|
*/
|
|
2747
|
-
custom?:
|
|
1917
|
+
custom?: object;
|
|
2748
1918
|
/**
|
|
2749
1919
|
*
|
|
2750
1920
|
* @type {string}
|
|
@@ -2772,10 +1942,10 @@ export interface VideoMemberResponse {
|
|
|
2772
1942
|
created_at: string;
|
|
2773
1943
|
/**
|
|
2774
1944
|
* Custom member response data
|
|
2775
|
-
* @type {
|
|
1945
|
+
* @type {object}
|
|
2776
1946
|
* @memberof VideoMemberResponse
|
|
2777
1947
|
*/
|
|
2778
|
-
custom:
|
|
1948
|
+
custom: object;
|
|
2779
1949
|
/**
|
|
2780
1950
|
* Date/time of deletion
|
|
2781
1951
|
* @type {string}
|
|
@@ -2889,192 +2059,87 @@ export interface VideoNotificationSettings {
|
|
|
2889
2059
|
call_ring: VideoEventNotificationSettings;
|
|
2890
2060
|
/**
|
|
2891
2061
|
*
|
|
2892
|
-
* @type {boolean}
|
|
2893
|
-
* @memberof VideoNotificationSettings
|
|
2894
|
-
*/
|
|
2895
|
-
enabled: boolean;
|
|
2896
|
-
/**
|
|
2897
|
-
*
|
|
2898
|
-
* @type {VideoEventNotificationSettings}
|
|
2899
|
-
* @memberof VideoNotificationSettings
|
|
2900
|
-
*/
|
|
2901
|
-
session_started: VideoEventNotificationSettings;
|
|
2902
|
-
}
|
|
2903
|
-
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @export
|
|
2906
|
-
* @interface VideoNotificationSettingsRequest
|
|
2907
|
-
*/
|
|
2908
|
-
export interface VideoNotificationSettingsRequest {
|
|
2909
|
-
/**
|
|
2910
|
-
*
|
|
2911
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2912
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2913
|
-
*/
|
|
2914
|
-
call_live_started?: VideoEventNotificationSettingsRequest;
|
|
2915
|
-
/**
|
|
2916
|
-
*
|
|
2917
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2918
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2919
|
-
*/
|
|
2920
|
-
call_notification?: VideoEventNotificationSettingsRequest;
|
|
2921
|
-
/**
|
|
2922
|
-
*
|
|
2923
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2924
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2925
|
-
*/
|
|
2926
|
-
call_ring?: VideoEventNotificationSettingsRequest;
|
|
2927
|
-
/**
|
|
2928
|
-
*
|
|
2929
|
-
* @type {boolean}
|
|
2930
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2931
|
-
*/
|
|
2932
|
-
enabled?: boolean;
|
|
2933
|
-
/**
|
|
2934
|
-
*
|
|
2935
|
-
* @type {VideoEventNotificationSettingsRequest}
|
|
2936
|
-
* @memberof VideoNotificationSettingsRequest
|
|
2937
|
-
*/
|
|
2938
|
-
session_started?: VideoEventNotificationSettingsRequest;
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
/**
|
|
2942
|
-
* All possibility of string to use
|
|
2943
|
-
* @export
|
|
2944
|
-
*/
|
|
2945
|
-
export const VideoOwnCapability = {
|
|
2946
|
-
BLOCK_USERS: 'block-users',
|
|
2947
|
-
CREATE_CALL: 'create-call',
|
|
2948
|
-
CREATE_REACTION: 'create-reaction',
|
|
2949
|
-
END_CALL: 'end-call',
|
|
2950
|
-
JOIN_BACKSTAGE: 'join-backstage',
|
|
2951
|
-
JOIN_CALL: 'join-call',
|
|
2952
|
-
JOIN_ENDED_CALL: 'join-ended-call',
|
|
2953
|
-
MUTE_USERS: 'mute-users',
|
|
2954
|
-
PIN_FOR_EVERYONE: 'pin-for-everyone',
|
|
2955
|
-
READ_CALL: 'read-call',
|
|
2956
|
-
REMOVE_CALL_MEMBER: 'remove-call-member',
|
|
2957
|
-
SCREENSHARE: 'screenshare',
|
|
2958
|
-
SEND_AUDIO: 'send-audio',
|
|
2959
|
-
SEND_VIDEO: 'send-video',
|
|
2960
|
-
START_BROADCAST_CALL: 'start-broadcast-call',
|
|
2961
|
-
START_RECORD_CALL: 'start-record-call',
|
|
2962
|
-
START_TRANSCRIPTION_CALL: 'start-transcription-call',
|
|
2963
|
-
STOP_BROADCAST_CALL: 'stop-broadcast-call',
|
|
2964
|
-
STOP_RECORD_CALL: 'stop-record-call',
|
|
2965
|
-
STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
|
|
2966
|
-
UPDATE_CALL: 'update-call',
|
|
2967
|
-
UPDATE_CALL_MEMBER: 'update-call-member',
|
|
2968
|
-
UPDATE_CALL_PERMISSIONS: 'update-call-permissions',
|
|
2969
|
-
UPDATE_CALL_SETTINGS: 'update-call-settings'
|
|
2970
|
-
} as const;
|
|
2971
|
-
export type VideoOwnCapability = typeof VideoOwnCapability[keyof typeof VideoOwnCapability];
|
|
2972
|
-
|
|
2973
|
-
/**
|
|
2974
|
-
*
|
|
2975
|
-
* @export
|
|
2976
|
-
* @interface VideoOwnUserResponse
|
|
2977
|
-
*/
|
|
2978
|
-
export interface VideoOwnUserResponse {
|
|
2979
|
-
/**
|
|
2980
|
-
*
|
|
2981
|
-
* @type {string}
|
|
2982
|
-
* @memberof VideoOwnUserResponse
|
|
2983
|
-
*/
|
|
2984
|
-
created_at: string;
|
|
2985
|
-
/**
|
|
2986
|
-
*
|
|
2987
|
-
* @type {{ [key: string]: any; }}
|
|
2988
|
-
* @memberof VideoOwnUserResponse
|
|
2989
|
-
*/
|
|
2990
|
-
custom: { [key: string]: any; };
|
|
2991
|
-
/**
|
|
2992
|
-
*
|
|
2993
|
-
* @type {string}
|
|
2994
|
-
* @memberof VideoOwnUserResponse
|
|
2995
|
-
*/
|
|
2996
|
-
deleted_at?: string;
|
|
2997
|
-
/**
|
|
2998
|
-
*
|
|
2999
|
-
* @type {Array<VideoDevice>}
|
|
3000
|
-
* @memberof VideoOwnUserResponse
|
|
3001
|
-
*/
|
|
3002
|
-
devices: Array<VideoDevice>;
|
|
3003
|
-
/**
|
|
3004
|
-
*
|
|
3005
|
-
* @type {string}
|
|
3006
|
-
* @memberof VideoOwnUserResponse
|
|
3007
|
-
*/
|
|
3008
|
-
id: string;
|
|
3009
|
-
/**
|
|
3010
|
-
*
|
|
3011
|
-
* @type {string}
|
|
3012
|
-
* @memberof VideoOwnUserResponse
|
|
3013
|
-
*/
|
|
3014
|
-
image?: string;
|
|
3015
|
-
/**
|
|
3016
|
-
*
|
|
3017
|
-
* @type {string}
|
|
3018
|
-
* @memberof VideoOwnUserResponse
|
|
3019
|
-
*/
|
|
3020
|
-
name?: string;
|
|
3021
|
-
/**
|
|
3022
|
-
*
|
|
3023
|
-
* @type {string}
|
|
3024
|
-
* @memberof VideoOwnUserResponse
|
|
3025
|
-
*/
|
|
3026
|
-
role: string;
|
|
3027
|
-
/**
|
|
3028
|
-
*
|
|
3029
|
-
* @type {Array<string>}
|
|
3030
|
-
* @memberof VideoOwnUserResponse
|
|
2062
|
+
* @type {boolean}
|
|
2063
|
+
* @memberof VideoNotificationSettings
|
|
3031
2064
|
*/
|
|
3032
|
-
|
|
2065
|
+
enabled: boolean;
|
|
3033
2066
|
/**
|
|
3034
2067
|
*
|
|
3035
|
-
* @type {
|
|
3036
|
-
* @memberof
|
|
2068
|
+
* @type {VideoEventNotificationSettings}
|
|
2069
|
+
* @memberof VideoNotificationSettings
|
|
3037
2070
|
*/
|
|
3038
|
-
|
|
2071
|
+
session_started: VideoEventNotificationSettings;
|
|
3039
2072
|
}
|
|
3040
2073
|
/**
|
|
3041
|
-
*
|
|
3042
|
-
* clients receiving this event should display a permission request to the user
|
|
2074
|
+
*
|
|
3043
2075
|
* @export
|
|
3044
|
-
* @interface
|
|
2076
|
+
* @interface VideoNotificationSettingsRequest
|
|
3045
2077
|
*/
|
|
3046
|
-
export interface
|
|
2078
|
+
export interface VideoNotificationSettingsRequest {
|
|
3047
2079
|
/**
|
|
3048
2080
|
*
|
|
3049
|
-
* @type {
|
|
3050
|
-
* @memberof
|
|
2081
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2082
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3051
2083
|
*/
|
|
3052
|
-
|
|
2084
|
+
call_live_started?: VideoEventNotificationSettingsRequest;
|
|
3053
2085
|
/**
|
|
3054
2086
|
*
|
|
3055
|
-
* @type {
|
|
3056
|
-
* @memberof
|
|
2087
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2088
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3057
2089
|
*/
|
|
3058
|
-
|
|
2090
|
+
call_notification?: VideoEventNotificationSettingsRequest;
|
|
3059
2091
|
/**
|
|
3060
|
-
*
|
|
3061
|
-
* @type {
|
|
3062
|
-
* @memberof
|
|
2092
|
+
*
|
|
2093
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2094
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3063
2095
|
*/
|
|
3064
|
-
|
|
2096
|
+
call_ring?: VideoEventNotificationSettingsRequest;
|
|
3065
2097
|
/**
|
|
3066
|
-
*
|
|
3067
|
-
* @type {
|
|
3068
|
-
* @memberof
|
|
2098
|
+
*
|
|
2099
|
+
* @type {boolean}
|
|
2100
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3069
2101
|
*/
|
|
3070
|
-
|
|
2102
|
+
enabled?: boolean;
|
|
3071
2103
|
/**
|
|
3072
2104
|
*
|
|
3073
|
-
* @type {
|
|
3074
|
-
* @memberof
|
|
2105
|
+
* @type {VideoEventNotificationSettingsRequest}
|
|
2106
|
+
* @memberof VideoNotificationSettingsRequest
|
|
3075
2107
|
*/
|
|
3076
|
-
|
|
2108
|
+
session_started?: VideoEventNotificationSettingsRequest;
|
|
3077
2109
|
}
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* All possibility of string to use
|
|
2113
|
+
* @export
|
|
2114
|
+
*/
|
|
2115
|
+
export const VideoOwnCapability = {
|
|
2116
|
+
BLOCK_USERS: 'block-users',
|
|
2117
|
+
CREATE_CALL: 'create-call',
|
|
2118
|
+
CREATE_REACTION: 'create-reaction',
|
|
2119
|
+
END_CALL: 'end-call',
|
|
2120
|
+
JOIN_BACKSTAGE: 'join-backstage',
|
|
2121
|
+
JOIN_CALL: 'join-call',
|
|
2122
|
+
JOIN_ENDED_CALL: 'join-ended-call',
|
|
2123
|
+
MUTE_USERS: 'mute-users',
|
|
2124
|
+
PIN_FOR_EVERYONE: 'pin-for-everyone',
|
|
2125
|
+
READ_CALL: 'read-call',
|
|
2126
|
+
REMOVE_CALL_MEMBER: 'remove-call-member',
|
|
2127
|
+
SCREENSHARE: 'screenshare',
|
|
2128
|
+
SEND_AUDIO: 'send-audio',
|
|
2129
|
+
SEND_VIDEO: 'send-video',
|
|
2130
|
+
START_BROADCAST_CALL: 'start-broadcast-call',
|
|
2131
|
+
START_RECORD_CALL: 'start-record-call',
|
|
2132
|
+
START_TRANSCRIPTION_CALL: 'start-transcription-call',
|
|
2133
|
+
STOP_BROADCAST_CALL: 'stop-broadcast-call',
|
|
2134
|
+
STOP_RECORD_CALL: 'stop-record-call',
|
|
2135
|
+
STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
|
|
2136
|
+
UPDATE_CALL: 'update-call',
|
|
2137
|
+
UPDATE_CALL_MEMBER: 'update-call-member',
|
|
2138
|
+
UPDATE_CALL_PERMISSIONS: 'update-call-permissions',
|
|
2139
|
+
UPDATE_CALL_SETTINGS: 'update-call-settings'
|
|
2140
|
+
} as const;
|
|
2141
|
+
export type VideoOwnCapability = typeof VideoOwnCapability[keyof typeof VideoOwnCapability];
|
|
2142
|
+
|
|
3078
2143
|
/**
|
|
3079
2144
|
*
|
|
3080
2145
|
* @export
|
|
@@ -3115,10 +2180,10 @@ export interface VideoPinResponse {
|
|
|
3115
2180
|
export interface VideoQueryCallsRequest {
|
|
3116
2181
|
/**
|
|
3117
2182
|
*
|
|
3118
|
-
* @type {
|
|
2183
|
+
* @type {object}
|
|
3119
2184
|
* @memberof VideoQueryCallsRequest
|
|
3120
2185
|
*/
|
|
3121
|
-
filter_conditions?:
|
|
2186
|
+
filter_conditions?: object;
|
|
3122
2187
|
/**
|
|
3123
2188
|
*
|
|
3124
2189
|
* @type {number}
|
|
@@ -3189,10 +2254,10 @@ export interface VideoQueryCallsResponse {
|
|
|
3189
2254
|
export interface VideoQueryMembersRequest {
|
|
3190
2255
|
/**
|
|
3191
2256
|
*
|
|
3192
|
-
* @type {
|
|
2257
|
+
* @type {object}
|
|
3193
2258
|
* @memberof VideoQueryMembersRequest
|
|
3194
2259
|
*/
|
|
3195
|
-
filter_conditions?:
|
|
2260
|
+
filter_conditions?: object;
|
|
3196
2261
|
/**
|
|
3197
2262
|
*
|
|
3198
2263
|
* @type {string}
|
|
@@ -3274,37 +2339,6 @@ export interface VideoRTMPIngress {
|
|
|
3274
2339
|
*/
|
|
3275
2340
|
address: string;
|
|
3276
2341
|
}
|
|
3277
|
-
/**
|
|
3278
|
-
*
|
|
3279
|
-
* @export
|
|
3280
|
-
* @interface VideoReactionResponse
|
|
3281
|
-
*/
|
|
3282
|
-
export interface VideoReactionResponse {
|
|
3283
|
-
/**
|
|
3284
|
-
*
|
|
3285
|
-
* @type {{ [key: string]: any; }}
|
|
3286
|
-
* @memberof VideoReactionResponse
|
|
3287
|
-
*/
|
|
3288
|
-
custom?: { [key: string]: any; };
|
|
3289
|
-
/**
|
|
3290
|
-
*
|
|
3291
|
-
* @type {string}
|
|
3292
|
-
* @memberof VideoReactionResponse
|
|
3293
|
-
*/
|
|
3294
|
-
emoji_code?: string;
|
|
3295
|
-
/**
|
|
3296
|
-
*
|
|
3297
|
-
* @type {string}
|
|
3298
|
-
* @memberof VideoReactionResponse
|
|
3299
|
-
*/
|
|
3300
|
-
type: string;
|
|
3301
|
-
/**
|
|
3302
|
-
*
|
|
3303
|
-
* @type {VideoUserResponse}
|
|
3304
|
-
* @memberof VideoReactionResponse
|
|
3305
|
-
*/
|
|
3306
|
-
user: VideoUserResponse;
|
|
3307
|
-
}
|
|
3308
2342
|
/**
|
|
3309
2343
|
*
|
|
3310
2344
|
* @export
|
|
@@ -3442,6 +2476,31 @@ export interface VideoRingSettingsRequest {
|
|
|
3442
2476
|
*/
|
|
3443
2477
|
incoming_call_timeout_ms?: number;
|
|
3444
2478
|
}
|
|
2479
|
+
/**
|
|
2480
|
+
*
|
|
2481
|
+
* @export
|
|
2482
|
+
* @interface VideoS3Request
|
|
2483
|
+
*/
|
|
2484
|
+
export interface VideoS3Request {
|
|
2485
|
+
/**
|
|
2486
|
+
*
|
|
2487
|
+
* @type {string}
|
|
2488
|
+
* @memberof VideoS3Request
|
|
2489
|
+
*/
|
|
2490
|
+
s3_api_key?: string;
|
|
2491
|
+
/**
|
|
2492
|
+
*
|
|
2493
|
+
* @type {string}
|
|
2494
|
+
* @memberof VideoS3Request
|
|
2495
|
+
*/
|
|
2496
|
+
s3_region: string;
|
|
2497
|
+
/**
|
|
2498
|
+
*
|
|
2499
|
+
* @type {string}
|
|
2500
|
+
* @memberof VideoS3Request
|
|
2501
|
+
*/
|
|
2502
|
+
s3_secret?: string;
|
|
2503
|
+
}
|
|
3445
2504
|
/**
|
|
3446
2505
|
*
|
|
3447
2506
|
* @export
|
|
@@ -3488,10 +2547,10 @@ export interface VideoScreensharingSettingsRequest {
|
|
|
3488
2547
|
export interface VideoSendEventRequest {
|
|
3489
2548
|
/**
|
|
3490
2549
|
*
|
|
3491
|
-
* @type {
|
|
2550
|
+
* @type {object}
|
|
3492
2551
|
* @memberof VideoSendEventRequest
|
|
3493
2552
|
*/
|
|
3494
|
-
custom?:
|
|
2553
|
+
custom?: object;
|
|
3495
2554
|
}
|
|
3496
2555
|
/**
|
|
3497
2556
|
*
|
|
@@ -3544,6 +2603,19 @@ export interface VideoStartHLSBroadcastingResponse {
|
|
|
3544
2603
|
*/
|
|
3545
2604
|
playlist_url: string;
|
|
3546
2605
|
}
|
|
2606
|
+
/**
|
|
2607
|
+
*
|
|
2608
|
+
* @export
|
|
2609
|
+
* @interface VideoStartRecordingRequest
|
|
2610
|
+
*/
|
|
2611
|
+
export interface VideoStartRecordingRequest {
|
|
2612
|
+
/**
|
|
2613
|
+
*
|
|
2614
|
+
* @type {string}
|
|
2615
|
+
* @memberof VideoStartRecordingRequest
|
|
2616
|
+
*/
|
|
2617
|
+
recording_external_storage?: string;
|
|
2618
|
+
}
|
|
3547
2619
|
/**
|
|
3548
2620
|
*
|
|
3549
2621
|
* @export
|
|
@@ -3805,38 +2877,6 @@ export interface VideoUnblockUserResponse {
|
|
|
3805
2877
|
*/
|
|
3806
2878
|
duration: string;
|
|
3807
2879
|
}
|
|
3808
|
-
/**
|
|
3809
|
-
* This event is sent when a user is unblocked on a call,
|
|
3810
|
-
* this can be useful to notify the user that they can now join the call again
|
|
3811
|
-
* @export
|
|
3812
|
-
* @interface VideoUnblockedUserEvent
|
|
3813
|
-
*/
|
|
3814
|
-
export interface VideoUnblockedUserEvent {
|
|
3815
|
-
/**
|
|
3816
|
-
*
|
|
3817
|
-
* @type {string}
|
|
3818
|
-
* @memberof VideoUnblockedUserEvent
|
|
3819
|
-
*/
|
|
3820
|
-
call_cid: string;
|
|
3821
|
-
/**
|
|
3822
|
-
*
|
|
3823
|
-
* @type {string}
|
|
3824
|
-
* @memberof VideoUnblockedUserEvent
|
|
3825
|
-
*/
|
|
3826
|
-
created_at: string;
|
|
3827
|
-
/**
|
|
3828
|
-
* The type of event: "call.unblocked_user" in this case
|
|
3829
|
-
* @type {string}
|
|
3830
|
-
* @memberof VideoUnblockedUserEvent
|
|
3831
|
-
*/
|
|
3832
|
-
type: string;
|
|
3833
|
-
/**
|
|
3834
|
-
*
|
|
3835
|
-
* @type {VideoUserResponse}
|
|
3836
|
-
* @memberof VideoUnblockedUserEvent
|
|
3837
|
-
*/
|
|
3838
|
-
user: VideoUserResponse;
|
|
3839
|
-
}
|
|
3840
2880
|
/**
|
|
3841
2881
|
*
|
|
3842
2882
|
* @export
|
|
@@ -3915,10 +2955,10 @@ export interface VideoUpdateCallMembersResponse {
|
|
|
3915
2955
|
export interface VideoUpdateCallRequest {
|
|
3916
2956
|
/**
|
|
3917
2957
|
* Custom data for this object
|
|
3918
|
-
* @type {
|
|
2958
|
+
* @type {object}
|
|
3919
2959
|
* @memberof VideoUpdateCallRequest
|
|
3920
2960
|
*/
|
|
3921
|
-
custom?:
|
|
2961
|
+
custom?: object;
|
|
3922
2962
|
/**
|
|
3923
2963
|
*
|
|
3924
2964
|
* @type {VideoCallSettingsRequest}
|
|
@@ -3975,6 +3015,12 @@ export interface VideoUpdateCallResponse {
|
|
|
3975
3015
|
* @interface VideoUpdateCallTypeRequest
|
|
3976
3016
|
*/
|
|
3977
3017
|
export interface VideoUpdateCallTypeRequest {
|
|
3018
|
+
/**
|
|
3019
|
+
*
|
|
3020
|
+
* @type {string}
|
|
3021
|
+
* @memberof VideoUpdateCallTypeRequest
|
|
3022
|
+
*/
|
|
3023
|
+
external_storage?: string;
|
|
3978
3024
|
/**
|
|
3979
3025
|
*
|
|
3980
3026
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -4012,6 +3058,12 @@ export interface VideoUpdateCallTypeResponse {
|
|
|
4012
3058
|
* @memberof VideoUpdateCallTypeResponse
|
|
4013
3059
|
*/
|
|
4014
3060
|
duration: string;
|
|
3061
|
+
/**
|
|
3062
|
+
*
|
|
3063
|
+
* @type {string}
|
|
3064
|
+
* @memberof VideoUpdateCallTypeResponse
|
|
3065
|
+
*/
|
|
3066
|
+
external_storage?: string;
|
|
4015
3067
|
/**
|
|
4016
3068
|
*
|
|
4017
3069
|
* @type {{ [key: string]: Array<string>; }}
|
|
@@ -4046,77 +3098,120 @@ export interface VideoUpdateCallTypeResponse {
|
|
|
4046
3098
|
/**
|
|
4047
3099
|
*
|
|
4048
3100
|
* @export
|
|
4049
|
-
* @interface
|
|
3101
|
+
* @interface VideoUpdateExternalStorageRequest
|
|
4050
3102
|
*/
|
|
4051
|
-
export interface
|
|
3103
|
+
export interface VideoUpdateExternalStorageRequest {
|
|
4052
3104
|
/**
|
|
4053
3105
|
*
|
|
4054
|
-
* @type {
|
|
4055
|
-
* @memberof
|
|
3106
|
+
* @type {VideoS3Request}
|
|
3107
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
4056
3108
|
*/
|
|
4057
|
-
|
|
3109
|
+
aws_s3?: VideoS3Request;
|
|
4058
3110
|
/**
|
|
4059
3111
|
*
|
|
4060
|
-
* @type {
|
|
4061
|
-
* @memberof
|
|
3112
|
+
* @type {VideoAzureRequest}
|
|
3113
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
4062
3114
|
*/
|
|
4063
|
-
|
|
3115
|
+
azure_blob?: VideoAzureRequest;
|
|
4064
3116
|
/**
|
|
4065
3117
|
*
|
|
4066
3118
|
* @type {string}
|
|
4067
|
-
* @memberof
|
|
3119
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
4068
3120
|
*/
|
|
4069
|
-
|
|
3121
|
+
bucket: string;
|
|
3122
|
+
/**
|
|
3123
|
+
*
|
|
3124
|
+
* @type {string}
|
|
3125
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
3126
|
+
*/
|
|
3127
|
+
gcs_credentials?: string;
|
|
3128
|
+
/**
|
|
3129
|
+
*
|
|
3130
|
+
* @type {string}
|
|
3131
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
3132
|
+
*/
|
|
3133
|
+
path?: string;
|
|
3134
|
+
/**
|
|
3135
|
+
*
|
|
3136
|
+
* @type {string}
|
|
3137
|
+
* @memberof VideoUpdateExternalStorageRequest
|
|
3138
|
+
*/
|
|
3139
|
+
storage_type: string;
|
|
4070
3140
|
}
|
|
4071
3141
|
/**
|
|
4072
3142
|
*
|
|
4073
3143
|
* @export
|
|
4074
|
-
* @interface
|
|
3144
|
+
* @interface VideoUpdateExternalStorageResponse
|
|
4075
3145
|
*/
|
|
4076
|
-
export interface
|
|
3146
|
+
export interface VideoUpdateExternalStorageResponse {
|
|
3147
|
+
/**
|
|
3148
|
+
*
|
|
3149
|
+
* @type {string}
|
|
3150
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
3151
|
+
*/
|
|
3152
|
+
bucket: string;
|
|
4077
3153
|
/**
|
|
4078
3154
|
* Duration of the request in human-readable format
|
|
4079
3155
|
* @type {string}
|
|
4080
|
-
* @memberof
|
|
3156
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4081
3157
|
*/
|
|
4082
3158
|
duration: string;
|
|
4083
|
-
}
|
|
4084
|
-
/**
|
|
4085
|
-
* This event is sent to notify about permission changes for a user, clients receiving this event should update their UI accordingly
|
|
4086
|
-
* @export
|
|
4087
|
-
* @interface VideoUpdatedCallPermissionsEvent
|
|
4088
|
-
*/
|
|
4089
|
-
export interface VideoUpdatedCallPermissionsEvent {
|
|
4090
3159
|
/**
|
|
4091
3160
|
*
|
|
4092
3161
|
* @type {string}
|
|
4093
|
-
* @memberof
|
|
3162
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4094
3163
|
*/
|
|
4095
|
-
|
|
3164
|
+
name: string;
|
|
4096
3165
|
/**
|
|
4097
3166
|
*
|
|
4098
3167
|
* @type {string}
|
|
4099
|
-
* @memberof
|
|
3168
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4100
3169
|
*/
|
|
4101
|
-
|
|
4102
|
-
/**
|
|
4103
|
-
* The capabilities of the current user
|
|
4104
|
-
* @type {Array<VideoOwnCapability>}
|
|
4105
|
-
* @memberof VideoUpdatedCallPermissionsEvent
|
|
4106
|
-
*/
|
|
4107
|
-
own_capabilities: Array<VideoOwnCapability>;
|
|
3170
|
+
path: string;
|
|
4108
3171
|
/**
|
|
4109
|
-
*
|
|
3172
|
+
*
|
|
4110
3173
|
* @type {string}
|
|
4111
|
-
* @memberof
|
|
3174
|
+
* @memberof VideoUpdateExternalStorageResponse
|
|
4112
3175
|
*/
|
|
4113
3176
|
type: string;
|
|
3177
|
+
}
|
|
3178
|
+
/**
|
|
3179
|
+
*
|
|
3180
|
+
* @export
|
|
3181
|
+
* @interface VideoUpdateUserPermissionsRequest
|
|
3182
|
+
*/
|
|
3183
|
+
export interface VideoUpdateUserPermissionsRequest {
|
|
4114
3184
|
/**
|
|
4115
3185
|
*
|
|
4116
|
-
* @type {
|
|
4117
|
-
* @memberof
|
|
3186
|
+
* @type {Array<string>}
|
|
3187
|
+
* @memberof VideoUpdateUserPermissionsRequest
|
|
4118
3188
|
*/
|
|
4119
|
-
|
|
3189
|
+
grant_permissions?: Array<string>;
|
|
3190
|
+
/**
|
|
3191
|
+
*
|
|
3192
|
+
* @type {Array<string>}
|
|
3193
|
+
* @memberof VideoUpdateUserPermissionsRequest
|
|
3194
|
+
*/
|
|
3195
|
+
revoke_permissions?: Array<string>;
|
|
3196
|
+
/**
|
|
3197
|
+
*
|
|
3198
|
+
* @type {string}
|
|
3199
|
+
* @memberof VideoUpdateUserPermissionsRequest
|
|
3200
|
+
*/
|
|
3201
|
+
user_id: string;
|
|
3202
|
+
}
|
|
3203
|
+
/**
|
|
3204
|
+
*
|
|
3205
|
+
* @export
|
|
3206
|
+
* @interface VideoUpdateUserPermissionsResponse
|
|
3207
|
+
*/
|
|
3208
|
+
export interface VideoUpdateUserPermissionsResponse {
|
|
3209
|
+
/**
|
|
3210
|
+
* Duration of the request in human-readable format
|
|
3211
|
+
* @type {string}
|
|
3212
|
+
* @memberof VideoUpdateUserPermissionsResponse
|
|
3213
|
+
*/
|
|
3214
|
+
duration: string;
|
|
4120
3215
|
}
|
|
4121
3216
|
/**
|
|
4122
3217
|
*
|
|
@@ -4126,10 +3221,10 @@ export interface VideoUpdatedCallPermissionsEvent {
|
|
|
4126
3221
|
export interface VideoUserRequest {
|
|
4127
3222
|
/**
|
|
4128
3223
|
*
|
|
4129
|
-
* @type {
|
|
3224
|
+
* @type {object}
|
|
4130
3225
|
* @memberof VideoUserRequest
|
|
4131
3226
|
*/
|
|
4132
|
-
custom?:
|
|
3227
|
+
custom?: object;
|
|
4133
3228
|
/**
|
|
4134
3229
|
* User ID
|
|
4135
3230
|
* @type {string}
|
|
@@ -4142,6 +3237,12 @@ export interface VideoUserRequest {
|
|
|
4142
3237
|
* @memberof VideoUserRequest
|
|
4143
3238
|
*/
|
|
4144
3239
|
image?: string;
|
|
3240
|
+
/**
|
|
3241
|
+
*
|
|
3242
|
+
* @type {string}
|
|
3243
|
+
* @memberof VideoUserRequest
|
|
3244
|
+
*/
|
|
3245
|
+
language?: string;
|
|
4145
3246
|
/**
|
|
4146
3247
|
* Optional name of user
|
|
4147
3248
|
* @type {string}
|
|
@@ -4175,10 +3276,10 @@ export interface VideoUserResponse {
|
|
|
4175
3276
|
created_at: string;
|
|
4176
3277
|
/**
|
|
4177
3278
|
*
|
|
4178
|
-
* @type {
|
|
3279
|
+
* @type {object}
|
|
4179
3280
|
* @memberof VideoUserResponse
|
|
4180
3281
|
*/
|
|
4181
|
-
custom:
|
|
3282
|
+
custom: object;
|
|
4182
3283
|
/**
|
|
4183
3284
|
* Date/time of deletion
|
|
4184
3285
|
* @type {string}
|
|
@@ -4197,6 +3298,12 @@ export interface VideoUserResponse {
|
|
|
4197
3298
|
* @memberof VideoUserResponse
|
|
4198
3299
|
*/
|
|
4199
3300
|
image?: string;
|
|
3301
|
+
/**
|
|
3302
|
+
*
|
|
3303
|
+
* @type {string}
|
|
3304
|
+
* @memberof VideoUserResponse
|
|
3305
|
+
*/
|
|
3306
|
+
language: string;
|
|
4200
3307
|
/**
|
|
4201
3308
|
*
|
|
4202
3309
|
* @type {string}
|
|
@@ -4222,12 +3329,6 @@ export interface VideoUserResponse {
|
|
|
4222
3329
|
*/
|
|
4223
3330
|
updated_at: string;
|
|
4224
3331
|
}
|
|
4225
|
-
/**
|
|
4226
|
-
* @type VideoVideoEvent
|
|
4227
|
-
* The discriminator object for all websocket events, you should use this to map event payloads to their own type
|
|
4228
|
-
* @export
|
|
4229
|
-
*/
|
|
4230
|
-
export type VideoVideoEvent = { type: 'call.accepted' } & VideoCallAcceptedEvent | { type: 'call.blocked_user' } & VideoBlockedUserEvent | { type: 'call.created' } & VideoCallCreatedEvent | { type: 'call.ended' } & VideoCallEndedEvent | { type: 'call.hls_broadcasting_failed' } & VideoCallHLSBroadcastingFailedEvent | { type: 'call.hls_broadcasting_started' } & VideoCallHLSBroadcastingStartedEvent | { type: 'call.hls_broadcasting_stopped' } & VideoCallHLSBroadcastingStoppedEvent | { type: 'call.live_started' } & VideoCallLiveStartedEvent | { type: 'call.member_added' } & VideoCallMemberAddedEvent | { type: 'call.member_removed' } & VideoCallMemberRemovedEvent | { type: 'call.member_updated' } & VideoCallMemberUpdatedEvent | { type: 'call.member_updated_permission' } & VideoCallMemberUpdatedPermissionEvent | { type: 'call.notification' } & VideoCallNotificationEvent | { type: 'call.permission_request' } & VideoPermissionRequestEvent | { type: 'call.permissions_updated' } & VideoUpdatedCallPermissionsEvent | { type: 'call.reaction_new' } & VideoCallReactionEvent | { type: 'call.recording_failed' } & VideoCallRecordingFailedEvent | { type: 'call.recording_ready' } & VideoCallRecordingReadyEvent | { type: 'call.recording_started' } & VideoCallRecordingStartedEvent | { type: 'call.recording_stopped' } & VideoCallRecordingStoppedEvent | { type: 'call.rejected' } & VideoCallRejectedEvent | { type: 'call.ring' } & VideoCallRingEvent | { type: 'call.session_ended' } & VideoCallSessionEndedEvent | { type: 'call.session_participant_joined' } & VideoCallSessionParticipantJoinedEvent | { type: 'call.session_participant_left' } & VideoCallSessionParticipantLeftEvent | { type: 'call.session_started' } & VideoCallSessionStartedEvent | { type: 'call.unblocked_user' } & VideoUnblockedUserEvent | { type: 'call.updated' } & VideoCallUpdatedEvent | { type: 'call.user_muted' } & VideoCallUserMuted | { type: 'connection.error' } & VideoConnectionErrorEvent | { type: 'connection.ok' } & VideoConnectedEvent | { type: 'custom' } & VideoCustomVideoEvent | { type: 'health.check' } & VideoHealthCheckEvent;
|
|
4231
3332
|
/**
|
|
4232
3333
|
*
|
|
4233
3334
|
* @export
|
|
@@ -4345,29 +3446,3 @@ export interface VideoWSAuthMessageRequest {
|
|
|
4345
3446
|
*/
|
|
4346
3447
|
user_details: VideoConnectUserDetailsRequest;
|
|
4347
3448
|
}
|
|
4348
|
-
/**
|
|
4349
|
-
* This is just a placeholder for all client events
|
|
4350
|
-
* @export
|
|
4351
|
-
* @interface VideoWSCallEvent
|
|
4352
|
-
*/
|
|
4353
|
-
export interface VideoWSCallEvent {
|
|
4354
|
-
/**
|
|
4355
|
-
*
|
|
4356
|
-
* @type {string}
|
|
4357
|
-
* @memberof VideoWSCallEvent
|
|
4358
|
-
*/
|
|
4359
|
-
call_cid?: string;
|
|
4360
|
-
}
|
|
4361
|
-
/**
|
|
4362
|
-
* This is just a placeholder for all client events
|
|
4363
|
-
* @export
|
|
4364
|
-
* @interface VideoWSClientEvent
|
|
4365
|
-
*/
|
|
4366
|
-
export interface VideoWSClientEvent {
|
|
4367
|
-
/**
|
|
4368
|
-
*
|
|
4369
|
-
* @type {string}
|
|
4370
|
-
* @memberof VideoWSClientEvent
|
|
4371
|
-
*/
|
|
4372
|
-
connection_id?: string;
|
|
4373
|
-
}
|