@stream-io/video-client 1.13.1 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/index.browser.es.js +1704 -1762
  3. package/dist/index.browser.es.js.map +1 -1
  4. package/dist/index.cjs.js +1706 -1780
  5. package/dist/index.cjs.js.map +1 -1
  6. package/dist/index.es.js +1704 -1762
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/src/Call.d.ts +61 -30
  9. package/dist/src/StreamSfuClient.d.ts +4 -5
  10. package/dist/src/devices/CameraManager.d.ts +5 -8
  11. package/dist/src/devices/InputMediaDeviceManager.d.ts +5 -5
  12. package/dist/src/devices/MicrophoneManager.d.ts +7 -2
  13. package/dist/src/devices/ScreenShareManager.d.ts +1 -2
  14. package/dist/src/gen/coordinator/index.d.ts +904 -515
  15. package/dist/src/gen/video/sfu/event/events.d.ts +38 -19
  16. package/dist/src/gen/video/sfu/models/models.d.ts +76 -9
  17. package/dist/src/helpers/array.d.ts +7 -0
  18. package/dist/src/permissions/PermissionsContext.d.ts +6 -0
  19. package/dist/src/rtc/BasePeerConnection.d.ts +90 -0
  20. package/dist/src/rtc/Dispatcher.d.ts +0 -1
  21. package/dist/src/rtc/IceTrickleBuffer.d.ts +3 -2
  22. package/dist/src/rtc/Publisher.d.ts +32 -86
  23. package/dist/src/rtc/Subscriber.d.ts +4 -56
  24. package/dist/src/rtc/TransceiverCache.d.ts +55 -0
  25. package/dist/src/rtc/codecs.d.ts +1 -15
  26. package/dist/src/rtc/helpers/sdp.d.ts +8 -0
  27. package/dist/src/rtc/helpers/tracks.d.ts +1 -0
  28. package/dist/src/rtc/index.d.ts +3 -0
  29. package/dist/src/rtc/videoLayers.d.ts +11 -25
  30. package/dist/src/stats/{stateStoreStatsReporter.d.ts → CallStateStatsReporter.d.ts} +5 -1
  31. package/dist/src/stats/SfuStatsReporter.d.ts +4 -2
  32. package/dist/src/stats/index.d.ts +1 -1
  33. package/dist/src/stats/types.d.ts +8 -0
  34. package/dist/src/store/CallState.d.ts +47 -5
  35. package/dist/src/store/rxUtils.d.ts +15 -1
  36. package/dist/src/types.d.ts +26 -22
  37. package/package.json +1 -1
  38. package/src/Call.ts +310 -271
  39. package/src/StreamSfuClient.ts +9 -14
  40. package/src/StreamVideoClient.ts +1 -1
  41. package/src/__tests__/Call.publishing.test.ts +306 -0
  42. package/src/devices/CameraManager.ts +33 -16
  43. package/src/devices/InputMediaDeviceManager.ts +36 -27
  44. package/src/devices/MicrophoneManager.ts +29 -8
  45. package/src/devices/ScreenShareManager.ts +6 -8
  46. package/src/devices/__tests__/CameraManager.test.ts +111 -14
  47. package/src/devices/__tests__/InputMediaDeviceManager.test.ts +4 -4
  48. package/src/devices/__tests__/MicrophoneManager.test.ts +59 -21
  49. package/src/devices/__tests__/ScreenShareManager.test.ts +5 -5
  50. package/src/devices/__tests__/mocks.ts +1 -0
  51. package/src/events/__tests__/internal.test.ts +132 -0
  52. package/src/events/__tests__/mutes.test.ts +0 -3
  53. package/src/events/__tests__/speaker.test.ts +92 -0
  54. package/src/events/participant.ts +3 -4
  55. package/src/gen/coordinator/index.ts +902 -514
  56. package/src/gen/video/sfu/event/events.ts +91 -30
  57. package/src/gen/video/sfu/models/models.ts +105 -13
  58. package/src/helpers/array.ts +14 -0
  59. package/src/permissions/PermissionsContext.ts +22 -0
  60. package/src/permissions/__tests__/PermissionsContext.test.ts +40 -0
  61. package/src/rpc/__tests__/createClient.test.ts +38 -0
  62. package/src/rpc/createClient.ts +11 -5
  63. package/src/rtc/BasePeerConnection.ts +240 -0
  64. package/src/rtc/Dispatcher.ts +0 -9
  65. package/src/rtc/IceTrickleBuffer.ts +24 -4
  66. package/src/rtc/Publisher.ts +210 -528
  67. package/src/rtc/Subscriber.ts +26 -200
  68. package/src/rtc/TransceiverCache.ts +120 -0
  69. package/src/rtc/__tests__/Publisher.test.ts +407 -210
  70. package/src/rtc/__tests__/Subscriber.test.ts +88 -36
  71. package/src/rtc/__tests__/mocks/webrtc.mocks.ts +22 -2
  72. package/src/rtc/__tests__/videoLayers.test.ts +161 -54
  73. package/src/rtc/codecs.ts +1 -131
  74. package/src/rtc/helpers/__tests__/rtcConfiguration.test.ts +34 -0
  75. package/src/rtc/helpers/__tests__/sdp.test.ts +59 -0
  76. package/src/rtc/helpers/sdp.ts +30 -0
  77. package/src/rtc/helpers/tracks.ts +3 -0
  78. package/src/rtc/index.ts +4 -0
  79. package/src/rtc/videoLayers.ts +68 -76
  80. package/src/stats/{stateStoreStatsReporter.ts → CallStateStatsReporter.ts} +58 -27
  81. package/src/stats/SfuStatsReporter.ts +31 -3
  82. package/src/stats/index.ts +1 -1
  83. package/src/stats/types.ts +12 -0
  84. package/src/store/CallState.ts +115 -5
  85. package/src/store/__tests__/CallState.test.ts +101 -0
  86. package/src/store/rxUtils.ts +23 -1
  87. package/src/types.ts +27 -22
  88. package/dist/src/helpers/sdp-munging.d.ts +0 -24
  89. package/dist/src/rtc/bitrateLookup.d.ts +0 -2
  90. package/dist/src/rtc/helpers/iceCandidate.d.ts +0 -2
  91. package/src/helpers/__tests__/hq-audio-sdp.ts +0 -332
  92. package/src/helpers/__tests__/sdp-munging.test.ts +0 -283
  93. package/src/helpers/sdp-munging.ts +0 -265
  94. package/src/rtc/__tests__/bitrateLookup.test.ts +0 -12
  95. package/src/rtc/__tests__/codecs.test.ts +0 -145
  96. package/src/rtc/bitrateLookup.ts +0 -61
  97. package/src/rtc/helpers/iceCandidate.ts +0 -16
  98. /package/dist/src/{compatibility.d.ts → helpers/compatibility.d.ts} +0 -0
  99. /package/src/{compatibility.ts → helpers/compatibility.ts} +0 -0
@@ -49,15 +49,21 @@ export interface APIError {
49
49
  * @memberof APIError
50
50
  */
51
51
  more_info: string;
52
+ /**
53
+ * Flag that indicates if the error is unrecoverable, requests that return unrecoverable errors should not be retried, this error only applies to the request that caused it
54
+ * @type {boolean}
55
+ * @memberof APIError
56
+ */
57
+ unrecoverable?: boolean;
52
58
  }
53
59
  /**
54
- *
60
+ * AcceptCallResponse is the payload for accepting a call.
55
61
  * @export
56
62
  * @interface AcceptCallResponse
57
63
  */
58
64
  export interface AcceptCallResponse {
59
65
  /**
60
- *
66
+ * Duration of the request in milliseconds
61
67
  * @type {string}
62
68
  * @memberof AcceptCallResponse
63
69
  */
@@ -244,7 +250,7 @@ export declare const BlockListOptionsBehaviorEnum: {
244
250
  };
245
251
  export type BlockListOptionsBehaviorEnum = (typeof BlockListOptionsBehaviorEnum)[keyof typeof BlockListOptionsBehaviorEnum];
246
252
  /**
247
- *
253
+ * BlockUserRequest is the payload for blocking a user.
248
254
  * @export
249
255
  * @interface BlockUserRequest
250
256
  */
@@ -257,7 +263,7 @@ export interface BlockUserRequest {
257
263
  user_id: string;
258
264
  }
259
265
  /**
260
- *
266
+ * BlockUserResponse is the payload for blocking a user.
261
267
  * @export
262
268
  * @interface BlockUserResponse
263
269
  */
@@ -327,7 +333,7 @@ export interface BroadcastSettingsRequest {
327
333
  hls?: HLSSettingsRequest;
328
334
  }
329
335
  /**
330
- *
336
+ * BroadcastSettingsResponse is the payload for broadcasting settings
331
337
  * @export
332
338
  * @interface BroadcastSettingsResponse
333
339
  */
@@ -412,6 +418,87 @@ export interface CallClosedCaption {
412
418
  * @memberof CallClosedCaption
413
419
  */
414
420
  text: string;
421
+ /**
422
+ *
423
+ * @type {UserResponse}
424
+ * @memberof CallClosedCaption
425
+ */
426
+ user: UserResponse;
427
+ }
428
+ /**
429
+ * This event is sent when call closed captions has failed
430
+ * @export
431
+ * @interface CallClosedCaptionsFailedEvent
432
+ */
433
+ export interface CallClosedCaptionsFailedEvent {
434
+ /**
435
+ *
436
+ * @type {string}
437
+ * @memberof CallClosedCaptionsFailedEvent
438
+ */
439
+ call_cid: string;
440
+ /**
441
+ *
442
+ * @type {string}
443
+ * @memberof CallClosedCaptionsFailedEvent
444
+ */
445
+ created_at: string;
446
+ /**
447
+ * The type of event: "call.closed_captions_failed" in this case
448
+ * @type {string}
449
+ * @memberof CallClosedCaptionsFailedEvent
450
+ */
451
+ type: string;
452
+ }
453
+ /**
454
+ * This event is sent when call closed caption has started
455
+ * @export
456
+ * @interface CallClosedCaptionsStartedEvent
457
+ */
458
+ export interface CallClosedCaptionsStartedEvent {
459
+ /**
460
+ *
461
+ * @type {string}
462
+ * @memberof CallClosedCaptionsStartedEvent
463
+ */
464
+ call_cid: string;
465
+ /**
466
+ *
467
+ * @type {string}
468
+ * @memberof CallClosedCaptionsStartedEvent
469
+ */
470
+ created_at: string;
471
+ /**
472
+ * The type of event: "call.closed_captions_started" in this case
473
+ * @type {string}
474
+ * @memberof CallClosedCaptionsStartedEvent
475
+ */
476
+ type: string;
477
+ }
478
+ /**
479
+ * This event is sent when call closed captions has stopped
480
+ * @export
481
+ * @interface CallClosedCaptionsStoppedEvent
482
+ */
483
+ export interface CallClosedCaptionsStoppedEvent {
484
+ /**
485
+ *
486
+ * @type {string}
487
+ * @memberof CallClosedCaptionsStoppedEvent
488
+ */
489
+ call_cid: string;
490
+ /**
491
+ *
492
+ * @type {string}
493
+ * @memberof CallClosedCaptionsStoppedEvent
494
+ */
495
+ created_at: string;
496
+ /**
497
+ * The type of event: "call.transcription_stopped" in this case
498
+ * @type {string}
499
+ * @memberof CallClosedCaptionsStoppedEvent
500
+ */
501
+ type: string;
415
502
  }
416
503
  /**
417
504
  * This event is sent when a call is created. Clients receiving this event should check if the ringing
@@ -551,6 +638,18 @@ export interface CallEndedEvent {
551
638
  * @interface CallEvent
552
639
  */
553
640
  export interface CallEvent {
641
+ /**
642
+ *
643
+ * @type {string}
644
+ * @memberof CallEvent
645
+ */
646
+ category?: string;
647
+ /**
648
+ *
649
+ * @type {string}
650
+ * @memberof CallEvent
651
+ */
652
+ component?: string;
554
653
  /**
555
654
  *
556
655
  * @type {string}
@@ -563,6 +662,24 @@ export interface CallEvent {
563
662
  * @memberof CallEvent
564
663
  */
565
664
  end_timestamp: number;
665
+ /**
666
+ *
667
+ * @type {boolean}
668
+ * @memberof CallEvent
669
+ */
670
+ internal: boolean;
671
+ /**
672
+ *
673
+ * @type {Array<string>}
674
+ * @memberof CallEvent
675
+ */
676
+ issue_tags?: Array<string>;
677
+ /**
678
+ *
679
+ * @type {string}
680
+ * @memberof CallEvent
681
+ */
682
+ kind: string;
566
683
  /**
567
684
  *
568
685
  * @type {number}
@@ -664,7 +781,7 @@ export interface CallHLSBroadcastingStoppedEvent {
664
781
  type: string;
665
782
  }
666
783
  /**
667
- *
784
+ * CallIngressResponse is the payload for ingress settings
668
785
  * @export
669
786
  * @interface CallIngressResponse
670
787
  */
@@ -1236,7 +1353,7 @@ export interface CallRejectedEvent {
1236
1353
  user: UserResponse;
1237
1354
  }
1238
1355
  /**
1239
- *
1356
+ * CallRequest is the payload for creating a call.
1240
1357
  * @export
1241
1358
  * @interface CallRequest
1242
1359
  */
@@ -1298,6 +1415,12 @@ export interface CallResponse {
1298
1415
  * @memberof CallResponse
1299
1416
  */
1300
1417
  blocked_user_ids: Array<string>;
1418
+ /**
1419
+ *
1420
+ * @type {boolean}
1421
+ * @memberof CallResponse
1422
+ */
1423
+ captioning: boolean;
1301
1424
  /**
1302
1425
  * The unique identifier for a call (<type>:<id>)
1303
1426
  * @type {string}
@@ -2341,10 +2464,10 @@ export interface ChannelConfigWithInfo {
2341
2464
  partition_size?: number;
2342
2465
  /**
2343
2466
  *
2344
- * @type {number}
2467
+ * @type {string}
2345
2468
  * @memberof ChannelConfigWithInfo
2346
2469
  */
2347
- partition_ttl?: number;
2470
+ partition_ttl?: string | null;
2348
2471
  /**
2349
2472
  *
2350
2473
  * @type {boolean}
@@ -2393,6 +2516,12 @@ export interface ChannelConfigWithInfo {
2393
2516
  * @memberof ChannelConfigWithInfo
2394
2517
  */
2395
2518
  search: boolean;
2519
+ /**
2520
+ *
2521
+ * @type {boolean}
2522
+ * @memberof ChannelConfigWithInfo
2523
+ */
2524
+ skip_last_msg_update_for_system_msgs: boolean;
2396
2525
  /**
2397
2526
  *
2398
2527
  * @type {boolean}
@@ -2452,29 +2581,43 @@ export type ChannelConfigWithInfoBlocklistBehaviorEnum = (typeof ChannelConfigWi
2452
2581
  */
2453
2582
  export interface ChannelMember {
2454
2583
  /**
2455
- * Expiration date of the ban
2584
+ *
2585
+ * @type {string}
2586
+ * @memberof ChannelMember
2587
+ */
2588
+ archived_at?: string;
2589
+ /**
2590
+ *
2456
2591
  * @type {string}
2457
2592
  * @memberof ChannelMember
2458
2593
  */
2459
2594
  ban_expires?: string;
2460
2595
  /**
2461
- * Whether member is banned this channel or not
2596
+ *
2462
2597
  * @type {boolean}
2463
2598
  * @memberof ChannelMember
2464
2599
  */
2465
2600
  banned: boolean;
2466
2601
  /**
2467
- * Role of the member in the channel
2602
+ *
2468
2603
  * @type {string}
2469
2604
  * @memberof ChannelMember
2470
2605
  */
2471
2606
  channel_role: string;
2472
2607
  /**
2473
- * Date/time of creation
2608
+ *
2474
2609
  * @type {string}
2475
2610
  * @memberof ChannelMember
2476
2611
  */
2477
2612
  created_at: string;
2613
+ /**
2614
+ *
2615
+ * @type {{ [key: string]: any; }}
2616
+ * @memberof ChannelMember
2617
+ */
2618
+ custom: {
2619
+ [key: string]: any;
2620
+ };
2478
2621
  /**
2479
2622
  *
2480
2623
  * @type {string}
@@ -2482,25 +2625,25 @@ export interface ChannelMember {
2482
2625
  */
2483
2626
  deleted_at?: string;
2484
2627
  /**
2485
- * Date when invite was accepted
2628
+ *
2486
2629
  * @type {string}
2487
2630
  * @memberof ChannelMember
2488
2631
  */
2489
2632
  invite_accepted_at?: string;
2490
2633
  /**
2491
- * Date when invite was rejected
2634
+ *
2492
2635
  * @type {string}
2493
2636
  * @memberof ChannelMember
2494
2637
  */
2495
2638
  invite_rejected_at?: string;
2496
2639
  /**
2497
- * Whether member was invited or not
2640
+ *
2498
2641
  * @type {boolean}
2499
2642
  * @memberof ChannelMember
2500
2643
  */
2501
2644
  invited?: boolean;
2502
2645
  /**
2503
- * Whether member is channel moderator or not
2646
+ *
2504
2647
  * @type {boolean}
2505
2648
  * @memberof ChannelMember
2506
2649
  */
@@ -2512,7 +2655,13 @@ export interface ChannelMember {
2512
2655
  */
2513
2656
  notifications_muted: boolean;
2514
2657
  /**
2515
- * Whether member is shadow banned in this channel or not
2658
+ *
2659
+ * @type {string}
2660
+ * @memberof ChannelMember
2661
+ */
2662
+ pinned_at?: string;
2663
+ /**
2664
+ *
2516
2665
  * @type {boolean}
2517
2666
  * @memberof ChannelMember
2518
2667
  */
@@ -2524,7 +2673,7 @@ export interface ChannelMember {
2524
2673
  */
2525
2674
  status?: string;
2526
2675
  /**
2527
- * Date/time of the last update
2676
+ *
2528
2677
  * @type {string}
2529
2678
  * @memberof ChannelMember
2530
2679
  */
@@ -2574,11 +2723,54 @@ export interface ChannelMute {
2574
2723
  updated_at: string;
2575
2724
  /**
2576
2725
  *
2577
- * @type {UserObject}
2726
+ * @type {UserResponse}
2578
2727
  * @memberof ChannelMute
2579
2728
  */
2580
- user?: UserObject;
2729
+ user?: UserResponse;
2581
2730
  }
2731
+ /**
2732
+ * All possibility of string to use
2733
+ * @export
2734
+ */
2735
+ export declare const ChannelOwnCapability: {
2736
+ readonly BAN_CHANNEL_MEMBERS: "ban-channel-members";
2737
+ readonly CAST_POLL_VOTE: "cast-poll-vote";
2738
+ readonly CONNECT_EVENTS: "connect-events";
2739
+ readonly CREATE_ATTACHMENT: "create-attachment";
2740
+ readonly CREATE_CALL: "create-call";
2741
+ readonly DELETE_ANY_MESSAGE: "delete-any-message";
2742
+ readonly DELETE_CHANNEL: "delete-channel";
2743
+ readonly DELETE_OWN_MESSAGE: "delete-own-message";
2744
+ readonly FLAG_MESSAGE: "flag-message";
2745
+ readonly FREEZE_CHANNEL: "freeze-channel";
2746
+ readonly JOIN_CALL: "join-call";
2747
+ readonly JOIN_CHANNEL: "join-channel";
2748
+ readonly LEAVE_CHANNEL: "leave-channel";
2749
+ readonly MUTE_CHANNEL: "mute-channel";
2750
+ readonly PIN_MESSAGE: "pin-message";
2751
+ readonly QUERY_POLL_VOTES: "query-poll-votes";
2752
+ readonly QUOTE_MESSAGE: "quote-message";
2753
+ readonly READ_EVENTS: "read-events";
2754
+ readonly SEARCH_MESSAGES: "search-messages";
2755
+ readonly SEND_CUSTOM_EVENTS: "send-custom-events";
2756
+ readonly SEND_LINKS: "send-links";
2757
+ readonly SEND_MESSAGE: "send-message";
2758
+ readonly SEND_POLL: "send-poll";
2759
+ readonly SEND_REACTION: "send-reaction";
2760
+ readonly SEND_REPLY: "send-reply";
2761
+ readonly SEND_TYPING_EVENTS: "send-typing-events";
2762
+ readonly SET_CHANNEL_COOLDOWN: "set-channel-cooldown";
2763
+ readonly SKIP_SLOW_MODE: "skip-slow-mode";
2764
+ readonly SLOW_MODE: "slow-mode";
2765
+ readonly TYPING_EVENTS: "typing-events";
2766
+ readonly UPDATE_ANY_MESSAGE: "update-any-message";
2767
+ readonly UPDATE_CHANNEL: "update-channel";
2768
+ readonly UPDATE_CHANNEL_MEMBERS: "update-channel-members";
2769
+ readonly UPDATE_OWN_MESSAGE: "update-own-message";
2770
+ readonly UPDATE_THREAD: "update-thread";
2771
+ readonly UPLOAD_FILE: "upload-file";
2772
+ };
2773
+ export type ChannelOwnCapability = (typeof ChannelOwnCapability)[keyof typeof ChannelOwnCapability];
2582
2774
  /**
2583
2775
  * Represents channel in chat
2584
2776
  * @export
@@ -2597,6 +2789,12 @@ export interface ChannelResponse {
2597
2789
  * @memberof ChannelResponse
2598
2790
  */
2599
2791
  auto_translation_language?: string;
2792
+ /**
2793
+ * Whether this channel is blocked by current user or not
2794
+ * @type {boolean}
2795
+ * @memberof ChannelResponse
2796
+ */
2797
+ blocked?: boolean;
2600
2798
  /**
2601
2799
  * Channel CID (<type>:<id>)
2602
2800
  * @type {string}
@@ -2623,12 +2821,12 @@ export interface ChannelResponse {
2623
2821
  created_at: string;
2624
2822
  /**
2625
2823
  *
2626
- * @type {UserObject}
2824
+ * @type {UserResponse}
2627
2825
  * @memberof ChannelResponse
2628
2826
  */
2629
- created_by?: UserObject;
2827
+ created_by?: UserResponse;
2630
2828
  /**
2631
- *
2829
+ * Custom data for this object
2632
2830
  * @type {{ [key: string]: any; }}
2633
2831
  * @memberof ChannelResponse
2634
2832
  */
@@ -2703,10 +2901,10 @@ export interface ChannelResponse {
2703
2901
  muted?: boolean;
2704
2902
  /**
2705
2903
  * List of channel capabilities of authenticated user
2706
- * @type {Array<string>}
2904
+ * @type {Array<ChannelOwnCapability>}
2707
2905
  * @memberof ChannelResponse
2708
2906
  */
2709
- own_capabilities?: Array<string>;
2907
+ own_capabilities?: Array<ChannelOwnCapability>;
2710
2908
  /**
2711
2909
  * Team the channel belongs to (multi-tenant only)
2712
2910
  * @type {string}
@@ -2721,10 +2919,10 @@ export interface ChannelResponse {
2721
2919
  truncated_at?: string;
2722
2920
  /**
2723
2921
  *
2724
- * @type {UserObject}
2922
+ * @type {UserResponse}
2725
2923
  * @memberof ChannelResponse
2726
2924
  */
2727
- truncated_by?: UserObject;
2925
+ truncated_by?: UserResponse;
2728
2926
  /**
2729
2927
  * Type of the channel
2730
2928
  * @type {string}
@@ -2815,7 +3013,7 @@ export interface CollectUserFeedbackRequest {
2815
3013
  user_session_id: string;
2816
3014
  }
2817
3015
  /**
2818
- *
3016
+ * Basic response information
2819
3017
  * @export
2820
3018
  * @interface CollectUserFeedbackResponse
2821
3019
  */
@@ -2916,10 +3114,10 @@ export interface ConnectUserDetailsRequest {
2916
3114
  name?: string;
2917
3115
  /**
2918
3116
  *
2919
- * @type {PrivacySettings}
3117
+ * @type {PrivacySettingsResponse}
2920
3118
  * @memberof ConnectUserDetailsRequest
2921
3119
  */
2922
- privacy_settings?: PrivacySettings;
3120
+ privacy_settings?: PrivacySettingsResponse;
2923
3121
  /**
2924
3122
  *
2925
3123
  * @type {PushNotificationSettingsInput}
@@ -3009,7 +3207,7 @@ export interface Coordinates {
3009
3207
  longitude: number;
3010
3208
  }
3011
3209
  /**
3012
- *
3210
+ * Create device request
3013
3211
  * @export
3014
3212
  * @interface CreateDeviceRequest
3015
3213
  */
@@ -3152,83 +3350,121 @@ export interface CustomVideoEvent {
3152
3350
  user: UserResponse;
3153
3351
  }
3154
3352
  /**
3155
- *
3353
+ * DeleteCallRequest is the payload for deleting a call.
3354
+ * @export
3355
+ * @interface DeleteCallRequest
3356
+ */
3357
+ export interface DeleteCallRequest {
3358
+ /**
3359
+ * if true the call will be hard deleted along with all related data
3360
+ * @type {boolean}
3361
+ * @memberof DeleteCallRequest
3362
+ */
3363
+ hard?: boolean;
3364
+ }
3365
+ /**
3366
+ * DeleteCallResponse is the payload for deleting a call.
3367
+ * @export
3368
+ * @interface DeleteCallResponse
3369
+ */
3370
+ export interface DeleteCallResponse {
3371
+ /**
3372
+ *
3373
+ * @type {CallResponse}
3374
+ * @memberof DeleteCallResponse
3375
+ */
3376
+ call: CallResponse;
3377
+ /**
3378
+ *
3379
+ * @type {string}
3380
+ * @memberof DeleteCallResponse
3381
+ */
3382
+ duration: string;
3383
+ /**
3384
+ *
3385
+ * @type {string}
3386
+ * @memberof DeleteCallResponse
3387
+ */
3388
+ task_id?: string;
3389
+ }
3390
+ /**
3391
+ * Response for DeleteRecording
3156
3392
  * @export
3157
3393
  * @interface DeleteRecordingResponse
3158
3394
  */
3159
3395
  export interface DeleteRecordingResponse {
3160
3396
  /**
3161
- *
3397
+ * Duration of the request in milliseconds
3162
3398
  * @type {string}
3163
3399
  * @memberof DeleteRecordingResponse
3164
3400
  */
3165
3401
  duration: string;
3166
3402
  }
3167
3403
  /**
3168
- *
3404
+ * DeleteTranscriptionResponse is the payload for deleting a transcription.
3169
3405
  * @export
3170
3406
  * @interface DeleteTranscriptionResponse
3171
3407
  */
3172
3408
  export interface DeleteTranscriptionResponse {
3173
3409
  /**
3174
- *
3410
+ * Duration of the request in milliseconds
3175
3411
  * @type {string}
3176
3412
  * @memberof DeleteTranscriptionResponse
3177
3413
  */
3178
3414
  duration: string;
3179
3415
  }
3180
3416
  /**
3181
- *
3417
+ * Response for Device
3182
3418
  * @export
3183
- * @interface Device
3419
+ * @interface DeviceResponse
3184
3420
  */
3185
- export interface Device {
3421
+ export interface DeviceResponse {
3186
3422
  /**
3187
3423
  * Date/time of creation
3188
3424
  * @type {string}
3189
- * @memberof Device
3425
+ * @memberof DeviceResponse
3190
3426
  */
3191
3427
  created_at: string;
3192
3428
  /**
3193
3429
  * Whether device is disabled or not
3194
3430
  * @type {boolean}
3195
- * @memberof Device
3431
+ * @memberof DeviceResponse
3196
3432
  */
3197
3433
  disabled?: boolean;
3198
3434
  /**
3199
3435
  * Reason explaining why device had been disabled
3200
3436
  * @type {string}
3201
- * @memberof Device
3437
+ * @memberof DeviceResponse
3202
3438
  */
3203
3439
  disabled_reason?: string;
3204
3440
  /**
3205
3441
  * Device ID
3206
3442
  * @type {string}
3207
- * @memberof Device
3443
+ * @memberof DeviceResponse
3208
3444
  */
3209
3445
  id: string;
3210
3446
  /**
3211
3447
  * Push provider
3212
3448
  * @type {string}
3213
- * @memberof Device
3449
+ * @memberof DeviceResponse
3214
3450
  */
3215
3451
  push_provider: string;
3216
3452
  /**
3217
3453
  * Push provider name
3218
3454
  * @type {string}
3219
- * @memberof Device
3455
+ * @memberof DeviceResponse
3220
3456
  */
3221
3457
  push_provider_name?: string;
3222
3458
  /**
3223
3459
  * User ID
3224
3460
  * @type {string}
3225
- * @memberof Device
3461
+ * @memberof DeviceResponse
3226
3462
  */
3227
3463
  user_id: string;
3228
3464
  /**
3229
3465
  * When true the token is for Apple VoIP push notifications
3230
3466
  * @type {boolean}
3231
- * @memberof Device
3467
+ * @memberof DeviceResponse
3232
3468
  */
3233
3469
  voip?: boolean;
3234
3470
  }
@@ -3329,13 +3565,19 @@ export interface EgressRTMPResponse {
3329
3565
  * @type {string}
3330
3566
  * @memberof EgressRTMPResponse
3331
3567
  */
3332
- stream_key: string;
3568
+ started_at: string;
3333
3569
  /**
3334
3570
  *
3335
3571
  * @type {string}
3336
3572
  * @memberof EgressRTMPResponse
3337
3573
  */
3338
- url: string;
3574
+ stream_key?: string;
3575
+ /**
3576
+ *
3577
+ * @type {string}
3578
+ * @memberof EgressRTMPResponse
3579
+ */
3580
+ stream_url?: string;
3339
3581
  }
3340
3582
  /**
3341
3583
  *
@@ -3363,13 +3605,13 @@ export interface EgressResponse {
3363
3605
  rtmps: Array<EgressRTMPResponse>;
3364
3606
  }
3365
3607
  /**
3366
- *
3608
+ * Response for ending a call
3367
3609
  * @export
3368
3610
  * @interface EndCallResponse
3369
3611
  */
3370
3612
  export interface EndCallResponse {
3371
3613
  /**
3372
- *
3614
+ * Duration of the request in milliseconds
3373
3615
  * @type {string}
3374
3616
  * @memberof EndCallResponse
3375
3617
  */
@@ -3506,7 +3748,7 @@ export interface GetCallResponse {
3506
3748
  own_capabilities: Array<OwnCapability>;
3507
3749
  }
3508
3750
  /**
3509
- *
3751
+ * Basic response information
3510
3752
  * @export
3511
3753
  * @interface GetCallStatsResponse
3512
3754
  */
@@ -3543,16 +3785,16 @@ export interface GetCallStatsResponse {
3543
3785
  duration: string;
3544
3786
  /**
3545
3787
  *
3546
- * @type {Stats}
3788
+ * @type {TimeStats}
3547
3789
  * @memberof GetCallStatsResponse
3548
3790
  */
3549
- jitter?: Stats;
3791
+ jitter?: TimeStats;
3550
3792
  /**
3551
3793
  *
3552
- * @type {Stats}
3794
+ * @type {TimeStats}
3553
3795
  * @memberof GetCallStatsResponse
3554
3796
  */
3555
- latency?: Stats;
3797
+ latency?: TimeStats;
3556
3798
  /**
3557
3799
  *
3558
3800
  * @type {number}
@@ -3603,7 +3845,7 @@ export interface GetCallStatsResponse {
3603
3845
  sfus: Array<SFULocationResponse>;
3604
3846
  }
3605
3847
  /**
3606
- *
3848
+ * Basic response information
3607
3849
  * @export
3608
3850
  * @interface GetEdgesResponse
3609
3851
  */
@@ -3713,6 +3955,12 @@ export interface GoLiveRequest {
3713
3955
  * @memberof GoLiveRequest
3714
3956
  */
3715
3957
  recording_storage_name?: string;
3958
+ /**
3959
+ *
3960
+ * @type {boolean}
3961
+ * @memberof GoLiveRequest
3962
+ */
3963
+ start_closed_caption?: boolean;
3716
3964
  /**
3717
3965
  *
3718
3966
  * @type {boolean}
@@ -3725,6 +3973,12 @@ export interface GoLiveRequest {
3725
3973
  * @memberof GoLiveRequest
3726
3974
  */
3727
3975
  start_recording?: boolean;
3976
+ /**
3977
+ *
3978
+ * @type {boolean}
3979
+ * @memberof GoLiveRequest
3980
+ */
3981
+ start_rtmp_broadcasts?: boolean;
3728
3982
  /**
3729
3983
  *
3730
3984
  * @type {boolean}
@@ -3739,7 +3993,7 @@ export interface GoLiveRequest {
3739
3993
  transcription_storage_name?: string;
3740
3994
  }
3741
3995
  /**
3742
- *
3996
+ * Basic response information
3743
3997
  * @export
3744
3998
  * @interface GoLiveResponse
3745
3999
  */
@@ -3783,7 +4037,7 @@ export interface HLSSettingsRequest {
3783
4037
  quality_tracks: Array<string>;
3784
4038
  }
3785
4039
  /**
3786
- *
4040
+ * HLSSettings is the payload for HLS settings
3787
4041
  * @export
3788
4042
  * @interface HLSSettingsResponse
3789
4043
  */
@@ -3818,7 +4072,7 @@ export interface HealthCheckEvent {
3818
4072
  * @type {string}
3819
4073
  * @memberof HealthCheckEvent
3820
4074
  */
3821
- cid: string;
4075
+ cid?: string;
3822
4076
  /**
3823
4077
  *
3824
4078
  * @type {string}
@@ -3833,10 +4087,16 @@ export interface HealthCheckEvent {
3833
4087
  created_at: string;
3834
4088
  /**
3835
4089
  *
3836
- * @type {OwnUser}
4090
+ * @type {OwnUserResponse}
4091
+ * @memberof HealthCheckEvent
4092
+ */
4093
+ me?: OwnUserResponse;
4094
+ /**
4095
+ *
4096
+ * @type {string}
3837
4097
  * @memberof HealthCheckEvent
3838
4098
  */
3839
- me?: OwnUser;
4099
+ received_at?: string;
3840
4100
  /**
3841
4101
  *
3842
4102
  * @type {string}
@@ -3986,13 +4246,13 @@ export interface JoinCallResponse {
3986
4246
  */
3987
4247
  export interface LabelThresholds {
3988
4248
  /**
3989
- * Threshold for automatic message block
4249
+ *
3990
4250
  * @type {number}
3991
4251
  * @memberof LabelThresholds
3992
4252
  */
3993
4253
  block?: number;
3994
4254
  /**
3995
- * Threshold for automatic message flag
4255
+ *
3996
4256
  * @type {number}
3997
4257
  * @memberof LabelThresholds
3998
4258
  */
@@ -4037,17 +4297,17 @@ export interface LimitsSettingsResponse {
4037
4297
  max_participants?: number;
4038
4298
  }
4039
4299
  /**
4040
- *
4300
+ * List devices response
4041
4301
  * @export
4042
4302
  * @interface ListDevicesResponse
4043
4303
  */
4044
4304
  export interface ListDevicesResponse {
4045
4305
  /**
4046
4306
  * List of devices
4047
- * @type {Array<Device>}
4307
+ * @type {Array<DeviceResponse>}
4048
4308
  * @memberof ListDevicesResponse
4049
4309
  */
4050
- devices: Array<Device>;
4310
+ devices: Array<DeviceResponse>;
4051
4311
  /**
4052
4312
  *
4053
4313
  * @type {string}
@@ -4056,7 +4316,7 @@ export interface ListDevicesResponse {
4056
4316
  duration: string;
4057
4317
  }
4058
4318
  /**
4059
- *
4319
+ * Response for listing recordings
4060
4320
  * @export
4061
4321
  * @interface ListRecordingsResponse
4062
4322
  */
@@ -4087,7 +4347,7 @@ export interface ListTranscriptionsResponse {
4087
4347
  */
4088
4348
  duration: string;
4089
4349
  /**
4090
- *
4350
+ * List of transcriptions for the call
4091
4351
  * @type {Array<CallTranscription>}
4092
4352
  * @memberof ListTranscriptionsResponse
4093
4353
  */
@@ -4121,58 +4381,27 @@ export interface Location {
4121
4381
  /**
4122
4382
  *
4123
4383
  * @export
4124
- * @interface MOSStats
4384
+ * @interface MediaPubSubHint
4125
4385
  */
4126
- export interface MOSStats {
4386
+ export interface MediaPubSubHint {
4127
4387
  /**
4128
4388
  *
4129
- * @type {number}
4130
- * @memberof MOSStats
4389
+ * @type {boolean}
4390
+ * @memberof MediaPubSubHint
4131
4391
  */
4132
- average_score: number;
4392
+ audio_published: boolean;
4133
4393
  /**
4134
4394
  *
4135
- * @type {Array<number>}
4136
- * @memberof MOSStats
4395
+ * @type {boolean}
4396
+ * @memberof MediaPubSubHint
4137
4397
  */
4138
- histogram_duration_seconds: Array<number>;
4398
+ audio_subscribed: boolean;
4139
4399
  /**
4140
4400
  *
4141
- * @type {number}
4142
- * @memberof MOSStats
4401
+ * @type {boolean}
4402
+ * @memberof MediaPubSubHint
4143
4403
  */
4144
- max_score: number;
4145
- /**
4146
- *
4147
- * @type {number}
4148
- * @memberof MOSStats
4149
- */
4150
- min_score: number;
4151
- }
4152
- /**
4153
- *
4154
- * @export
4155
- * @interface MediaPubSubHint
4156
- */
4157
- export interface MediaPubSubHint {
4158
- /**
4159
- *
4160
- * @type {boolean}
4161
- * @memberof MediaPubSubHint
4162
- */
4163
- audio_published: boolean;
4164
- /**
4165
- *
4166
- * @type {boolean}
4167
- * @memberof MediaPubSubHint
4168
- */
4169
- audio_subscribed: boolean;
4170
- /**
4171
- *
4172
- * @type {boolean}
4173
- * @memberof MediaPubSubHint
4174
- */
4175
- video_published: boolean;
4404
+ video_published: boolean;
4176
4405
  /**
4177
4406
  *
4178
4407
  * @type {boolean}
@@ -4181,7 +4410,7 @@ export interface MediaPubSubHint {
4181
4410
  video_subscribed: boolean;
4182
4411
  }
4183
4412
  /**
4184
- *
4413
+ * MemberRequest is the payload for adding a member to a call.
4185
4414
  * @export
4186
4415
  * @interface MemberRequest
4187
4416
  */
@@ -4208,7 +4437,7 @@ export interface MemberRequest {
4208
4437
  user_id: string;
4209
4438
  }
4210
4439
  /**
4211
- *
4440
+ * MemberResponse is the payload for a member of a call.
4212
4441
  * @export
4213
4442
  * @interface MemberResponse
4214
4443
  */
@@ -4302,7 +4531,7 @@ export interface MuteUsersRequest {
4302
4531
  video?: boolean;
4303
4532
  }
4304
4533
  /**
4305
- *
4534
+ * MuteUsersResponse is the response payload for the mute users endpoint.
4306
4535
  * @export
4307
4536
  * @interface MuteUsersResponse
4308
4537
  */
@@ -4427,9 +4656,11 @@ export declare const OwnCapability: {
4427
4656
  readonly SEND_AUDIO: "send-audio";
4428
4657
  readonly SEND_VIDEO: "send-video";
4429
4658
  readonly START_BROADCAST_CALL: "start-broadcast-call";
4659
+ readonly START_CLOSED_CAPTIONS_CALL: "start-closed-captions-call";
4430
4660
  readonly START_RECORD_CALL: "start-record-call";
4431
4661
  readonly START_TRANSCRIPTION_CALL: "start-transcription-call";
4432
4662
  readonly STOP_BROADCAST_CALL: "stop-broadcast-call";
4663
+ readonly STOP_CLOSED_CAPTIONS_CALL: "stop-closed-captions-call";
4433
4664
  readonly STOP_RECORD_CALL: "stop-record-call";
4434
4665
  readonly STOP_TRANSCRIPTION_CALL: "stop-transcription-call";
4435
4666
  readonly UPDATE_CALL: "update-call";
@@ -4438,159 +4669,6 @@ export declare const OwnCapability: {
4438
4669
  readonly UPDATE_CALL_SETTINGS: "update-call-settings";
4439
4670
  };
4440
4671
  export type OwnCapability = (typeof OwnCapability)[keyof typeof OwnCapability];
4441
- /**
4442
- *
4443
- * @export
4444
- * @interface OwnUser
4445
- */
4446
- export interface OwnUser {
4447
- /**
4448
- *
4449
- * @type {boolean}
4450
- * @memberof OwnUser
4451
- */
4452
- banned: boolean;
4453
- /**
4454
- *
4455
- * @type {Array<string>}
4456
- * @memberof OwnUser
4457
- */
4458
- blocked_user_ids?: Array<string>;
4459
- /**
4460
- *
4461
- * @type {Array<ChannelMute>}
4462
- * @memberof OwnUser
4463
- */
4464
- channel_mutes: Array<ChannelMute>;
4465
- /**
4466
- *
4467
- * @type {string}
4468
- * @memberof OwnUser
4469
- */
4470
- created_at: string;
4471
- /**
4472
- *
4473
- * @type {{ [key: string]: any; }}
4474
- * @memberof OwnUser
4475
- */
4476
- custom: {
4477
- [key: string]: any;
4478
- };
4479
- /**
4480
- *
4481
- * @type {string}
4482
- * @memberof OwnUser
4483
- */
4484
- deactivated_at?: string;
4485
- /**
4486
- *
4487
- * @type {string}
4488
- * @memberof OwnUser
4489
- */
4490
- deleted_at?: string;
4491
- /**
4492
- *
4493
- * @type {Array<Device>}
4494
- * @memberof OwnUser
4495
- */
4496
- devices: Array<Device>;
4497
- /**
4498
- *
4499
- * @type {string}
4500
- * @memberof OwnUser
4501
- */
4502
- id: string;
4503
- /**
4504
- *
4505
- * @type {boolean}
4506
- * @memberof OwnUser
4507
- */
4508
- invisible?: boolean;
4509
- /**
4510
- *
4511
- * @type {string}
4512
- * @memberof OwnUser
4513
- */
4514
- language: string;
4515
- /**
4516
- *
4517
- * @type {string}
4518
- * @memberof OwnUser
4519
- */
4520
- last_active?: string;
4521
- /**
4522
- *
4523
- * @type {Array<string>}
4524
- * @memberof OwnUser
4525
- */
4526
- latest_hidden_channels?: Array<string>;
4527
- /**
4528
- *
4529
- * @type {Array<UserMute>}
4530
- * @memberof OwnUser
4531
- */
4532
- mutes: Array<UserMute>;
4533
- /**
4534
- *
4535
- * @type {boolean}
4536
- * @memberof OwnUser
4537
- */
4538
- online: boolean;
4539
- /**
4540
- *
4541
- * @type {PrivacySettings}
4542
- * @memberof OwnUser
4543
- */
4544
- privacy_settings?: PrivacySettings;
4545
- /**
4546
- *
4547
- * @type {PushNotificationSettings}
4548
- * @memberof OwnUser
4549
- */
4550
- push_notifications?: PushNotificationSettings;
4551
- /**
4552
- *
4553
- * @type {string}
4554
- * @memberof OwnUser
4555
- */
4556
- role: string;
4557
- /**
4558
- *
4559
- * @type {Array<string>}
4560
- * @memberof OwnUser
4561
- */
4562
- teams?: Array<string>;
4563
- /**
4564
- *
4565
- * @type {number}
4566
- * @memberof OwnUser
4567
- */
4568
- total_unread_count: number;
4569
- /**
4570
- *
4571
- * @type {number}
4572
- * @memberof OwnUser
4573
- */
4574
- unread_channels: number;
4575
- /**
4576
- *
4577
- * @type {number}
4578
- * @memberof OwnUser
4579
- */
4580
- unread_count: number;
4581
- /**
4582
- *
4583
- * @type {number}
4584
- * @memberof OwnUser
4585
- */
4586
- unread_threads: number;
4587
- /**
4588
- *
4589
- * @type {string}
4590
- * @memberof OwnUser
4591
- */
4592
- updated_at: string;
4593
- }
4594
4672
  /**
4595
4673
  *
4596
4674
  * @export
@@ -4643,10 +4721,10 @@ export interface OwnUserResponse {
4643
4721
  deleted_at?: string;
4644
4722
  /**
4645
4723
  *
4646
- * @type {Array<Device>}
4724
+ * @type {Array<DeviceResponse>}
4647
4725
  * @memberof OwnUserResponse
4648
4726
  */
4649
- devices: Array<Device>;
4727
+ devices: Array<DeviceResponse>;
4650
4728
  /**
4651
4729
  *
4652
4730
  * @type {string}
@@ -4743,6 +4821,12 @@ export interface OwnUserResponse {
4743
4821
  * @memberof OwnUserResponse
4744
4822
  */
4745
4823
  unread_channels: number;
4824
+ /**
4825
+ *
4826
+ * @type {number}
4827
+ * @memberof OwnUserResponse
4828
+ */
4829
+ unread_count: number;
4746
4830
  /**
4747
4831
  *
4748
4832
  * @type {number}
@@ -4835,7 +4919,7 @@ export interface PinRequest {
4835
4919
  user_id: string;
4836
4920
  }
4837
4921
  /**
4838
- *
4922
+ * Basic response information
4839
4923
  * @export
4840
4924
  * @interface PinResponse
4841
4925
  */
@@ -4874,16 +4958,16 @@ export interface PrivacySettings {
4874
4958
  export interface PrivacySettingsResponse {
4875
4959
  /**
4876
4960
  *
4877
- * @type {ReadReceipts}
4961
+ * @type {ReadReceiptsResponse}
4878
4962
  * @memberof PrivacySettingsResponse
4879
4963
  */
4880
- read_receipts?: ReadReceipts;
4964
+ read_receipts?: ReadReceiptsResponse;
4881
4965
  /**
4882
4966
  *
4883
- * @type {TypingIndicators}
4967
+ * @type {TypingIndicatorsResponse}
4884
4968
  * @memberof PrivacySettingsResponse
4885
4969
  */
4886
- typing_indicators?: TypingIndicators;
4970
+ typing_indicators?: TypingIndicatorsResponse;
4887
4971
  }
4888
4972
  /**
4889
4973
  *
@@ -5125,7 +5209,7 @@ export interface QueryCallMembersRequest {
5125
5209
  type: string;
5126
5210
  }
5127
5211
  /**
5128
- *
5212
+ * Basic response information
5129
5213
  * @export
5130
5214
  * @interface QueryCallMembersResponse
5131
5215
  */
@@ -5195,7 +5279,7 @@ export interface QueryCallStatsRequest {
5195
5279
  sort?: Array<SortParamRequest>;
5196
5280
  }
5197
5281
  /**
5198
- *
5282
+ * Basic response information
5199
5283
  * @export
5200
5284
  * @interface QueryCallStatsResponse
5201
5285
  */
@@ -5258,7 +5342,7 @@ export interface QueryCallsRequest {
5258
5342
  */
5259
5343
  prev?: string;
5260
5344
  /**
5261
- *
5345
+ * Array of sort parameters
5262
5346
  * @type {Array<SortParamRequest>}
5263
5347
  * @memberof QueryCallsRequest
5264
5348
  */
@@ -5358,6 +5442,19 @@ export interface ReadReceipts {
5358
5442
  * @type {boolean}
5359
5443
  * @memberof ReadReceipts
5360
5444
  */
5445
+ enabled: boolean;
5446
+ }
5447
+ /**
5448
+ *
5449
+ * @export
5450
+ * @interface ReadReceiptsResponse
5451
+ */
5452
+ export interface ReadReceiptsResponse {
5453
+ /**
5454
+ *
5455
+ * @type {boolean}
5456
+ * @memberof ReadReceiptsResponse
5457
+ */
5361
5458
  enabled?: boolean;
5362
5459
  }
5363
5460
  /**
@@ -5411,7 +5508,7 @@ export declare const RecordSettingsRequestQualityEnum: {
5411
5508
  };
5412
5509
  export type RecordSettingsRequestQualityEnum = (typeof RecordSettingsRequestQualityEnum)[keyof typeof RecordSettingsRequestQualityEnum];
5413
5510
  /**
5414
- *
5511
+ * RecordSettings is the payload for recording settings
5415
5512
  * @export
5416
5513
  * @interface RecordSettingsResponse
5417
5514
  */
@@ -5455,7 +5552,7 @@ export interface RejectCallRequest {
5455
5552
  */
5456
5553
  export interface RejectCallResponse {
5457
5554
  /**
5458
- *
5555
+ * Duration of the request in milliseconds
5459
5556
  * @type {string}
5460
5557
  * @memberof RejectCallResponse
5461
5558
  */
@@ -5524,14 +5621,14 @@ export interface RequestPermissionRequest {
5524
5621
  */
5525
5622
  export interface RequestPermissionResponse {
5526
5623
  /**
5527
- *
5624
+ * Duration of the request in milliseconds
5528
5625
  * @type {string}
5529
5626
  * @memberof RequestPermissionResponse
5530
5627
  */
5531
5628
  duration: string;
5532
5629
  }
5533
5630
  /**
5534
- *
5631
+ * Basic response information
5535
5632
  * @export
5536
5633
  * @interface Response
5537
5634
  */
@@ -5749,7 +5846,7 @@ export interface SendCallEventRequest {
5749
5846
  */
5750
5847
  export interface SendCallEventResponse {
5751
5848
  /**
5752
- *
5849
+ * Duration of the request in milliseconds
5753
5850
  * @type {string}
5754
5851
  * @memberof SendCallEventResponse
5755
5852
  */
@@ -5783,7 +5880,7 @@ export interface SendReactionRequest {
5783
5880
  type: string;
5784
5881
  }
5785
5882
  /**
5786
- *
5883
+ * Basic response information
5787
5884
  * @export
5788
5885
  * @interface SendReactionResponse
5789
5886
  */
@@ -5823,17 +5920,55 @@ export interface SortParamRequest {
5823
5920
  /**
5824
5921
  *
5825
5922
  * @export
5923
+ * @interface StartClosedCaptionsRequest
5924
+ */
5925
+ export interface StartClosedCaptionsRequest {
5926
+ /**
5927
+ * Enable transcriptions along with closed captions
5928
+ * @type {boolean}
5929
+ * @memberof StartClosedCaptionsRequest
5930
+ */
5931
+ enable_transcription?: boolean;
5932
+ /**
5933
+ * Which external storage to use for transcriptions (only applicable if enable_transcription is true)
5934
+ * @type {string}
5935
+ * @memberof StartClosedCaptionsRequest
5936
+ */
5937
+ external_storage?: string;
5938
+ /**
5939
+ * The spoken language in the call, if not provided the language defined in the transcription settings will be used
5940
+ * @type {string}
5941
+ * @memberof StartClosedCaptionsRequest
5942
+ */
5943
+ language?: string;
5944
+ }
5945
+ /**
5946
+ *
5947
+ * @export
5948
+ * @interface StartClosedCaptionsResponse
5949
+ */
5950
+ export interface StartClosedCaptionsResponse {
5951
+ /**
5952
+ *
5953
+ * @type {string}
5954
+ * @memberof StartClosedCaptionsResponse
5955
+ */
5956
+ duration: string;
5957
+ }
5958
+ /**
5959
+ * StartHLSBroadcastingResponse is the payload for starting an HLS broadcasting.
5960
+ * @export
5826
5961
  * @interface StartHLSBroadcastingResponse
5827
5962
  */
5828
5963
  export interface StartHLSBroadcastingResponse {
5829
5964
  /**
5830
- * Duration of the request in milliseconds
5965
+ *
5831
5966
  * @type {string}
5832
5967
  * @memberof StartHLSBroadcastingResponse
5833
5968
  */
5834
5969
  duration: string;
5835
5970
  /**
5836
- *
5971
+ * the URL of the HLS playlist
5837
5972
  * @type {string}
5838
5973
  * @memberof StartHLSBroadcastingResponse
5839
5974
  */
@@ -5853,13 +5988,13 @@ export interface StartRecordingRequest {
5853
5988
  recording_external_storage?: string;
5854
5989
  }
5855
5990
  /**
5856
- *
5991
+ * StartRecordingResponse is the response payload for the start recording endpoint.
5857
5992
  * @export
5858
5993
  * @interface StartRecordingResponse
5859
5994
  */
5860
5995
  export interface StartRecordingResponse {
5861
5996
  /**
5862
- *
5997
+ * Duration of the request in milliseconds
5863
5998
  * @type {string}
5864
5999
  * @memberof StartRecordingResponse
5865
6000
  */
@@ -5872,7 +6007,19 @@ export interface StartRecordingResponse {
5872
6007
  */
5873
6008
  export interface StartTranscriptionRequest {
5874
6009
  /**
5875
- *
6010
+ * Enable closed captions along with transcriptions
6011
+ * @type {boolean}
6012
+ * @memberof StartTranscriptionRequest
6013
+ */
6014
+ enable_closed_captions?: boolean;
6015
+ /**
6016
+ * The spoken language in the call, if not provided the language defined in the transcription settings will be used
6017
+ * @type {string}
6018
+ * @memberof StartTranscriptionRequest
6019
+ */
6020
+ language?: string;
6021
+ /**
6022
+ * Store transcriptions in this external storage
5876
6023
  * @type {string}
5877
6024
  * @memberof StartTranscriptionRequest
5878
6025
  */
@@ -5885,7 +6032,7 @@ export interface StartTranscriptionRequest {
5885
6032
  */
5886
6033
  export interface StartTranscriptionResponse {
5887
6034
  /**
5888
- *
6035
+ * Duration of the request in milliseconds
5889
6036
  * @type {string}
5890
6037
  * @memberof StartTranscriptionResponse
5891
6038
  */
@@ -5894,50 +6041,57 @@ export interface StartTranscriptionResponse {
5894
6041
  /**
5895
6042
  *
5896
6043
  * @export
5897
- * @interface Stats
6044
+ * @interface StatsOptions
5898
6045
  */
5899
- export interface Stats {
5900
- /**
5901
- *
5902
- * @type {number}
5903
- * @memberof Stats
5904
- */
5905
- average_seconds: number;
6046
+ export interface StatsOptions {
5906
6047
  /**
5907
6048
  *
5908
6049
  * @type {number}
5909
- * @memberof Stats
6050
+ * @memberof StatsOptions
5910
6051
  */
5911
- max_seconds: number;
6052
+ reporting_interval_ms: number;
5912
6053
  }
5913
6054
  /**
5914
6055
  *
5915
6056
  * @export
5916
- * @interface StatsOptions
6057
+ * @interface StopClosedCaptionsRequest
5917
6058
  */
5918
- export interface StatsOptions {
6059
+ export interface StopClosedCaptionsRequest {
5919
6060
  /**
5920
6061
  *
5921
- * @type {number}
5922
- * @memberof StatsOptions
6062
+ * @type {boolean}
6063
+ * @memberof StopClosedCaptionsRequest
5923
6064
  */
5924
- reporting_interval_ms: number;
6065
+ stop_transcription?: boolean;
5925
6066
  }
5926
6067
  /**
5927
- *
6068
+ * Basic response information
5928
6069
  * @export
5929
- * @interface StopHLSBroadcastingResponse
6070
+ * @interface StopClosedCaptionsResponse
5930
6071
  */
5931
- export interface StopHLSBroadcastingResponse {
6072
+ export interface StopClosedCaptionsResponse {
5932
6073
  /**
5933
6074
  * Duration of the request in milliseconds
5934
6075
  * @type {string}
5935
- * @memberof StopHLSBroadcastingResponse
6076
+ * @memberof StopClosedCaptionsResponse
5936
6077
  */
5937
6078
  duration: string;
5938
6079
  }
5939
6080
  /**
5940
- *
6081
+ * Basic response information
6082
+ * @export
6083
+ * @interface StopHLSBroadcastingResponse
6084
+ */
6085
+ export interface StopHLSBroadcastingResponse {
6086
+ /**
6087
+ * Duration of the request in milliseconds
6088
+ * @type {string}
6089
+ * @memberof StopHLSBroadcastingResponse
6090
+ */
6091
+ duration: string;
6092
+ }
6093
+ /**
6094
+ *
5941
6095
  * @export
5942
6096
  * @interface StopLiveResponse
5943
6097
  */
@@ -5949,14 +6103,14 @@ export interface StopLiveResponse {
5949
6103
  */
5950
6104
  call: CallResponse;
5951
6105
  /**
5952
- * Duration of the request in milliseconds
6106
+ *
5953
6107
  * @type {string}
5954
6108
  * @memberof StopLiveResponse
5955
6109
  */
5956
6110
  duration: string;
5957
6111
  }
5958
6112
  /**
5959
- *
6113
+ * Basic response information
5960
6114
  * @export
5961
6115
  * @interface StopRecordingResponse
5962
6116
  */
@@ -5971,6 +6125,19 @@ export interface StopRecordingResponse {
5971
6125
  /**
5972
6126
  *
5973
6127
  * @export
6128
+ * @interface StopTranscriptionRequest
6129
+ */
6130
+ export interface StopTranscriptionRequest {
6131
+ /**
6132
+ *
6133
+ * @type {boolean}
6134
+ * @memberof StopTranscriptionRequest
6135
+ */
6136
+ stop_closed_captions?: boolean;
6137
+ }
6138
+ /**
6139
+ * Basic response information
6140
+ * @export
5974
6141
  * @interface StopTranscriptionResponse
5975
6142
  */
5976
6143
  export interface StopTranscriptionResponse {
@@ -6038,7 +6205,7 @@ export interface TargetResolution {
6038
6205
  width: number;
6039
6206
  }
6040
6207
  /**
6041
- * Sets thresholds for AI moderation
6208
+ *
6042
6209
  * @export
6043
6210
  * @interface Thresholds
6044
6211
  */
@@ -6101,6 +6268,25 @@ export interface ThumbnailsSettingsResponse {
6101
6268
  */
6102
6269
  enabled: boolean;
6103
6270
  }
6271
+ /**
6272
+ *
6273
+ * @export
6274
+ * @interface TimeStats
6275
+ */
6276
+ export interface TimeStats {
6277
+ /**
6278
+ *
6279
+ * @type {number}
6280
+ * @memberof TimeStats
6281
+ */
6282
+ average_seconds: number;
6283
+ /**
6284
+ *
6285
+ * @type {number}
6286
+ * @memberof TimeStats
6287
+ */
6288
+ max_seconds: number;
6289
+ }
6104
6290
  /**
6105
6291
  *
6106
6292
  * @export
@@ -6112,13 +6298,13 @@ export interface TranscriptionSettingsRequest {
6112
6298
  * @type {string}
6113
6299
  * @memberof TranscriptionSettingsRequest
6114
6300
  */
6115
- closed_caption_mode?: string;
6301
+ closed_caption_mode?: TranscriptionSettingsRequestClosedCaptionModeEnum;
6116
6302
  /**
6117
6303
  *
6118
- * @type {Array<string>}
6304
+ * @type {string}
6119
6305
  * @memberof TranscriptionSettingsRequest
6120
6306
  */
6121
- languages?: Array<string>;
6307
+ language?: string;
6122
6308
  /**
6123
6309
  *
6124
6310
  * @type {string}
@@ -6126,6 +6312,15 @@ export interface TranscriptionSettingsRequest {
6126
6312
  */
6127
6313
  mode: TranscriptionSettingsRequestModeEnum;
6128
6314
  }
6315
+ /**
6316
+ * @export
6317
+ */
6318
+ export declare const TranscriptionSettingsRequestClosedCaptionModeEnum: {
6319
+ readonly AVAILABLE: "available";
6320
+ readonly DISABLED: "disabled";
6321
+ readonly AUTO_ON: "auto-on";
6322
+ };
6323
+ export type TranscriptionSettingsRequestClosedCaptionModeEnum = (typeof TranscriptionSettingsRequestClosedCaptionModeEnum)[keyof typeof TranscriptionSettingsRequestClosedCaptionModeEnum];
6129
6324
  /**
6130
6325
  * @export
6131
6326
  */
@@ -6146,13 +6341,13 @@ export interface TranscriptionSettingsResponse {
6146
6341
  * @type {string}
6147
6342
  * @memberof TranscriptionSettingsResponse
6148
6343
  */
6149
- closed_caption_mode: string;
6344
+ closed_caption_mode: TranscriptionSettingsResponseClosedCaptionModeEnum;
6150
6345
  /**
6151
6346
  *
6152
- * @type {Array<string>}
6347
+ * @type {string}
6153
6348
  * @memberof TranscriptionSettingsResponse
6154
6349
  */
6155
- languages: Array<string>;
6350
+ language: string;
6156
6351
  /**
6157
6352
  *
6158
6353
  * @type {string}
@@ -6160,6 +6355,15 @@ export interface TranscriptionSettingsResponse {
6160
6355
  */
6161
6356
  mode: TranscriptionSettingsResponseModeEnum;
6162
6357
  }
6358
+ /**
6359
+ * @export
6360
+ */
6361
+ export declare const TranscriptionSettingsResponseClosedCaptionModeEnum: {
6362
+ readonly AVAILABLE: "available";
6363
+ readonly DISABLED: "disabled";
6364
+ readonly AUTO_ON: "auto-on";
6365
+ };
6366
+ export type TranscriptionSettingsResponseClosedCaptionModeEnum = (typeof TranscriptionSettingsResponseClosedCaptionModeEnum)[keyof typeof TranscriptionSettingsResponseClosedCaptionModeEnum];
6163
6367
  /**
6164
6368
  * @export
6165
6369
  */
@@ -6180,11 +6384,24 @@ export interface TypingIndicators {
6180
6384
  * @type {boolean}
6181
6385
  * @memberof TypingIndicators
6182
6386
  */
6183
- enabled?: boolean;
6387
+ enabled: boolean;
6184
6388
  }
6185
6389
  /**
6186
6390
  *
6187
6391
  * @export
6392
+ * @interface TypingIndicatorsResponse
6393
+ */
6394
+ export interface TypingIndicatorsResponse {
6395
+ /**
6396
+ *
6397
+ * @type {boolean}
6398
+ * @memberof TypingIndicatorsResponse
6399
+ */
6400
+ enabled?: boolean;
6401
+ }
6402
+ /**
6403
+ * UnblockUserRequest is the payload for unblocking a user.
6404
+ * @export
6188
6405
  * @interface UnblockUserRequest
6189
6406
  */
6190
6407
  export interface UnblockUserRequest {
@@ -6196,7 +6413,7 @@ export interface UnblockUserRequest {
6196
6413
  user_id: string;
6197
6414
  }
6198
6415
  /**
6199
- *
6416
+ * UnblockUserResponse is the payload for unblocking a user.
6200
6417
  * @export
6201
6418
  * @interface UnblockUserResponse
6202
6419
  */
@@ -6241,7 +6458,7 @@ export interface UnblockedUserEvent {
6241
6458
  user: UserResponse;
6242
6459
  }
6243
6460
  /**
6244
- *
6461
+ * UnpinRequest is the payload for unpinning a message.
6245
6462
  * @export
6246
6463
  * @interface UnpinRequest
6247
6464
  */
@@ -6260,7 +6477,7 @@ export interface UnpinRequest {
6260
6477
  user_id: string;
6261
6478
  }
6262
6479
  /**
6263
- *
6480
+ * UnpinResponse is the payload for unpinning a message.
6264
6481
  * @export
6265
6482
  * @interface UnpinResponse
6266
6483
  */
@@ -6273,7 +6490,7 @@ export interface UnpinResponse {
6273
6490
  duration: string;
6274
6491
  }
6275
6492
  /**
6276
- *
6493
+ * Update call members
6277
6494
  * @export
6278
6495
  * @interface UpdateCallMembersRequest
6279
6496
  */
@@ -6292,7 +6509,7 @@ export interface UpdateCallMembersRequest {
6292
6509
  update_members?: Array<MemberRequest>;
6293
6510
  }
6294
6511
  /**
6295
- *
6512
+ * Basic response information
6296
6513
  * @export
6297
6514
  * @interface UpdateCallMembersResponse
6298
6515
  */
@@ -6311,7 +6528,7 @@ export interface UpdateCallMembersResponse {
6311
6528
  members: Array<MemberResponse>;
6312
6529
  }
6313
6530
  /**
6314
- *
6531
+ * Request for updating a call
6315
6532
  * @export
6316
6533
  * @interface UpdateCallRequest
6317
6534
  */
@@ -6338,7 +6555,7 @@ export interface UpdateCallRequest {
6338
6555
  starts_at?: string;
6339
6556
  }
6340
6557
  /**
6341
- * Represents a call
6558
+ * Response for updating a call
6342
6559
  * @export
6343
6560
  * @interface UpdateCallResponse
6344
6561
  */
@@ -6400,7 +6617,7 @@ export interface UpdateUserPermissionsRequest {
6400
6617
  user_id: string;
6401
6618
  }
6402
6619
  /**
6403
- *
6620
+ * Basic response information
6404
6621
  * @export
6405
6622
  * @interface UpdateUserPermissionsResponse
6406
6623
  */
@@ -6449,6 +6666,123 @@ export interface UpdatedCallPermissionsEvent {
6449
6666
  */
6450
6667
  user: UserResponse;
6451
6668
  }
6669
+ /**
6670
+ *
6671
+ * @export
6672
+ * @interface User
6673
+ */
6674
+ export interface UserObject {
6675
+ /**
6676
+ *
6677
+ * @type {string}
6678
+ * @memberof User
6679
+ */
6680
+ ban_expires?: string;
6681
+ /**
6682
+ *
6683
+ * @type {boolean}
6684
+ * @memberof User
6685
+ */
6686
+ banned: boolean;
6687
+ /**
6688
+ *
6689
+ * @type {string}
6690
+ * @memberof User
6691
+ */
6692
+ readonly created_at?: string;
6693
+ /**
6694
+ *
6695
+ * @type {{ [key: string]: any; }}
6696
+ * @memberof User
6697
+ */
6698
+ custom: {
6699
+ [key: string]: any;
6700
+ };
6701
+ /**
6702
+ *
6703
+ * @type {string}
6704
+ * @memberof User
6705
+ */
6706
+ readonly deactivated_at?: string;
6707
+ /**
6708
+ *
6709
+ * @type {string}
6710
+ * @memberof User
6711
+ */
6712
+ readonly deleted_at?: string;
6713
+ /**
6714
+ *
6715
+ * @type {string}
6716
+ * @memberof User
6717
+ */
6718
+ id: string;
6719
+ /**
6720
+ *
6721
+ * @type {boolean}
6722
+ * @memberof User
6723
+ */
6724
+ invisible?: boolean;
6725
+ /**
6726
+ *
6727
+ * @type {string}
6728
+ * @memberof User
6729
+ */
6730
+ language?: string;
6731
+ /**
6732
+ *
6733
+ * @type {string}
6734
+ * @memberof User
6735
+ */
6736
+ readonly last_active?: string;
6737
+ /**
6738
+ *
6739
+ * @type {string}
6740
+ * @memberof User
6741
+ */
6742
+ readonly last_engaged_at?: string;
6743
+ /**
6744
+ *
6745
+ * @type {boolean}
6746
+ * @memberof User
6747
+ */
6748
+ readonly online: boolean;
6749
+ /**
6750
+ *
6751
+ * @type {PrivacySettings}
6752
+ * @memberof User
6753
+ */
6754
+ privacy_settings?: PrivacySettings;
6755
+ /**
6756
+ *
6757
+ * @type {PushNotificationSettings}
6758
+ * @memberof User
6759
+ */
6760
+ push_notifications?: PushNotificationSettings;
6761
+ /**
6762
+ *
6763
+ * @type {string}
6764
+ * @memberof User
6765
+ */
6766
+ revoke_tokens_issued_before?: string;
6767
+ /**
6768
+ *
6769
+ * @type {string}
6770
+ * @memberof User
6771
+ */
6772
+ role: string;
6773
+ /**
6774
+ *
6775
+ * @type {Array<string>}
6776
+ * @memberof User
6777
+ */
6778
+ teams?: Array<string>;
6779
+ /**
6780
+ *
6781
+ * @type {string}
6782
+ * @memberof User
6783
+ */
6784
+ readonly updated_at?: string;
6785
+ }
6452
6786
  /**
6453
6787
  *
6454
6788
  * @export
@@ -6599,47 +6933,31 @@ export interface UserDeletedEvent {
6599
6933
  /**
6600
6934
  *
6601
6935
  * @export
6602
- * @interface UserFeedbackReportResponse
6936
+ * @interface UserEventPayload
6603
6937
  */
6604
- export interface UserFeedbackReportResponse {
6938
+ export interface UserEventPayload {
6605
6939
  /**
6606
6940
  *
6607
- * @type {Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>}
6608
- * @memberof UserFeedbackReportResponse
6941
+ * @type {boolean}
6942
+ * @memberof UserEventPayload
6609
6943
  */
6610
- daily: Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>;
6611
- }
6612
- /**
6613
- *
6614
- * @export
6615
- * @interface UserFeedbackReport
6616
- */
6617
- export interface UserFeedbackReport {
6944
+ banned: boolean;
6618
6945
  /**
6619
6946
  *
6620
- * @type {{ [key: string]: number; }}
6621
- * @memberof UserFeedbackReport
6947
+ * @type {Array<string>}
6948
+ * @memberof UserEventPayload
6622
6949
  */
6623
- count_by_rating: {
6624
- [key: string]: number;
6625
- };
6950
+ blocked_user_ids: Array<string>;
6626
6951
  /**
6627
6952
  *
6628
- * @type {number}
6629
- * @memberof UserFeedbackReport
6953
+ * @type {string}
6954
+ * @memberof UserEventPayload
6630
6955
  */
6631
- unreported_count: number;
6632
- }
6633
- /**
6634
- *
6635
- * @export
6636
- * @interface UserInfoResponse
6637
- */
6638
- export interface UserInfoResponse {
6956
+ created_at: string;
6639
6957
  /**
6640
6958
  *
6641
6959
  * @type {{ [key: string]: any; }}
6642
- * @memberof UserInfoResponse
6960
+ * @memberof UserEventPayload
6643
6961
  */
6644
6962
  custom: {
6645
6963
  [key: string]: any;
@@ -6647,243 +6965,271 @@ export interface UserInfoResponse {
6647
6965
  /**
6648
6966
  *
6649
6967
  * @type {string}
6650
- * @memberof UserInfoResponse
6968
+ * @memberof UserEventPayload
6651
6969
  */
6652
- image: string;
6970
+ deactivated_at?: string;
6653
6971
  /**
6654
6972
  *
6655
6973
  * @type {string}
6656
- * @memberof UserInfoResponse
6974
+ * @memberof UserEventPayload
6657
6975
  */
6658
- name: string;
6976
+ deleted_at?: string;
6659
6977
  /**
6660
6978
  *
6661
- * @type {Array<string>}
6662
- * @memberof UserInfoResponse
6979
+ * @type {string}
6980
+ * @memberof UserEventPayload
6663
6981
  */
6664
- roles: Array<string>;
6665
- }
6666
- /**
6667
- *
6668
- * @export
6669
- * @interface UserMute
6670
- */
6671
- export interface UserMute {
6982
+ id: string;
6672
6983
  /**
6673
- * Date/time of creation
6984
+ *
6674
6985
  * @type {string}
6675
- * @memberof UserMute
6986
+ * @memberof UserEventPayload
6676
6987
  */
6677
- created_at: string;
6988
+ image?: string;
6678
6989
  /**
6679
- * Date/time of mute expiration
6990
+ *
6991
+ * @type {boolean}
6992
+ * @memberof UserEventPayload
6993
+ */
6994
+ invisible?: boolean;
6995
+ /**
6996
+ *
6680
6997
  * @type {string}
6681
- * @memberof UserMute
6998
+ * @memberof UserEventPayload
6682
6999
  */
6683
- expires?: string;
7000
+ language: string;
6684
7001
  /**
6685
7002
  *
6686
- * @type {UserObject}
6687
- * @memberof UserMute
7003
+ * @type {string}
7004
+ * @memberof UserEventPayload
6688
7005
  */
6689
- target?: UserObject;
7006
+ last_active?: string;
6690
7007
  /**
6691
- * Date/time of the last update
7008
+ *
6692
7009
  * @type {string}
6693
- * @memberof UserMute
7010
+ * @memberof UserEventPayload
6694
7011
  */
6695
- updated_at: string;
7012
+ name?: string;
6696
7013
  /**
6697
7014
  *
6698
- * @type {UserObject}
6699
- * @memberof UserMute
7015
+ * @type {boolean}
7016
+ * @memberof UserEventPayload
6700
7017
  */
6701
- user?: UserObject;
6702
- }
6703
- /**
6704
- *
6705
- * @export
6706
- * @interface UserMuteResponse
6707
- */
6708
- export interface UserMuteResponse {
7018
+ online: boolean;
6709
7019
  /**
6710
7020
  *
6711
- * @type {string}
6712
- * @memberof UserMuteResponse
7021
+ * @type {PrivacySettingsResponse}
7022
+ * @memberof UserEventPayload
6713
7023
  */
6714
- created_at: string;
7024
+ privacy_settings?: PrivacySettingsResponse;
6715
7025
  /**
6716
7026
  *
6717
7027
  * @type {string}
6718
- * @memberof UserMuteResponse
7028
+ * @memberof UserEventPayload
6719
7029
  */
6720
- expires?: string;
7030
+ revoke_tokens_issued_before?: string;
6721
7031
  /**
6722
7032
  *
6723
- * @type {UserResponse}
6724
- * @memberof UserMuteResponse
7033
+ * @type {string}
7034
+ * @memberof UserEventPayload
6725
7035
  */
6726
- target?: UserResponse;
7036
+ role: string;
6727
7037
  /**
6728
7038
  *
6729
- * @type {string}
6730
- * @memberof UserMuteResponse
7039
+ * @type {Array<string>}
7040
+ * @memberof UserEventPayload
6731
7041
  */
6732
- updated_at: string;
7042
+ teams: Array<string>;
6733
7043
  /**
6734
7044
  *
6735
- * @type {UserResponse}
6736
- * @memberof UserMuteResponse
7045
+ * @type {string}
7046
+ * @memberof UserEventPayload
6737
7047
  */
6738
- user?: UserResponse;
7048
+ updated_at: string;
6739
7049
  }
6740
7050
  /**
6741
7051
  *
6742
7052
  * @export
6743
- * @interface UserMutedEvent
7053
+ * @interface UserFlaggedEvent
6744
7054
  */
6745
- export interface UserMutedEvent {
7055
+ export interface UserFlaggedEvent {
6746
7056
  /**
6747
7057
  *
6748
7058
  * @type {string}
6749
- * @memberof UserMutedEvent
7059
+ * @memberof UserFlaggedEvent
6750
7060
  */
6751
7061
  created_at: string;
6752
7062
  /**
6753
7063
  *
6754
7064
  * @type {string}
6755
- * @memberof UserMutedEvent
7065
+ * @memberof UserFlaggedEvent
6756
7066
  */
6757
7067
  target_user?: string;
6758
7068
  /**
6759
7069
  *
6760
7070
  * @type {Array<string>}
6761
- * @memberof UserMutedEvent
7071
+ * @memberof UserFlaggedEvent
6762
7072
  */
6763
7073
  target_users?: Array<string>;
6764
7074
  /**
6765
7075
  *
6766
7076
  * @type {string}
6767
- * @memberof UserMutedEvent
7077
+ * @memberof UserFlaggedEvent
6768
7078
  */
6769
7079
  type: string;
6770
7080
  /**
6771
7081
  *
6772
7082
  * @type {UserObject}
6773
- * @memberof UserMutedEvent
7083
+ * @memberof UserFlaggedEvent
6774
7084
  */
6775
7085
  user?: UserObject;
6776
7086
  }
6777
7087
  /**
6778
- * Represents chat user
7088
+ *
6779
7089
  * @export
6780
- * @interface UserObject
7090
+ * @interface UserFeedbackReportResponse
6781
7091
  */
6782
- export interface UserObject {
7092
+ export interface UserFeedbackReportResponse {
6783
7093
  /**
6784
- * Expiration date of the ban
6785
- * @type {string}
6786
- * @memberof UserObject
7094
+ *
7095
+ * @type {Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>}
7096
+ * @memberof UserFeedbackReportResponse
6787
7097
  */
6788
- ban_expires?: string;
7098
+ daily: Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>;
7099
+ }
7100
+ /**
7101
+ *
7102
+ * @export
7103
+ * @interface UserFeedbackReport
7104
+ */
7105
+ export interface UserFeedbackReport {
6789
7106
  /**
6790
- * Whether a user is banned or not
6791
- * @type {boolean}
6792
- * @memberof UserObject
7107
+ *
7108
+ * @type {{ [key: string]: number; }}
7109
+ * @memberof UserFeedbackReport
6793
7110
  */
6794
- banned: boolean;
7111
+ count_by_rating: {
7112
+ [key: string]: number;
7113
+ };
6795
7114
  /**
6796
- * Date/time of creation
6797
- * @type {string}
6798
- * @memberof UserObject
7115
+ *
7116
+ * @type {number}
7117
+ * @memberof UserFeedbackReport
6799
7118
  */
6800
- readonly created_at?: string;
7119
+ unreported_count: number;
7120
+ }
7121
+ /**
7122
+ *
7123
+ * @export
7124
+ * @interface UserInfoResponse
7125
+ */
7126
+ export interface UserInfoResponse {
6801
7127
  /**
6802
7128
  *
6803
7129
  * @type {{ [key: string]: any; }}
6804
- * @memberof UserObject
7130
+ * @memberof UserInfoResponse
6805
7131
  */
6806
7132
  custom: {
6807
7133
  [key: string]: any;
6808
7134
  };
6809
7135
  /**
6810
- * Date of deactivation
7136
+ *
6811
7137
  * @type {string}
6812
- * @memberof UserObject
7138
+ * @memberof UserInfoResponse
6813
7139
  */
6814
- readonly deactivated_at?: string;
7140
+ id: string;
6815
7141
  /**
6816
- * Date/time of deletion
7142
+ *
6817
7143
  * @type {string}
6818
- * @memberof UserObject
7144
+ * @memberof UserInfoResponse
6819
7145
  */
6820
- readonly deleted_at?: string;
7146
+ image: string;
6821
7147
  /**
6822
- * Unique user identifier
7148
+ *
6823
7149
  * @type {string}
6824
- * @memberof UserObject
7150
+ * @memberof UserInfoResponse
6825
7151
  */
6826
- id: string;
7152
+ name: string;
6827
7153
  /**
6828
7154
  *
6829
- * @type {boolean}
6830
- * @memberof UserObject
7155
+ * @type {Array<string>}
7156
+ * @memberof UserInfoResponse
6831
7157
  */
6832
- invisible?: boolean;
7158
+ roles: Array<string>;
7159
+ }
7160
+ /**
7161
+ *
7162
+ * @export
7163
+ * @interface UserMuteResponse
7164
+ */
7165
+ export interface UserMuteResponse {
6833
7166
  /**
6834
- * Preferred language of a user
7167
+ *
6835
7168
  * @type {string}
6836
- * @memberof UserObject
7169
+ * @memberof UserMuteResponse
6837
7170
  */
6838
- language?: string;
7171
+ created_at: string;
6839
7172
  /**
6840
- * Date of last activity
7173
+ *
6841
7174
  * @type {string}
6842
- * @memberof UserObject
7175
+ * @memberof UserMuteResponse
6843
7176
  */
6844
- readonly last_active?: string;
7177
+ expires?: string;
6845
7178
  /**
6846
- * Whether a user online or not
6847
- * @type {boolean}
6848
- * @memberof UserObject
7179
+ *
7180
+ * @type {UserResponse}
7181
+ * @memberof UserMuteResponse
6849
7182
  */
6850
- readonly online: boolean;
7183
+ target?: UserResponse;
6851
7184
  /**
6852
7185
  *
6853
- * @type {PrivacySettings}
6854
- * @memberof UserObject
7186
+ * @type {string}
7187
+ * @memberof UserMuteResponse
6855
7188
  */
6856
- privacy_settings?: PrivacySettings;
7189
+ updated_at: string;
6857
7190
  /**
6858
7191
  *
6859
- * @type {PushNotificationSettings}
6860
- * @memberof UserObject
7192
+ * @type {UserResponse}
7193
+ * @memberof UserMuteResponse
6861
7194
  */
6862
- push_notifications?: PushNotificationSettings;
7195
+ user?: UserResponse;
7196
+ }
7197
+ /**
7198
+ *
7199
+ * @export
7200
+ * @interface UserMutedEvent
7201
+ */
7202
+ export interface UserMutedEvent {
6863
7203
  /**
6864
- * Revocation date for tokens
7204
+ *
6865
7205
  * @type {string}
6866
- * @memberof UserObject
7206
+ * @memberof UserMutedEvent
6867
7207
  */
6868
- revoke_tokens_issued_before?: string;
7208
+ created_at: string;
6869
7209
  /**
6870
- * Determines the set of user permissions
7210
+ *
6871
7211
  * @type {string}
6872
- * @memberof UserObject
7212
+ * @memberof UserMutedEvent
6873
7213
  */
6874
- role: string;
7214
+ target_user?: string;
6875
7215
  /**
6876
- * List of teams user is a part of
7216
+ *
6877
7217
  * @type {Array<string>}
6878
- * @memberof UserObject
7218
+ * @memberof UserMutedEvent
6879
7219
  */
6880
- teams?: Array<string>;
7220
+ target_users?: Array<string>;
6881
7221
  /**
6882
- * Date/time of the last update
7222
+ *
6883
7223
  * @type {string}
6884
- * @memberof UserObject
7224
+ * @memberof UserMutedEvent
6885
7225
  */
6886
- readonly updated_at?: string;
7226
+ type: string;
7227
+ /**
7228
+ *
7229
+ * @type {UserObject}
7230
+ * @memberof UserMutedEvent
7231
+ */
7232
+ user?: UserObject;
6887
7233
  }
6888
7234
  /**
6889
7235
  *
@@ -6936,7 +7282,7 @@ export interface UserReactivatedEvent {
6936
7282
  user?: UserObject;
6937
7283
  }
6938
7284
  /**
6939
- *
7285
+ * User request object
6940
7286
  * @export
6941
7287
  * @interface UserRequest
6942
7288
  */
@@ -6981,10 +7327,10 @@ export interface UserRequest {
6981
7327
  name?: string;
6982
7328
  /**
6983
7329
  *
6984
- * @type {PrivacySettings}
7330
+ * @type {PrivacySettingsResponse}
6985
7331
  * @memberof UserRequest
6986
7332
  */
6987
- privacy_settings?: PrivacySettings;
7333
+ privacy_settings?: PrivacySettingsResponse;
6988
7334
  /**
6989
7335
  *
6990
7336
  * @type {PushNotificationSettingsInput}
@@ -6993,7 +7339,7 @@ export interface UserRequest {
6993
7339
  push_notifications?: PushNotificationSettingsInput;
6994
7340
  }
6995
7341
  /**
6996
- *
7342
+ * User response object
6997
7343
  * @export
6998
7344
  * @interface UserResponse
6999
7345
  */
@@ -7165,16 +7511,22 @@ export interface UserSessionStats {
7165
7511
  geolocation?: GeolocationResult;
7166
7512
  /**
7167
7513
  *
7168
- * @type {Stats}
7514
+ * @type {string}
7169
7515
  * @memberof UserSessionStats
7170
7516
  */
7171
- jitter?: Stats;
7517
+ group: string;
7172
7518
  /**
7173
7519
  *
7174
- * @type {Stats}
7520
+ * @type {TimeStats}
7175
7521
  * @memberof UserSessionStats
7176
7522
  */
7177
- latency?: Stats;
7523
+ jitter?: TimeStats;
7524
+ /**
7525
+ *
7526
+ * @type {TimeStats}
7527
+ * @memberof UserSessionStats
7528
+ */
7529
+ latency?: TimeStats;
7178
7530
  /**
7179
7531
  *
7180
7532
  * @type {number}
@@ -7223,6 +7575,12 @@ export interface UserSessionStats {
7223
7575
  * @memberof UserSessionStats
7224
7576
  */
7225
7577
  max_receiving_video_quality?: VideoQuality;
7578
+ /**
7579
+ *
7580
+ * @type {number}
7581
+ * @memberof UserSessionStats
7582
+ */
7583
+ min_event_ts: number;
7226
7584
  /**
7227
7585
  *
7228
7586
  * @type {string}
@@ -7255,22 +7613,16 @@ export interface UserSessionStats {
7255
7613
  published_tracks?: Array<PublishedTrackInfo>;
7256
7614
  /**
7257
7615
  *
7258
- * @type {MOSStats}
7259
- * @memberof UserSessionStats
7260
- */
7261
- publisher_audio_mos?: MOSStats;
7262
- /**
7263
- *
7264
- * @type {Stats}
7616
+ * @type {TimeStats}
7265
7617
  * @memberof UserSessionStats
7266
7618
  */
7267
- publisher_jitter?: Stats;
7619
+ publisher_jitter?: TimeStats;
7268
7620
  /**
7269
7621
  *
7270
- * @type {Stats}
7622
+ * @type {TimeStats}
7271
7623
  * @memberof UserSessionStats
7272
7624
  */
7273
- publisher_latency?: Stats;
7625
+ publisher_latency?: TimeStats;
7274
7626
  /**
7275
7627
  *
7276
7628
  * @type {number}
@@ -7359,22 +7711,16 @@ export interface UserSessionStats {
7359
7711
  session_id: string;
7360
7712
  /**
7361
7713
  *
7362
- * @type {MOSStats}
7363
- * @memberof UserSessionStats
7364
- */
7365
- subscriber_audio_mos?: MOSStats;
7366
- /**
7367
- *
7368
- * @type {Stats}
7714
+ * @type {TimeStats}
7369
7715
  * @memberof UserSessionStats
7370
7716
  */
7371
- subscriber_jitter?: Stats;
7717
+ subscriber_jitter?: TimeStats;
7372
7718
  /**
7373
7719
  *
7374
- * @type {Stats}
7720
+ * @type {TimeStats}
7375
7721
  * @memberof UserSessionStats
7376
7722
  */
7377
- subscriber_latency?: Stats;
7723
+ subscriber_latency?: TimeStats;
7378
7724
  /**
7379
7725
  *
7380
7726
  * @type {number}
@@ -7507,72 +7853,109 @@ export interface UserUnbannedEvent {
7507
7853
  /**
7508
7854
  *
7509
7855
  * @export
7510
- * @interface UserUpdatedEvent
7856
+ * @interface UserUnmutedEvent
7511
7857
  */
7512
- export interface UserUpdatedEvent {
7858
+ export interface UserUnmutedEvent {
7513
7859
  /**
7514
7860
  *
7515
7861
  * @type {string}
7516
- * @memberof UserUpdatedEvent
7862
+ * @memberof UserUnmutedEvent
7517
7863
  */
7518
7864
  created_at: string;
7519
7865
  /**
7520
7866
  *
7521
7867
  * @type {string}
7522
- * @memberof UserUpdatedEvent
7868
+ * @memberof UserUnmutedEvent
7523
7869
  */
7524
- received_at?: string;
7870
+ target_user?: string;
7871
+ /**
7872
+ *
7873
+ * @type {Array<string>}
7874
+ * @memberof UserUnmutedEvent
7875
+ */
7876
+ target_users?: Array<string>;
7525
7877
  /**
7526
7878
  *
7527
7879
  * @type {string}
7528
- * @memberof UserUpdatedEvent
7880
+ * @memberof UserUnmutedEvent
7529
7881
  */
7530
7882
  type: string;
7531
7883
  /**
7532
7884
  *
7533
7885
  * @type {UserObject}
7534
- * @memberof UserUpdatedEvent
7886
+ * @memberof UserUnmutedEvent
7535
7887
  */
7536
7888
  user?: UserObject;
7537
7889
  }
7538
7890
  /**
7539
7891
  *
7540
7892
  * @export
7541
- * @interface VideoQuality
7893
+ * @interface UserUpdatedEvent
7542
7894
  */
7543
- export interface VideoQuality {
7895
+ export interface UserUpdatedEvent {
7544
7896
  /**
7545
7897
  *
7546
- * @type {VideoResolution}
7547
- * @memberof VideoQuality
7898
+ * @type {string}
7899
+ * @memberof UserUpdatedEvent
7548
7900
  */
7549
- resolution?: VideoResolution;
7901
+ created_at: string;
7550
7902
  /**
7551
7903
  *
7552
7904
  * @type {string}
7553
- * @memberof VideoQuality
7905
+ * @memberof UserUpdatedEvent
7554
7906
  */
7555
- usage_type?: string;
7907
+ received_at?: string;
7908
+ /**
7909
+ *
7910
+ * @type {string}
7911
+ * @memberof UserUpdatedEvent
7912
+ */
7913
+ type: string;
7914
+ /**
7915
+ *
7916
+ * @type {UserEventPayload}
7917
+ * @memberof UserUpdatedEvent
7918
+ */
7919
+ user: UserEventPayload;
7556
7920
  }
7557
7921
  /**
7558
7922
  *
7559
7923
  * @export
7560
- * @interface VideoResolution
7924
+ * @interface VideoDimension
7561
7925
  */
7562
- export interface VideoResolution {
7926
+ export interface VideoDimension {
7563
7927
  /**
7564
7928
  *
7565
7929
  * @type {number}
7566
- * @memberof VideoResolution
7930
+ * @memberof VideoDimension
7567
7931
  */
7568
7932
  height: number;
7569
7933
  /**
7570
7934
  *
7571
7935
  * @type {number}
7572
- * @memberof VideoResolution
7936
+ * @memberof VideoDimension
7573
7937
  */
7574
7938
  width: number;
7575
7939
  }
7940
+ /**
7941
+ *
7942
+ * @export
7943
+ * @interface VideoQuality
7944
+ */
7945
+ export interface VideoQuality {
7946
+ /**
7947
+ *
7948
+ * @type {VideoDimension}
7949
+ * @memberof VideoQuality
7950
+ */
7951
+ resolution?: VideoDimension;
7952
+ /**
7953
+ *
7954
+ * @type {string}
7955
+ * @memberof VideoQuality
7956
+ */
7957
+ usage_type?: string;
7958
+ }
7576
7959
  /**
7577
7960
  *
7578
7961
  * @export
@@ -7666,7 +8049,7 @@ export declare const VideoSettingsResponseCameraFacingEnum: {
7666
8049
  };
7667
8050
  export type VideoSettingsResponseCameraFacingEnum = (typeof VideoSettingsResponseCameraFacingEnum)[keyof typeof VideoSettingsResponseCameraFacingEnum];
7668
8051
  /**
7669
- *
8052
+ * Websocket auth message
7670
8053
  * @export
7671
8054
  * @interface WSAuthMessage
7672
8055
  */
@@ -7702,6 +8085,12 @@ export type WSEvent = ({
7702
8085
  } & BlockedUserEvent) | ({
7703
8086
  type: 'call.closed_caption';
7704
8087
  } & ClosedCaptionEvent) | ({
8088
+ type: 'call.closed_captions_failed';
8089
+ } & CallClosedCaptionsFailedEvent) | ({
8090
+ type: 'call.closed_captions_started';
8091
+ } & CallClosedCaptionsStartedEvent) | ({
8092
+ type: 'call.closed_captions_stopped';
8093
+ } & CallClosedCaptionsStoppedEvent) | ({
7705
8094
  type: 'call.created';
7706
8095
  } & CallCreatedEvent) | ({
7707
8096
  type: 'call.deleted';