@stream-io/video-client 1.13.1 → 1.14.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.
@@ -51,15 +51,21 @@ export interface APIError {
51
51
  * @memberof APIError
52
52
  */
53
53
  more_info: string;
54
+ /**
55
+ * 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
56
+ * @type {boolean}
57
+ * @memberof APIError
58
+ */
59
+ unrecoverable?: boolean;
54
60
  }
55
61
  /**
56
- *
62
+ * AcceptCallResponse is the payload for accepting a call.
57
63
  * @export
58
64
  * @interface AcceptCallResponse
59
65
  */
60
66
  export interface AcceptCallResponse {
61
67
  /**
62
- *
68
+ * Duration of the request in milliseconds
63
69
  * @type {string}
64
70
  * @memberof AcceptCallResponse
65
71
  */
@@ -255,7 +261,7 @@ export type BlockListOptionsBehaviorEnum =
255
261
  (typeof BlockListOptionsBehaviorEnum)[keyof typeof BlockListOptionsBehaviorEnum];
256
262
 
257
263
  /**
258
- *
264
+ * BlockUserRequest is the payload for blocking a user.
259
265
  * @export
260
266
  * @interface BlockUserRequest
261
267
  */
@@ -268,7 +274,7 @@ export interface BlockUserRequest {
268
274
  user_id: string;
269
275
  }
270
276
  /**
271
- *
277
+ * BlockUserResponse is the payload for blocking a user.
272
278
  * @export
273
279
  * @interface BlockUserResponse
274
280
  */
@@ -338,7 +344,7 @@ export interface BroadcastSettingsRequest {
338
344
  hls?: HLSSettingsRequest;
339
345
  }
340
346
  /**
341
- *
347
+ * BroadcastSettingsResponse is the payload for broadcasting settings
342
348
  * @export
343
349
  * @interface BroadcastSettingsResponse
344
350
  */
@@ -423,6 +429,87 @@ export interface CallClosedCaption {
423
429
  * @memberof CallClosedCaption
424
430
  */
425
431
  text: string;
432
+ /**
433
+ *
434
+ * @type {UserResponse}
435
+ * @memberof CallClosedCaption
436
+ */
437
+ user: UserResponse;
438
+ }
439
+ /**
440
+ * This event is sent when call closed captions has failed
441
+ * @export
442
+ * @interface CallClosedCaptionsFailedEvent
443
+ */
444
+ export interface CallClosedCaptionsFailedEvent {
445
+ /**
446
+ *
447
+ * @type {string}
448
+ * @memberof CallClosedCaptionsFailedEvent
449
+ */
450
+ call_cid: string;
451
+ /**
452
+ *
453
+ * @type {string}
454
+ * @memberof CallClosedCaptionsFailedEvent
455
+ */
456
+ created_at: string;
457
+ /**
458
+ * The type of event: "call.closed_captions_failed" in this case
459
+ * @type {string}
460
+ * @memberof CallClosedCaptionsFailedEvent
461
+ */
462
+ type: string;
463
+ }
464
+ /**
465
+ * This event is sent when call closed caption has started
466
+ * @export
467
+ * @interface CallClosedCaptionsStartedEvent
468
+ */
469
+ export interface CallClosedCaptionsStartedEvent {
470
+ /**
471
+ *
472
+ * @type {string}
473
+ * @memberof CallClosedCaptionsStartedEvent
474
+ */
475
+ call_cid: string;
476
+ /**
477
+ *
478
+ * @type {string}
479
+ * @memberof CallClosedCaptionsStartedEvent
480
+ */
481
+ created_at: string;
482
+ /**
483
+ * The type of event: "call.closed_captions_started" in this case
484
+ * @type {string}
485
+ * @memberof CallClosedCaptionsStartedEvent
486
+ */
487
+ type: string;
488
+ }
489
+ /**
490
+ * This event is sent when call closed captions has stopped
491
+ * @export
492
+ * @interface CallClosedCaptionsStoppedEvent
493
+ */
494
+ export interface CallClosedCaptionsStoppedEvent {
495
+ /**
496
+ *
497
+ * @type {string}
498
+ * @memberof CallClosedCaptionsStoppedEvent
499
+ */
500
+ call_cid: string;
501
+ /**
502
+ *
503
+ * @type {string}
504
+ * @memberof CallClosedCaptionsStoppedEvent
505
+ */
506
+ created_at: string;
507
+ /**
508
+ * The type of event: "call.transcription_stopped" in this case
509
+ * @type {string}
510
+ * @memberof CallClosedCaptionsStoppedEvent
511
+ */
512
+ type: string;
426
513
  }
427
514
  /**
428
515
  * This event is sent when a call is created. Clients receiving this event should check if the ringing
@@ -562,6 +649,18 @@ export interface CallEndedEvent {
562
649
  * @interface CallEvent
563
650
  */
564
651
  export interface CallEvent {
652
+ /**
653
+ *
654
+ * @type {string}
655
+ * @memberof CallEvent
656
+ */
657
+ category?: string;
658
+ /**
659
+ *
660
+ * @type {string}
661
+ * @memberof CallEvent
662
+ */
663
+ component?: string;
565
664
  /**
566
665
  *
567
666
  * @type {string}
@@ -574,6 +673,24 @@ export interface CallEvent {
574
673
  * @memberof CallEvent
575
674
  */
576
675
  end_timestamp: number;
676
+ /**
677
+ *
678
+ * @type {boolean}
679
+ * @memberof CallEvent
680
+ */
681
+ internal: boolean;
682
+ /**
683
+ *
684
+ * @type {Array<string>}
685
+ * @memberof CallEvent
686
+ */
687
+ issue_tags?: Array<string>;
688
+ /**
689
+ *
690
+ * @type {string}
691
+ * @memberof CallEvent
692
+ */
693
+ kind: string;
577
694
  /**
578
695
  *
579
696
  * @type {number}
@@ -675,7 +792,7 @@ export interface CallHLSBroadcastingStoppedEvent {
675
792
  type: string;
676
793
  }
677
794
  /**
678
- *
795
+ * CallIngressResponse is the payload for ingress settings
679
796
  * @export
680
797
  * @interface CallIngressResponse
681
798
  */
@@ -1245,7 +1362,7 @@ export interface CallRejectedEvent {
1245
1362
  user: UserResponse;
1246
1363
  }
1247
1364
  /**
1248
- *
1365
+ * CallRequest is the payload for creating a call.
1249
1366
  * @export
1250
1367
  * @interface CallRequest
1251
1368
  */
@@ -1305,6 +1422,12 @@ export interface CallResponse {
1305
1422
  * @memberof CallResponse
1306
1423
  */
1307
1424
  blocked_user_ids: Array<string>;
1425
+ /**
1426
+ *
1427
+ * @type {boolean}
1428
+ * @memberof CallResponse
1429
+ */
1430
+ captioning: boolean;
1308
1431
  /**
1309
1432
  * The unique identifier for a call (<type>:<id>)
1310
1433
  * @type {string}
@@ -1512,7 +1635,6 @@ export interface CallSessionEndedEvent {
1512
1635
  */
1513
1636
  type: string;
1514
1637
  }
1515
-
1516
1638
  /**
1517
1639
  * This event is sent when the participant counts in a call session are updated
1518
1640
  * @export
@@ -2333,10 +2455,10 @@ export interface ChannelConfigWithInfo {
2333
2455
  partition_size?: number;
2334
2456
  /**
2335
2457
  *
2336
- * @type {number}
2458
+ * @type {string}
2337
2459
  * @memberof ChannelConfigWithInfo
2338
2460
  */
2339
- partition_ttl?: number;
2461
+ partition_ttl?: string | null;
2340
2462
  /**
2341
2463
  *
2342
2464
  * @type {boolean}
@@ -2385,6 +2507,12 @@ export interface ChannelConfigWithInfo {
2385
2507
  * @memberof ChannelConfigWithInfo
2386
2508
  */
2387
2509
  search: boolean;
2510
+ /**
2511
+ *
2512
+ * @type {boolean}
2513
+ * @memberof ChannelConfigWithInfo
2514
+ */
2515
+ skip_last_msg_update_for_system_msgs: boolean;
2388
2516
  /**
2389
2517
  *
2390
2518
  * @type {boolean}
@@ -2451,29 +2579,41 @@ export type ChannelConfigWithInfoBlocklistBehaviorEnum =
2451
2579
  */
2452
2580
  export interface ChannelMember {
2453
2581
  /**
2454
- * Expiration date of the ban
2582
+ *
2583
+ * @type {string}
2584
+ * @memberof ChannelMember
2585
+ */
2586
+ archived_at?: string;
2587
+ /**
2588
+ *
2455
2589
  * @type {string}
2456
2590
  * @memberof ChannelMember
2457
2591
  */
2458
2592
  ban_expires?: string;
2459
2593
  /**
2460
- * Whether member is banned this channel or not
2594
+ *
2461
2595
  * @type {boolean}
2462
2596
  * @memberof ChannelMember
2463
2597
  */
2464
2598
  banned: boolean;
2465
2599
  /**
2466
- * Role of the member in the channel
2600
+ *
2467
2601
  * @type {string}
2468
2602
  * @memberof ChannelMember
2469
2603
  */
2470
2604
  channel_role: string;
2471
2605
  /**
2472
- * Date/time of creation
2606
+ *
2473
2607
  * @type {string}
2474
2608
  * @memberof ChannelMember
2475
2609
  */
2476
2610
  created_at: string;
2611
+ /**
2612
+ *
2613
+ * @type {{ [key: string]: any; }}
2614
+ * @memberof ChannelMember
2615
+ */
2616
+ custom: { [key: string]: any };
2477
2617
  /**
2478
2618
  *
2479
2619
  * @type {string}
@@ -2481,25 +2621,25 @@ export interface ChannelMember {
2481
2621
  */
2482
2622
  deleted_at?: string;
2483
2623
  /**
2484
- * Date when invite was accepted
2624
+ *
2485
2625
  * @type {string}
2486
2626
  * @memberof ChannelMember
2487
2627
  */
2488
2628
  invite_accepted_at?: string;
2489
2629
  /**
2490
- * Date when invite was rejected
2630
+ *
2491
2631
  * @type {string}
2492
2632
  * @memberof ChannelMember
2493
2633
  */
2494
2634
  invite_rejected_at?: string;
2495
2635
  /**
2496
- * Whether member was invited or not
2636
+ *
2497
2637
  * @type {boolean}
2498
2638
  * @memberof ChannelMember
2499
2639
  */
2500
2640
  invited?: boolean;
2501
2641
  /**
2502
- * Whether member is channel moderator or not
2642
+ *
2503
2643
  * @type {boolean}
2504
2644
  * @memberof ChannelMember
2505
2645
  */
@@ -2511,7 +2651,13 @@ export interface ChannelMember {
2511
2651
  */
2512
2652
  notifications_muted: boolean;
2513
2653
  /**
2514
- * Whether member is shadow banned in this channel or not
2654
+ *
2655
+ * @type {string}
2656
+ * @memberof ChannelMember
2657
+ */
2658
+ pinned_at?: string;
2659
+ /**
2660
+ *
2515
2661
  * @type {boolean}
2516
2662
  * @memberof ChannelMember
2517
2663
  */
@@ -2523,7 +2669,7 @@ export interface ChannelMember {
2523
2669
  */
2524
2670
  status?: string;
2525
2671
  /**
2526
- * Date/time of the last update
2672
+ *
2527
2673
  * @type {string}
2528
2674
  * @memberof ChannelMember
2529
2675
  */
@@ -2573,11 +2719,57 @@ export interface ChannelMute {
2573
2719
  updated_at: string;
2574
2720
  /**
2575
2721
  *
2576
- * @type {UserObject}
2722
+ * @type {UserResponse}
2577
2723
  * @memberof ChannelMute
2578
2724
  */
2579
- user?: UserObject;
2725
+ user?: UserResponse;
2580
2726
  }
2727
+
2728
+ /**
2729
+ * All possibility of string to use
2730
+ * @export
2731
+ */
2732
+ export const ChannelOwnCapability = {
2733
+ BAN_CHANNEL_MEMBERS: 'ban-channel-members',
2734
+ CAST_POLL_VOTE: 'cast-poll-vote',
2735
+ CONNECT_EVENTS: 'connect-events',
2736
+ CREATE_ATTACHMENT: 'create-attachment',
2737
+ CREATE_CALL: 'create-call',
2738
+ DELETE_ANY_MESSAGE: 'delete-any-message',
2739
+ DELETE_CHANNEL: 'delete-channel',
2740
+ DELETE_OWN_MESSAGE: 'delete-own-message',
2741
+ FLAG_MESSAGE: 'flag-message',
2742
+ FREEZE_CHANNEL: 'freeze-channel',
2743
+ JOIN_CALL: 'join-call',
2744
+ JOIN_CHANNEL: 'join-channel',
2745
+ LEAVE_CHANNEL: 'leave-channel',
2746
+ MUTE_CHANNEL: 'mute-channel',
2747
+ PIN_MESSAGE: 'pin-message',
2748
+ QUERY_POLL_VOTES: 'query-poll-votes',
2749
+ QUOTE_MESSAGE: 'quote-message',
2750
+ READ_EVENTS: 'read-events',
2751
+ SEARCH_MESSAGES: 'search-messages',
2752
+ SEND_CUSTOM_EVENTS: 'send-custom-events',
2753
+ SEND_LINKS: 'send-links',
2754
+ SEND_MESSAGE: 'send-message',
2755
+ SEND_POLL: 'send-poll',
2756
+ SEND_REACTION: 'send-reaction',
2757
+ SEND_REPLY: 'send-reply',
2758
+ SEND_TYPING_EVENTS: 'send-typing-events',
2759
+ SET_CHANNEL_COOLDOWN: 'set-channel-cooldown',
2760
+ SKIP_SLOW_MODE: 'skip-slow-mode',
2761
+ SLOW_MODE: 'slow-mode',
2762
+ TYPING_EVENTS: 'typing-events',
2763
+ UPDATE_ANY_MESSAGE: 'update-any-message',
2764
+ UPDATE_CHANNEL: 'update-channel',
2765
+ UPDATE_CHANNEL_MEMBERS: 'update-channel-members',
2766
+ UPDATE_OWN_MESSAGE: 'update-own-message',
2767
+ UPDATE_THREAD: 'update-thread',
2768
+ UPLOAD_FILE: 'upload-file',
2769
+ } as const;
2770
+ export type ChannelOwnCapability =
2771
+ (typeof ChannelOwnCapability)[keyof typeof ChannelOwnCapability];
2772
+
2581
2773
  /**
2582
2774
  * Represents channel in chat
2583
2775
  * @export
@@ -2596,6 +2788,12 @@ export interface ChannelResponse {
2596
2788
  * @memberof ChannelResponse
2597
2789
  */
2598
2790
  auto_translation_language?: string;
2791
+ /**
2792
+ * Whether this channel is blocked by current user or not
2793
+ * @type {boolean}
2794
+ * @memberof ChannelResponse
2795
+ */
2796
+ blocked?: boolean;
2599
2797
  /**
2600
2798
  * Channel CID (<type>:<id>)
2601
2799
  * @type {string}
@@ -2622,12 +2820,12 @@ export interface ChannelResponse {
2622
2820
  created_at: string;
2623
2821
  /**
2624
2822
  *
2625
- * @type {UserObject}
2823
+ * @type {UserResponse}
2626
2824
  * @memberof ChannelResponse
2627
2825
  */
2628
- created_by?: UserObject;
2826
+ created_by?: UserResponse;
2629
2827
  /**
2630
- *
2828
+ * Custom data for this object
2631
2829
  * @type {{ [key: string]: any; }}
2632
2830
  * @memberof ChannelResponse
2633
2831
  */
@@ -2700,10 +2898,10 @@ export interface ChannelResponse {
2700
2898
  muted?: boolean;
2701
2899
  /**
2702
2900
  * List of channel capabilities of authenticated user
2703
- * @type {Array<string>}
2901
+ * @type {Array<ChannelOwnCapability>}
2704
2902
  * @memberof ChannelResponse
2705
2903
  */
2706
- own_capabilities?: Array<string>;
2904
+ own_capabilities?: Array<ChannelOwnCapability>;
2707
2905
  /**
2708
2906
  * Team the channel belongs to (multi-tenant only)
2709
2907
  * @type {string}
@@ -2718,10 +2916,10 @@ export interface ChannelResponse {
2718
2916
  truncated_at?: string;
2719
2917
  /**
2720
2918
  *
2721
- * @type {UserObject}
2919
+ * @type {UserResponse}
2722
2920
  * @memberof ChannelResponse
2723
2921
  */
2724
- truncated_by?: UserObject;
2922
+ truncated_by?: UserResponse;
2725
2923
  /**
2726
2924
  * Type of the channel
2727
2925
  * @type {string}
@@ -2810,7 +3008,7 @@ export interface CollectUserFeedbackRequest {
2810
3008
  user_session_id: string;
2811
3009
  }
2812
3010
  /**
2813
- *
3011
+ * Basic response information
2814
3012
  * @export
2815
3013
  * @interface CollectUserFeedbackResponse
2816
3014
  */
@@ -2909,10 +3107,10 @@ export interface ConnectUserDetailsRequest {
2909
3107
  name?: string;
2910
3108
  /**
2911
3109
  *
2912
- * @type {PrivacySettings}
3110
+ * @type {PrivacySettingsResponse}
2913
3111
  * @memberof ConnectUserDetailsRequest
2914
3112
  */
2915
- privacy_settings?: PrivacySettings;
3113
+ privacy_settings?: PrivacySettingsResponse;
2916
3114
  /**
2917
3115
  *
2918
3116
  * @type {PushNotificationSettingsInput}
@@ -3002,7 +3200,7 @@ export interface Coordinates {
3002
3200
  longitude: number;
3003
3201
  }
3004
3202
  /**
3005
- *
3203
+ * Create device request
3006
3204
  * @export
3007
3205
  * @interface CreateDeviceRequest
3008
3206
  */
@@ -3146,83 +3344,121 @@ export interface CustomVideoEvent {
3146
3344
  user: UserResponse;
3147
3345
  }
3148
3346
  /**
3149
- *
3347
+ * DeleteCallRequest is the payload for deleting a call.
3348
+ * @export
3349
+ * @interface DeleteCallRequest
3350
+ */
3351
+ export interface DeleteCallRequest {
3352
+ /**
3353
+ * if true the call will be hard deleted along with all related data
3354
+ * @type {boolean}
3355
+ * @memberof DeleteCallRequest
3356
+ */
3357
+ hard?: boolean;
3358
+ }
3359
+ /**
3360
+ * DeleteCallResponse is the payload for deleting a call.
3361
+ * @export
3362
+ * @interface DeleteCallResponse
3363
+ */
3364
+ export interface DeleteCallResponse {
3365
+ /**
3366
+ *
3367
+ * @type {CallResponse}
3368
+ * @memberof DeleteCallResponse
3369
+ */
3370
+ call: CallResponse;
3371
+ /**
3372
+ *
3373
+ * @type {string}
3374
+ * @memberof DeleteCallResponse
3375
+ */
3376
+ duration: string;
3377
+ /**
3378
+ *
3379
+ * @type {string}
3380
+ * @memberof DeleteCallResponse
3381
+ */
3382
+ task_id?: string;
3383
+ }
3384
+ /**
3385
+ * Response for DeleteRecording
3150
3386
  * @export
3151
3387
  * @interface DeleteRecordingResponse
3152
3388
  */
3153
3389
  export interface DeleteRecordingResponse {
3154
3390
  /**
3155
- *
3391
+ * Duration of the request in milliseconds
3156
3392
  * @type {string}
3157
3393
  * @memberof DeleteRecordingResponse
3158
3394
  */
3159
3395
  duration: string;
3160
3396
  }
3161
3397
  /**
3162
- *
3398
+ * DeleteTranscriptionResponse is the payload for deleting a transcription.
3163
3399
  * @export
3164
3400
  * @interface DeleteTranscriptionResponse
3165
3401
  */
3166
3402
  export interface DeleteTranscriptionResponse {
3167
3403
  /**
3168
- *
3404
+ * Duration of the request in milliseconds
3169
3405
  * @type {string}
3170
3406
  * @memberof DeleteTranscriptionResponse
3171
3407
  */
3172
3408
  duration: string;
3173
3409
  }
3174
3410
  /**
3175
- *
3411
+ * Response for Device
3176
3412
  * @export
3177
- * @interface Device
3413
+ * @interface DeviceResponse
3178
3414
  */
3179
- export interface Device {
3415
+ export interface DeviceResponse {
3180
3416
  /**
3181
3417
  * Date/time of creation
3182
3418
  * @type {string}
3183
- * @memberof Device
3419
+ * @memberof DeviceResponse
3184
3420
  */
3185
3421
  created_at: string;
3186
3422
  /**
3187
3423
  * Whether device is disabled or not
3188
3424
  * @type {boolean}
3189
- * @memberof Device
3425
+ * @memberof DeviceResponse
3190
3426
  */
3191
3427
  disabled?: boolean;
3192
3428
  /**
3193
3429
  * Reason explaining why device had been disabled
3194
3430
  * @type {string}
3195
- * @memberof Device
3431
+ * @memberof DeviceResponse
3196
3432
  */
3197
3433
  disabled_reason?: string;
3198
3434
  /**
3199
3435
  * Device ID
3200
3436
  * @type {string}
3201
- * @memberof Device
3437
+ * @memberof DeviceResponse
3202
3438
  */
3203
3439
  id: string;
3204
3440
  /**
3205
3441
  * Push provider
3206
3442
  * @type {string}
3207
- * @memberof Device
3443
+ * @memberof DeviceResponse
3208
3444
  */
3209
3445
  push_provider: string;
3210
3446
  /**
3211
3447
  * Push provider name
3212
3448
  * @type {string}
3213
- * @memberof Device
3449
+ * @memberof DeviceResponse
3214
3450
  */
3215
3451
  push_provider_name?: string;
3216
3452
  /**
3217
3453
  * User ID
3218
3454
  * @type {string}
3219
- * @memberof Device
3455
+ * @memberof DeviceResponse
3220
3456
  */
3221
3457
  user_id: string;
3222
3458
  /**
3223
3459
  * When true the token is for Apple VoIP push notifications
3224
3460
  * @type {boolean}
3225
- * @memberof Device
3461
+ * @memberof DeviceResponse
3226
3462
  */
3227
3463
  voip?: boolean;
3228
3464
  }
@@ -3323,13 +3559,19 @@ export interface EgressRTMPResponse {
3323
3559
  * @type {string}
3324
3560
  * @memberof EgressRTMPResponse
3325
3561
  */
3326
- stream_key: string;
3562
+ started_at: string;
3327
3563
  /**
3328
3564
  *
3329
3565
  * @type {string}
3330
3566
  * @memberof EgressRTMPResponse
3331
3567
  */
3332
- url: string;
3568
+ stream_key?: string;
3569
+ /**
3570
+ *
3571
+ * @type {string}
3572
+ * @memberof EgressRTMPResponse
3573
+ */
3574
+ stream_url?: string;
3333
3575
  }
3334
3576
  /**
3335
3577
  *
@@ -3357,13 +3599,13 @@ export interface EgressResponse {
3357
3599
  rtmps: Array<EgressRTMPResponse>;
3358
3600
  }
3359
3601
  /**
3360
- *
3602
+ * Response for ending a call
3361
3603
  * @export
3362
3604
  * @interface EndCallResponse
3363
3605
  */
3364
3606
  export interface EndCallResponse {
3365
3607
  /**
3366
- *
3608
+ * Duration of the request in milliseconds
3367
3609
  * @type {string}
3368
3610
  * @memberof EndCallResponse
3369
3611
  */
@@ -3500,7 +3742,7 @@ export interface GetCallResponse {
3500
3742
  own_capabilities: Array<OwnCapability>;
3501
3743
  }
3502
3744
  /**
3503
- *
3745
+ * Basic response information
3504
3746
  * @export
3505
3747
  * @interface GetCallStatsResponse
3506
3748
  */
@@ -3537,16 +3779,16 @@ export interface GetCallStatsResponse {
3537
3779
  duration: string;
3538
3780
  /**
3539
3781
  *
3540
- * @type {Stats}
3782
+ * @type {TimeStats}
3541
3783
  * @memberof GetCallStatsResponse
3542
3784
  */
3543
- jitter?: Stats;
3785
+ jitter?: TimeStats;
3544
3786
  /**
3545
3787
  *
3546
- * @type {Stats}
3788
+ * @type {TimeStats}
3547
3789
  * @memberof GetCallStatsResponse
3548
3790
  */
3549
- latency?: Stats;
3791
+ latency?: TimeStats;
3550
3792
  /**
3551
3793
  *
3552
3794
  * @type {number}
@@ -3597,7 +3839,7 @@ export interface GetCallStatsResponse {
3597
3839
  sfus: Array<SFULocationResponse>;
3598
3840
  }
3599
3841
  /**
3600
- *
3842
+ * Basic response information
3601
3843
  * @export
3602
3844
  * @interface GetEdgesResponse
3603
3845
  */
@@ -3707,6 +3949,12 @@ export interface GoLiveRequest {
3707
3949
  * @memberof GoLiveRequest
3708
3950
  */
3709
3951
  recording_storage_name?: string;
3952
+ /**
3953
+ *
3954
+ * @type {boolean}
3955
+ * @memberof GoLiveRequest
3956
+ */
3957
+ start_closed_caption?: boolean;
3710
3958
  /**
3711
3959
  *
3712
3960
  * @type {boolean}
@@ -3719,6 +3967,12 @@ export interface GoLiveRequest {
3719
3967
  * @memberof GoLiveRequest
3720
3968
  */
3721
3969
  start_recording?: boolean;
3970
+ /**
3971
+ *
3972
+ * @type {boolean}
3973
+ * @memberof GoLiveRequest
3974
+ */
3975
+ start_rtmp_broadcasts?: boolean;
3722
3976
  /**
3723
3977
  *
3724
3978
  * @type {boolean}
@@ -3733,7 +3987,7 @@ export interface GoLiveRequest {
3733
3987
  transcription_storage_name?: string;
3734
3988
  }
3735
3989
  /**
3736
- *
3990
+ * Basic response information
3737
3991
  * @export
3738
3992
  * @interface GoLiveResponse
3739
3993
  */
@@ -3777,7 +4031,7 @@ export interface HLSSettingsRequest {
3777
4031
  quality_tracks: Array<string>;
3778
4032
  }
3779
4033
  /**
3780
- *
4034
+ * HLSSettings is the payload for HLS settings
3781
4035
  * @export
3782
4036
  * @interface HLSSettingsResponse
3783
4037
  */
@@ -3812,7 +4066,7 @@ export interface HealthCheckEvent {
3812
4066
  * @type {string}
3813
4067
  * @memberof HealthCheckEvent
3814
4068
  */
3815
- cid: string;
4069
+ cid?: string;
3816
4070
  /**
3817
4071
  *
3818
4072
  * @type {string}
@@ -3827,10 +4081,16 @@ export interface HealthCheckEvent {
3827
4081
  created_at: string;
3828
4082
  /**
3829
4083
  *
3830
- * @type {OwnUser}
4084
+ * @type {OwnUserResponse}
4085
+ * @memberof HealthCheckEvent
4086
+ */
4087
+ me?: OwnUserResponse;
4088
+ /**
4089
+ *
4090
+ * @type {string}
3831
4091
  * @memberof HealthCheckEvent
3832
4092
  */
3833
- me?: OwnUser;
4093
+ received_at?: string;
3834
4094
  /**
3835
4095
  *
3836
4096
  * @type {string}
@@ -3980,13 +4240,13 @@ export interface JoinCallResponse {
3980
4240
  */
3981
4241
  export interface LabelThresholds {
3982
4242
  /**
3983
- * Threshold for automatic message block
4243
+ *
3984
4244
  * @type {number}
3985
4245
  * @memberof LabelThresholds
3986
4246
  */
3987
4247
  block?: number;
3988
4248
  /**
3989
- * Threshold for automatic message flag
4249
+ *
3990
4250
  * @type {number}
3991
4251
  * @memberof LabelThresholds
3992
4252
  */
@@ -4031,17 +4291,17 @@ export interface LimitsSettingsResponse {
4031
4291
  max_participants?: number;
4032
4292
  }
4033
4293
  /**
4034
- *
4294
+ * List devices response
4035
4295
  * @export
4036
4296
  * @interface ListDevicesResponse
4037
4297
  */
4038
4298
  export interface ListDevicesResponse {
4039
4299
  /**
4040
4300
  * List of devices
4041
- * @type {Array<Device>}
4301
+ * @type {Array<DeviceResponse>}
4042
4302
  * @memberof ListDevicesResponse
4043
4303
  */
4044
- devices: Array<Device>;
4304
+ devices: Array<DeviceResponse>;
4045
4305
  /**
4046
4306
  *
4047
4307
  * @type {string}
@@ -4050,7 +4310,7 @@ export interface ListDevicesResponse {
4050
4310
  duration: string;
4051
4311
  }
4052
4312
  /**
4053
- *
4313
+ * Response for listing recordings
4054
4314
  * @export
4055
4315
  * @interface ListRecordingsResponse
4056
4316
  */
@@ -4081,7 +4341,7 @@ export interface ListTranscriptionsResponse {
4081
4341
  */
4082
4342
  duration: string;
4083
4343
  /**
4084
- *
4344
+ * List of transcriptions for the call
4085
4345
  * @type {Array<CallTranscription>}
4086
4346
  * @memberof ListTranscriptionsResponse
4087
4347
  */
@@ -4115,58 +4375,27 @@ export interface Location {
4115
4375
  /**
4116
4376
  *
4117
4377
  * @export
4118
- * @interface MOSStats
4378
+ * @interface MediaPubSubHint
4119
4379
  */
4120
- export interface MOSStats {
4380
+ export interface MediaPubSubHint {
4121
4381
  /**
4122
4382
  *
4123
- * @type {number}
4124
- * @memberof MOSStats
4383
+ * @type {boolean}
4384
+ * @memberof MediaPubSubHint
4125
4385
  */
4126
- average_score: number;
4386
+ audio_published: boolean;
4127
4387
  /**
4128
4388
  *
4129
- * @type {Array<number>}
4130
- * @memberof MOSStats
4389
+ * @type {boolean}
4390
+ * @memberof MediaPubSubHint
4131
4391
  */
4132
- histogram_duration_seconds: Array<number>;
4392
+ audio_subscribed: boolean;
4133
4393
  /**
4134
4394
  *
4135
- * @type {number}
4136
- * @memberof MOSStats
4395
+ * @type {boolean}
4396
+ * @memberof MediaPubSubHint
4137
4397
  */
4138
- max_score: number;
4139
- /**
4140
- *
4141
- * @type {number}
4142
- * @memberof MOSStats
4143
- */
4144
- min_score: number;
4145
- }
4146
- /**
4147
- *
4148
- * @export
4149
- * @interface MediaPubSubHint
4150
- */
4151
- export interface MediaPubSubHint {
4152
- /**
4153
- *
4154
- * @type {boolean}
4155
- * @memberof MediaPubSubHint
4156
- */
4157
- audio_published: boolean;
4158
- /**
4159
- *
4160
- * @type {boolean}
4161
- * @memberof MediaPubSubHint
4162
- */
4163
- audio_subscribed: boolean;
4164
- /**
4165
- *
4166
- * @type {boolean}
4167
- * @memberof MediaPubSubHint
4168
- */
4169
- video_published: boolean;
4398
+ video_published: boolean;
4170
4399
  /**
4171
4400
  *
4172
4401
  * @type {boolean}
@@ -4175,7 +4404,7 @@ export interface MediaPubSubHint {
4175
4404
  video_subscribed: boolean;
4176
4405
  }
4177
4406
  /**
4178
- *
4407
+ * MemberRequest is the payload for adding a member to a call.
4179
4408
  * @export
4180
4409
  * @interface MemberRequest
4181
4410
  */
@@ -4200,7 +4429,7 @@ export interface MemberRequest {
4200
4429
  user_id: string;
4201
4430
  }
4202
4431
  /**
4203
- *
4432
+ * MemberResponse is the payload for a member of a call.
4204
4433
  * @export
4205
4434
  * @interface MemberResponse
4206
4435
  */
@@ -4292,7 +4521,7 @@ export interface MuteUsersRequest {
4292
4521
  video?: boolean;
4293
4522
  }
4294
4523
  /**
4295
- *
4524
+ * MuteUsersResponse is the response payload for the mute users endpoint.
4296
4525
  * @export
4297
4526
  * @interface MuteUsersResponse
4298
4527
  */
@@ -4421,9 +4650,11 @@ export const OwnCapability = {
4421
4650
  SEND_AUDIO: 'send-audio',
4422
4651
  SEND_VIDEO: 'send-video',
4423
4652
  START_BROADCAST_CALL: 'start-broadcast-call',
4653
+ START_CLOSED_CAPTIONS_CALL: 'start-closed-captions-call',
4424
4654
  START_RECORD_CALL: 'start-record-call',
4425
4655
  START_TRANSCRIPTION_CALL: 'start-transcription-call',
4426
4656
  STOP_BROADCAST_CALL: 'stop-broadcast-call',
4657
+ STOP_CLOSED_CAPTIONS_CALL: 'stop-closed-captions-call',
4427
4658
  STOP_RECORD_CALL: 'stop-record-call',
4428
4659
  STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
4429
4660
  UPDATE_CALL: 'update-call',
@@ -4433,157 +4664,6 @@ export const OwnCapability = {
4433
4664
  } as const;
4434
4665
  export type OwnCapability = (typeof OwnCapability)[keyof typeof OwnCapability];
4435
4666
 
4436
- /**
4437
- *
4438
- * @export
4439
- * @interface OwnUser
4440
- */
4441
- export interface OwnUser {
4442
- /**
4443
- *
4444
- * @type {boolean}
4445
- * @memberof OwnUser
4446
- */
4447
- banned: boolean;
4448
- /**
4449
- *
4450
- * @type {Array<string>}
4451
- * @memberof OwnUser
4452
- */
4453
- blocked_user_ids?: Array<string>;
4454
- /**
4455
- *
4456
- * @type {Array<ChannelMute>}
4457
- * @memberof OwnUser
4458
- */
4459
- channel_mutes: Array<ChannelMute>;
4460
- /**
4461
- *
4462
- * @type {string}
4463
- * @memberof OwnUser
4464
- */
4465
- created_at: string;
4466
- /**
4467
- *
4468
- * @type {{ [key: string]: any; }}
4469
- * @memberof OwnUser
4470
- */
4471
- custom: { [key: string]: any };
4472
- /**
4473
- *
4474
- * @type {string}
4475
- * @memberof OwnUser
4476
- */
4477
- deactivated_at?: string;
4478
- /**
4479
- *
4480
- * @type {string}
4481
- * @memberof OwnUser
4482
- */
4483
- deleted_at?: string;
4484
- /**
4485
- *
4486
- * @type {Array<Device>}
4487
- * @memberof OwnUser
4488
- */
4489
- devices: Array<Device>;
4490
- /**
4491
- *
4492
- * @type {string}
4493
- * @memberof OwnUser
4494
- */
4495
- id: string;
4496
- /**
4497
- *
4498
- * @type {boolean}
4499
- * @memberof OwnUser
4500
- */
4501
- invisible?: boolean;
4502
- /**
4503
- *
4504
- * @type {string}
4505
- * @memberof OwnUser
4506
- */
4507
- language: string;
4508
- /**
4509
- *
4510
- * @type {string}
4511
- * @memberof OwnUser
4512
- */
4513
- last_active?: string;
4514
- /**
4515
- *
4516
- * @type {Array<string>}
4517
- * @memberof OwnUser
4518
- */
4519
- latest_hidden_channels?: Array<string>;
4520
- /**
4521
- *
4522
- * @type {Array<UserMute>}
4523
- * @memberof OwnUser
4524
- */
4525
- mutes: Array<UserMute>;
4526
- /**
4527
- *
4528
- * @type {boolean}
4529
- * @memberof OwnUser
4530
- */
4531
- online: boolean;
4532
- /**
4533
- *
4534
- * @type {PrivacySettings}
4535
- * @memberof OwnUser
4536
- */
4537
- privacy_settings?: PrivacySettings;
4538
- /**
4539
- *
4540
- * @type {PushNotificationSettings}
4541
- * @memberof OwnUser
4542
- */
4543
- push_notifications?: PushNotificationSettings;
4544
- /**
4545
- *
4546
- * @type {string}
4547
- * @memberof OwnUser
4548
- */
4549
- role: string;
4550
- /**
4551
- *
4552
- * @type {Array<string>}
4553
- * @memberof OwnUser
4554
- */
4555
- teams?: Array<string>;
4556
- /**
4557
- *
4558
- * @type {number}
4559
- * @memberof OwnUser
4560
- */
4561
- total_unread_count: number;
4562
- /**
4563
- *
4564
- * @type {number}
4565
- * @memberof OwnUser
4566
- */
4567
- unread_channels: number;
4568
- /**
4569
- *
4570
- * @type {number}
4571
- * @memberof OwnUser
4572
- */
4573
- unread_count: number;
4574
- /**
4575
- *
4576
- * @type {number}
4577
- * @memberof OwnUser
4578
- */
4579
- unread_threads: number;
4580
- /**
4581
- *
4582
- * @type {string}
4583
- * @memberof OwnUser
4584
- */
4585
- updated_at: string;
4586
- }
4587
4667
  /**
4588
4668
  *
4589
4669
  * @export
@@ -4634,10 +4714,10 @@ export interface OwnUserResponse {
4634
4714
  deleted_at?: string;
4635
4715
  /**
4636
4716
  *
4637
- * @type {Array<Device>}
4717
+ * @type {Array<DeviceResponse>}
4638
4718
  * @memberof OwnUserResponse
4639
4719
  */
4640
- devices: Array<Device>;
4720
+ devices: Array<DeviceResponse>;
4641
4721
  /**
4642
4722
  *
4643
4723
  * @type {string}
@@ -4734,6 +4814,12 @@ export interface OwnUserResponse {
4734
4814
  * @memberof OwnUserResponse
4735
4815
  */
4736
4816
  unread_channels: number;
4817
+ /**
4818
+ *
4819
+ * @type {number}
4820
+ * @memberof OwnUserResponse
4821
+ */
4822
+ unread_count: number;
4737
4823
  /**
4738
4824
  *
4739
4825
  * @type {number}
@@ -4824,7 +4910,7 @@ export interface PinRequest {
4824
4910
  user_id: string;
4825
4911
  }
4826
4912
  /**
4827
- *
4913
+ * Basic response information
4828
4914
  * @export
4829
4915
  * @interface PinResponse
4830
4916
  */
@@ -4855,7 +4941,6 @@ export interface PrivacySettings {
4855
4941
  */
4856
4942
  typing_indicators?: TypingIndicators;
4857
4943
  }
4858
-
4859
4944
  /**
4860
4945
  *
4861
4946
  * @export
@@ -4864,16 +4949,16 @@ export interface PrivacySettings {
4864
4949
  export interface PrivacySettingsResponse {
4865
4950
  /**
4866
4951
  *
4867
- * @type {ReadReceipts}
4952
+ * @type {ReadReceiptsResponse}
4868
4953
  * @memberof PrivacySettingsResponse
4869
4954
  */
4870
- read_receipts?: ReadReceipts;
4955
+ read_receipts?: ReadReceiptsResponse;
4871
4956
  /**
4872
4957
  *
4873
- * @type {TypingIndicators}
4958
+ * @type {TypingIndicatorsResponse}
4874
4959
  * @memberof PrivacySettingsResponse
4875
4960
  */
4876
- typing_indicators?: TypingIndicators;
4961
+ typing_indicators?: TypingIndicatorsResponse;
4877
4962
  }
4878
4963
  /**
4879
4964
  *
@@ -5113,7 +5198,7 @@ export interface QueryCallMembersRequest {
5113
5198
  type: string;
5114
5199
  }
5115
5200
  /**
5116
- *
5201
+ * Basic response information
5117
5202
  * @export
5118
5203
  * @interface QueryCallMembersResponse
5119
5204
  */
@@ -5181,7 +5266,7 @@ export interface QueryCallStatsRequest {
5181
5266
  sort?: Array<SortParamRequest>;
5182
5267
  }
5183
5268
  /**
5184
- *
5269
+ * Basic response information
5185
5270
  * @export
5186
5271
  * @interface QueryCallStatsResponse
5187
5272
  */
@@ -5242,7 +5327,7 @@ export interface QueryCallsRequest {
5242
5327
  */
5243
5328
  prev?: string;
5244
5329
  /**
5245
- *
5330
+ * Array of sort parameters
5246
5331
  * @type {Array<SortParamRequest>}
5247
5332
  * @memberof QueryCallsRequest
5248
5333
  */
@@ -5340,6 +5425,19 @@ export interface ReadReceipts {
5340
5425
  * @type {boolean}
5341
5426
  * @memberof ReadReceipts
5342
5427
  */
5428
+ enabled: boolean;
5429
+ }
5430
+ /**
5431
+ *
5432
+ * @export
5433
+ * @interface ReadReceiptsResponse
5434
+ */
5435
+ export interface ReadReceiptsResponse {
5436
+ /**
5437
+ *
5438
+ * @type {boolean}
5439
+ * @memberof ReadReceiptsResponse
5440
+ */
5343
5441
  enabled?: boolean;
5344
5442
  }
5345
5443
  /**
@@ -5398,7 +5496,7 @@ export type RecordSettingsRequestQualityEnum =
5398
5496
  (typeof RecordSettingsRequestQualityEnum)[keyof typeof RecordSettingsRequestQualityEnum];
5399
5497
 
5400
5498
  /**
5401
- *
5499
+ * RecordSettings is the payload for recording settings
5402
5500
  * @export
5403
5501
  * @interface RecordSettingsResponse
5404
5502
  */
@@ -5442,7 +5540,7 @@ export interface RejectCallRequest {
5442
5540
  */
5443
5541
  export interface RejectCallResponse {
5444
5542
  /**
5445
- *
5543
+ * Duration of the request in milliseconds
5446
5544
  * @type {string}
5447
5545
  * @memberof RejectCallResponse
5448
5546
  */
@@ -5511,14 +5609,14 @@ export interface RequestPermissionRequest {
5511
5609
  */
5512
5610
  export interface RequestPermissionResponse {
5513
5611
  /**
5514
- *
5612
+ * Duration of the request in milliseconds
5515
5613
  * @type {string}
5516
5614
  * @memberof RequestPermissionResponse
5517
5615
  */
5518
5616
  duration: string;
5519
5617
  }
5520
5618
  /**
5521
- *
5619
+ * Basic response information
5522
5620
  * @export
5523
5621
  * @interface Response
5524
5622
  */
@@ -5732,7 +5830,7 @@ export interface SendCallEventRequest {
5732
5830
  */
5733
5831
  export interface SendCallEventResponse {
5734
5832
  /**
5735
- *
5833
+ * Duration of the request in milliseconds
5736
5834
  * @type {string}
5737
5835
  * @memberof SendCallEventResponse
5738
5836
  */
@@ -5764,7 +5862,7 @@ export interface SendReactionRequest {
5764
5862
  type: string;
5765
5863
  }
5766
5864
  /**
5767
- *
5865
+ * Basic response information
5768
5866
  * @export
5769
5867
  * @interface SendReactionResponse
5770
5868
  */
@@ -5804,17 +5902,55 @@ export interface SortParamRequest {
5804
5902
  /**
5805
5903
  *
5806
5904
  * @export
5905
+ * @interface StartClosedCaptionsRequest
5906
+ */
5907
+ export interface StartClosedCaptionsRequest {
5908
+ /**
5909
+ * Enable transcriptions along with closed captions
5910
+ * @type {boolean}
5911
+ * @memberof StartClosedCaptionsRequest
5912
+ */
5913
+ enable_transcription?: boolean;
5914
+ /**
5915
+ * Which external storage to use for transcriptions (only applicable if enable_transcription is true)
5916
+ * @type {string}
5917
+ * @memberof StartClosedCaptionsRequest
5918
+ */
5919
+ external_storage?: string;
5920
+ /**
5921
+ * The spoken language in the call, if not provided the language defined in the transcription settings will be used
5922
+ * @type {string}
5923
+ * @memberof StartClosedCaptionsRequest
5924
+ */
5925
+ language?: string;
5926
+ }
5927
+ /**
5928
+ *
5929
+ * @export
5930
+ * @interface StartClosedCaptionsResponse
5931
+ */
5932
+ export interface StartClosedCaptionsResponse {
5933
+ /**
5934
+ *
5935
+ * @type {string}
5936
+ * @memberof StartClosedCaptionsResponse
5937
+ */
5938
+ duration: string;
5939
+ }
5940
+ /**
5941
+ * StartHLSBroadcastingResponse is the payload for starting an HLS broadcasting.
5942
+ * @export
5807
5943
  * @interface StartHLSBroadcastingResponse
5808
5944
  */
5809
5945
  export interface StartHLSBroadcastingResponse {
5810
5946
  /**
5811
- * Duration of the request in milliseconds
5947
+ *
5812
5948
  * @type {string}
5813
5949
  * @memberof StartHLSBroadcastingResponse
5814
5950
  */
5815
5951
  duration: string;
5816
5952
  /**
5817
- *
5953
+ * the URL of the HLS playlist
5818
5954
  * @type {string}
5819
5955
  * @memberof StartHLSBroadcastingResponse
5820
5956
  */
@@ -5834,13 +5970,13 @@ export interface StartRecordingRequest {
5834
5970
  recording_external_storage?: string;
5835
5971
  }
5836
5972
  /**
5837
- *
5973
+ * StartRecordingResponse is the response payload for the start recording endpoint.
5838
5974
  * @export
5839
5975
  * @interface StartRecordingResponse
5840
5976
  */
5841
5977
  export interface StartRecordingResponse {
5842
5978
  /**
5843
- *
5979
+ * Duration of the request in milliseconds
5844
5980
  * @type {string}
5845
5981
  * @memberof StartRecordingResponse
5846
5982
  */
@@ -5853,7 +5989,19 @@ export interface StartRecordingResponse {
5853
5989
  */
5854
5990
  export interface StartTranscriptionRequest {
5855
5991
  /**
5856
- *
5992
+ * Enable closed captions along with transcriptions
5993
+ * @type {boolean}
5994
+ * @memberof StartTranscriptionRequest
5995
+ */
5996
+ enable_closed_captions?: boolean;
5997
+ /**
5998
+ * The spoken language in the call, if not provided the language defined in the transcription settings will be used
5999
+ * @type {string}
6000
+ * @memberof StartTranscriptionRequest
6001
+ */
6002
+ language?: string;
6003
+ /**
6004
+ * Store transcriptions in this external storage
5857
6005
  * @type {string}
5858
6006
  * @memberof StartTranscriptionRequest
5859
6007
  */
@@ -5866,7 +6014,7 @@ export interface StartTranscriptionRequest {
5866
6014
  */
5867
6015
  export interface StartTranscriptionResponse {
5868
6016
  /**
5869
- *
6017
+ * Duration of the request in milliseconds
5870
6018
  * @type {string}
5871
6019
  * @memberof StartTranscriptionResponse
5872
6020
  */
@@ -5875,50 +6023,57 @@ export interface StartTranscriptionResponse {
5875
6023
  /**
5876
6024
  *
5877
6025
  * @export
5878
- * @interface Stats
6026
+ * @interface StatsOptions
5879
6027
  */
5880
- export interface Stats {
5881
- /**
5882
- *
5883
- * @type {number}
5884
- * @memberof Stats
5885
- */
5886
- average_seconds: number;
6028
+ export interface StatsOptions {
5887
6029
  /**
5888
6030
  *
5889
6031
  * @type {number}
5890
- * @memberof Stats
6032
+ * @memberof StatsOptions
5891
6033
  */
5892
- max_seconds: number;
6034
+ reporting_interval_ms: number;
5893
6035
  }
5894
6036
  /**
5895
6037
  *
5896
6038
  * @export
5897
- * @interface StatsOptions
6039
+ * @interface StopClosedCaptionsRequest
5898
6040
  */
5899
- export interface StatsOptions {
6041
+ export interface StopClosedCaptionsRequest {
5900
6042
  /**
5901
6043
  *
5902
- * @type {number}
5903
- * @memberof StatsOptions
6044
+ * @type {boolean}
6045
+ * @memberof StopClosedCaptionsRequest
5904
6046
  */
5905
- reporting_interval_ms: number;
6047
+ stop_transcription?: boolean;
5906
6048
  }
5907
6049
  /**
5908
- *
6050
+ * Basic response information
5909
6051
  * @export
5910
- * @interface StopHLSBroadcastingResponse
6052
+ * @interface StopClosedCaptionsResponse
5911
6053
  */
5912
- export interface StopHLSBroadcastingResponse {
6054
+ export interface StopClosedCaptionsResponse {
5913
6055
  /**
5914
6056
  * Duration of the request in milliseconds
5915
6057
  * @type {string}
5916
- * @memberof StopHLSBroadcastingResponse
6058
+ * @memberof StopClosedCaptionsResponse
5917
6059
  */
5918
6060
  duration: string;
5919
6061
  }
5920
6062
  /**
5921
- *
6063
+ * Basic response information
6064
+ * @export
6065
+ * @interface StopHLSBroadcastingResponse
6066
+ */
6067
+ export interface StopHLSBroadcastingResponse {
6068
+ /**
6069
+ * Duration of the request in milliseconds
6070
+ * @type {string}
6071
+ * @memberof StopHLSBroadcastingResponse
6072
+ */
6073
+ duration: string;
6074
+ }
6075
+ /**
6076
+ *
5922
6077
  * @export
5923
6078
  * @interface StopLiveResponse
5924
6079
  */
@@ -5930,14 +6085,14 @@ export interface StopLiveResponse {
5930
6085
  */
5931
6086
  call: CallResponse;
5932
6087
  /**
5933
- * Duration of the request in milliseconds
6088
+ *
5934
6089
  * @type {string}
5935
6090
  * @memberof StopLiveResponse
5936
6091
  */
5937
6092
  duration: string;
5938
6093
  }
5939
6094
  /**
5940
- *
6095
+ * Basic response information
5941
6096
  * @export
5942
6097
  * @interface StopRecordingResponse
5943
6098
  */
@@ -5952,6 +6107,19 @@ export interface StopRecordingResponse {
5952
6107
  /**
5953
6108
  *
5954
6109
  * @export
6110
+ * @interface StopTranscriptionRequest
6111
+ */
6112
+ export interface StopTranscriptionRequest {
6113
+ /**
6114
+ *
6115
+ * @type {boolean}
6116
+ * @memberof StopTranscriptionRequest
6117
+ */
6118
+ stop_closed_captions?: boolean;
6119
+ }
6120
+ /**
6121
+ * Basic response information
6122
+ * @export
5955
6123
  * @interface StopTranscriptionResponse
5956
6124
  */
5957
6125
  export interface StopTranscriptionResponse {
@@ -6019,7 +6187,7 @@ export interface TargetResolution {
6019
6187
  width: number;
6020
6188
  }
6021
6189
  /**
6022
- * Sets thresholds for AI moderation
6190
+ *
6023
6191
  * @export
6024
6192
  * @interface Thresholds
6025
6193
  */
@@ -6082,6 +6250,25 @@ export interface ThumbnailsSettingsResponse {
6082
6250
  */
6083
6251
  enabled: boolean;
6084
6252
  }
6253
+ /**
6254
+ *
6255
+ * @export
6256
+ * @interface TimeStats
6257
+ */
6258
+ export interface TimeStats {
6259
+ /**
6260
+ *
6261
+ * @type {number}
6262
+ * @memberof TimeStats
6263
+ */
6264
+ average_seconds: number;
6265
+ /**
6266
+ *
6267
+ * @type {number}
6268
+ * @memberof TimeStats
6269
+ */
6270
+ max_seconds: number;
6271
+ }
6085
6272
  /**
6086
6273
  *
6087
6274
  * @export
@@ -6093,13 +6280,13 @@ export interface TranscriptionSettingsRequest {
6093
6280
  * @type {string}
6094
6281
  * @memberof TranscriptionSettingsRequest
6095
6282
  */
6096
- closed_caption_mode?: string;
6283
+ closed_caption_mode?: TranscriptionSettingsRequestClosedCaptionModeEnum;
6097
6284
  /**
6098
6285
  *
6099
- * @type {Array<string>}
6286
+ * @type {string}
6100
6287
  * @memberof TranscriptionSettingsRequest
6101
6288
  */
6102
- languages?: Array<string>;
6289
+ language?: string;
6103
6290
  /**
6104
6291
  *
6105
6292
  * @type {string}
@@ -6108,6 +6295,17 @@ export interface TranscriptionSettingsRequest {
6108
6295
  mode: TranscriptionSettingsRequestModeEnum;
6109
6296
  }
6110
6297
 
6298
+ /**
6299
+ * @export
6300
+ */
6301
+ export const TranscriptionSettingsRequestClosedCaptionModeEnum = {
6302
+ AVAILABLE: 'available',
6303
+ DISABLED: 'disabled',
6304
+ AUTO_ON: 'auto-on',
6305
+ } as const;
6306
+ export type TranscriptionSettingsRequestClosedCaptionModeEnum =
6307
+ (typeof TranscriptionSettingsRequestClosedCaptionModeEnum)[keyof typeof TranscriptionSettingsRequestClosedCaptionModeEnum];
6308
+
6111
6309
  /**
6112
6310
  * @export
6113
6311
  */
@@ -6130,13 +6328,13 @@ export interface TranscriptionSettingsResponse {
6130
6328
  * @type {string}
6131
6329
  * @memberof TranscriptionSettingsResponse
6132
6330
  */
6133
- closed_caption_mode: string;
6331
+ closed_caption_mode: TranscriptionSettingsResponseClosedCaptionModeEnum;
6134
6332
  /**
6135
6333
  *
6136
- * @type {Array<string>}
6334
+ * @type {string}
6137
6335
  * @memberof TranscriptionSettingsResponse
6138
6336
  */
6139
- languages: Array<string>;
6337
+ language: string;
6140
6338
  /**
6141
6339
  *
6142
6340
  * @type {string}
@@ -6145,6 +6343,17 @@ export interface TranscriptionSettingsResponse {
6145
6343
  mode: TranscriptionSettingsResponseModeEnum;
6146
6344
  }
6147
6345
 
6346
+ /**
6347
+ * @export
6348
+ */
6349
+ export const TranscriptionSettingsResponseClosedCaptionModeEnum = {
6350
+ AVAILABLE: 'available',
6351
+ DISABLED: 'disabled',
6352
+ AUTO_ON: 'auto-on',
6353
+ } as const;
6354
+ export type TranscriptionSettingsResponseClosedCaptionModeEnum =
6355
+ (typeof TranscriptionSettingsResponseClosedCaptionModeEnum)[keyof typeof TranscriptionSettingsResponseClosedCaptionModeEnum];
6356
+
6148
6357
  /**
6149
6358
  * @export
6150
6359
  */
@@ -6167,11 +6376,24 @@ export interface TypingIndicators {
6167
6376
  * @type {boolean}
6168
6377
  * @memberof TypingIndicators
6169
6378
  */
6170
- enabled?: boolean;
6379
+ enabled: boolean;
6171
6380
  }
6172
6381
  /**
6173
6382
  *
6174
6383
  * @export
6384
+ * @interface TypingIndicatorsResponse
6385
+ */
6386
+ export interface TypingIndicatorsResponse {
6387
+ /**
6388
+ *
6389
+ * @type {boolean}
6390
+ * @memberof TypingIndicatorsResponse
6391
+ */
6392
+ enabled?: boolean;
6393
+ }
6394
+ /**
6395
+ * UnblockUserRequest is the payload for unblocking a user.
6396
+ * @export
6175
6397
  * @interface UnblockUserRequest
6176
6398
  */
6177
6399
  export interface UnblockUserRequest {
@@ -6183,7 +6405,7 @@ export interface UnblockUserRequest {
6183
6405
  user_id: string;
6184
6406
  }
6185
6407
  /**
6186
- *
6408
+ * UnblockUserResponse is the payload for unblocking a user.
6187
6409
  * @export
6188
6410
  * @interface UnblockUserResponse
6189
6411
  */
@@ -6228,7 +6450,7 @@ export interface UnblockedUserEvent {
6228
6450
  user: UserResponse;
6229
6451
  }
6230
6452
  /**
6231
- *
6453
+ * UnpinRequest is the payload for unpinning a message.
6232
6454
  * @export
6233
6455
  * @interface UnpinRequest
6234
6456
  */
@@ -6247,7 +6469,7 @@ export interface UnpinRequest {
6247
6469
  user_id: string;
6248
6470
  }
6249
6471
  /**
6250
- *
6472
+ * UnpinResponse is the payload for unpinning a message.
6251
6473
  * @export
6252
6474
  * @interface UnpinResponse
6253
6475
  */
@@ -6260,7 +6482,7 @@ export interface UnpinResponse {
6260
6482
  duration: string;
6261
6483
  }
6262
6484
  /**
6263
- *
6485
+ * Update call members
6264
6486
  * @export
6265
6487
  * @interface UpdateCallMembersRequest
6266
6488
  */
@@ -6279,7 +6501,7 @@ export interface UpdateCallMembersRequest {
6279
6501
  update_members?: Array<MemberRequest>;
6280
6502
  }
6281
6503
  /**
6282
- *
6504
+ * Basic response information
6283
6505
  * @export
6284
6506
  * @interface UpdateCallMembersResponse
6285
6507
  */
@@ -6298,7 +6520,7 @@ export interface UpdateCallMembersResponse {
6298
6520
  members: Array<MemberResponse>;
6299
6521
  }
6300
6522
  /**
6301
- *
6523
+ * Request for updating a call
6302
6524
  * @export
6303
6525
  * @interface UpdateCallRequest
6304
6526
  */
@@ -6323,7 +6545,7 @@ export interface UpdateCallRequest {
6323
6545
  starts_at?: string;
6324
6546
  }
6325
6547
  /**
6326
- * Represents a call
6548
+ * Response for updating a call
6327
6549
  * @export
6328
6550
  * @interface UpdateCallResponse
6329
6551
  */
@@ -6385,7 +6607,7 @@ export interface UpdateUserPermissionsRequest {
6385
6607
  user_id: string;
6386
6608
  }
6387
6609
  /**
6388
- *
6610
+ * Basic response information
6389
6611
  * @export
6390
6612
  * @interface UpdateUserPermissionsResponse
6391
6613
  */
@@ -6434,6 +6656,121 @@ export interface UpdatedCallPermissionsEvent {
6434
6656
  */
6435
6657
  user: UserResponse;
6436
6658
  }
6659
+ /**
6660
+ *
6661
+ * @export
6662
+ * @interface User
6663
+ */
6664
+ export interface UserObject {
6665
+ /**
6666
+ *
6667
+ * @type {string}
6668
+ * @memberof User
6669
+ */
6670
+ ban_expires?: string;
6671
+ /**
6672
+ *
6673
+ * @type {boolean}
6674
+ * @memberof User
6675
+ */
6676
+ banned: boolean;
6677
+ /**
6678
+ *
6679
+ * @type {string}
6680
+ * @memberof User
6681
+ */
6682
+ readonly created_at?: string;
6683
+ /**
6684
+ *
6685
+ * @type {{ [key: string]: any; }}
6686
+ * @memberof User
6687
+ */
6688
+ custom: { [key: string]: any };
6689
+ /**
6690
+ *
6691
+ * @type {string}
6692
+ * @memberof User
6693
+ */
6694
+ readonly deactivated_at?: string;
6695
+ /**
6696
+ *
6697
+ * @type {string}
6698
+ * @memberof User
6699
+ */
6700
+ readonly deleted_at?: string;
6701
+ /**
6702
+ *
6703
+ * @type {string}
6704
+ * @memberof User
6705
+ */
6706
+ id: string;
6707
+ /**
6708
+ *
6709
+ * @type {boolean}
6710
+ * @memberof User
6711
+ */
6712
+ invisible?: boolean;
6713
+ /**
6714
+ *
6715
+ * @type {string}
6716
+ * @memberof User
6717
+ */
6718
+ language?: string;
6719
+ /**
6720
+ *
6721
+ * @type {string}
6722
+ * @memberof User
6723
+ */
6724
+ readonly last_active?: string;
6725
+ /**
6726
+ *
6727
+ * @type {string}
6728
+ * @memberof User
6729
+ */
6730
+ readonly last_engaged_at?: string;
6731
+ /**
6732
+ *
6733
+ * @type {boolean}
6734
+ * @memberof User
6735
+ */
6736
+ readonly online: boolean;
6737
+ /**
6738
+ *
6739
+ * @type {PrivacySettings}
6740
+ * @memberof User
6741
+ */
6742
+ privacy_settings?: PrivacySettings;
6743
+ /**
6744
+ *
6745
+ * @type {PushNotificationSettings}
6746
+ * @memberof User
6747
+ */
6748
+ push_notifications?: PushNotificationSettings;
6749
+ /**
6750
+ *
6751
+ * @type {string}
6752
+ * @memberof User
6753
+ */
6754
+ revoke_tokens_issued_before?: string;
6755
+ /**
6756
+ *
6757
+ * @type {string}
6758
+ * @memberof User
6759
+ */
6760
+ role: string;
6761
+ /**
6762
+ *
6763
+ * @type {Array<string>}
6764
+ * @memberof User
6765
+ */
6766
+ teams?: Array<string>;
6767
+ /**
6768
+ *
6769
+ * @type {string}
6770
+ * @memberof User
6771
+ */
6772
+ readonly updated_at?: string;
6773
+ }
6437
6774
  /**
6438
6775
  *
6439
6776
  * @export
@@ -6584,286 +6921,297 @@ export interface UserDeletedEvent {
6584
6921
  /**
6585
6922
  *
6586
6923
  * @export
6587
- * @interface UserFeedbackReportResponse
6924
+ * @interface UserEventPayload
6588
6925
  */
6589
- export interface UserFeedbackReportResponse {
6926
+ export interface UserEventPayload {
6590
6927
  /**
6591
6928
  *
6592
- * @type {Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>}
6593
- * @memberof UserFeedbackReportResponse
6929
+ * @type {boolean}
6930
+ * @memberof UserEventPayload
6594
6931
  */
6595
- daily: Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>;
6596
- }
6597
- /**
6598
- *
6599
- * @export
6600
- * @interface UserFeedbackReport
6601
- */
6602
- export interface UserFeedbackReport {
6932
+ banned: boolean;
6603
6933
  /**
6604
6934
  *
6605
- * @type {{ [key: string]: number; }}
6606
- * @memberof UserFeedbackReport
6935
+ * @type {Array<string>}
6936
+ * @memberof UserEventPayload
6607
6937
  */
6608
- count_by_rating: { [key: string]: number };
6938
+ blocked_user_ids: Array<string>;
6609
6939
  /**
6610
6940
  *
6611
- * @type {number}
6612
- * @memberof UserFeedbackReport
6941
+ * @type {string}
6942
+ * @memberof UserEventPayload
6613
6943
  */
6614
- unreported_count: number;
6615
- }
6616
- /**
6617
- *
6618
- * @export
6619
- * @interface UserInfoResponse
6620
- */
6621
- export interface UserInfoResponse {
6944
+ created_at: string;
6622
6945
  /**
6623
6946
  *
6624
6947
  * @type {{ [key: string]: any; }}
6625
- * @memberof UserInfoResponse
6948
+ * @memberof UserEventPayload
6626
6949
  */
6627
6950
  custom: { [key: string]: any };
6628
6951
  /**
6629
6952
  *
6630
6953
  * @type {string}
6631
- * @memberof UserInfoResponse
6954
+ * @memberof UserEventPayload
6632
6955
  */
6633
- image: string;
6956
+ deactivated_at?: string;
6634
6957
  /**
6635
6958
  *
6636
6959
  * @type {string}
6637
- * @memberof UserInfoResponse
6960
+ * @memberof UserEventPayload
6638
6961
  */
6639
- name: string;
6962
+ deleted_at?: string;
6640
6963
  /**
6641
6964
  *
6642
- * @type {Array<string>}
6643
- * @memberof UserInfoResponse
6965
+ * @type {string}
6966
+ * @memberof UserEventPayload
6644
6967
  */
6645
- roles: Array<string>;
6646
- }
6647
- /**
6648
- *
6649
- * @export
6650
- * @interface UserMute
6651
- */
6652
- export interface UserMute {
6968
+ id: string;
6653
6969
  /**
6654
- * Date/time of creation
6970
+ *
6655
6971
  * @type {string}
6656
- * @memberof UserMute
6972
+ * @memberof UserEventPayload
6657
6973
  */
6658
- created_at: string;
6974
+ image?: string;
6659
6975
  /**
6660
- * Date/time of mute expiration
6976
+ *
6977
+ * @type {boolean}
6978
+ * @memberof UserEventPayload
6979
+ */
6980
+ invisible?: boolean;
6981
+ /**
6982
+ *
6661
6983
  * @type {string}
6662
- * @memberof UserMute
6984
+ * @memberof UserEventPayload
6663
6985
  */
6664
- expires?: string;
6986
+ language: string;
6665
6987
  /**
6666
6988
  *
6667
- * @type {UserObject}
6668
- * @memberof UserMute
6989
+ * @type {string}
6990
+ * @memberof UserEventPayload
6669
6991
  */
6670
- target?: UserObject;
6992
+ last_active?: string;
6671
6993
  /**
6672
- * Date/time of the last update
6994
+ *
6673
6995
  * @type {string}
6674
- * @memberof UserMute
6996
+ * @memberof UserEventPayload
6675
6997
  */
6676
- updated_at: string;
6998
+ name?: string;
6677
6999
  /**
6678
7000
  *
6679
- * @type {UserObject}
6680
- * @memberof UserMute
7001
+ * @type {boolean}
7002
+ * @memberof UserEventPayload
6681
7003
  */
6682
- user?: UserObject;
6683
- }
6684
- /**
6685
- *
6686
- * @export
6687
- * @interface UserMuteResponse
6688
- */
6689
- export interface UserMuteResponse {
7004
+ online: boolean;
6690
7005
  /**
6691
7006
  *
6692
- * @type {string}
6693
- * @memberof UserMuteResponse
7007
+ * @type {PrivacySettingsResponse}
7008
+ * @memberof UserEventPayload
6694
7009
  */
6695
- created_at: string;
7010
+ privacy_settings?: PrivacySettingsResponse;
6696
7011
  /**
6697
7012
  *
6698
7013
  * @type {string}
6699
- * @memberof UserMuteResponse
7014
+ * @memberof UserEventPayload
6700
7015
  */
6701
- expires?: string;
7016
+ revoke_tokens_issued_before?: string;
6702
7017
  /**
6703
7018
  *
6704
- * @type {UserResponse}
6705
- * @memberof UserMuteResponse
7019
+ * @type {string}
7020
+ * @memberof UserEventPayload
6706
7021
  */
6707
- target?: UserResponse;
7022
+ role: string;
6708
7023
  /**
6709
7024
  *
6710
- * @type {string}
6711
- * @memberof UserMuteResponse
7025
+ * @type {Array<string>}
7026
+ * @memberof UserEventPayload
6712
7027
  */
6713
- updated_at: string;
7028
+ teams: Array<string>;
6714
7029
  /**
6715
7030
  *
6716
- * @type {UserResponse}
6717
- * @memberof UserMuteResponse
7031
+ * @type {string}
7032
+ * @memberof UserEventPayload
6718
7033
  */
6719
- user?: UserResponse;
7034
+ updated_at: string;
6720
7035
  }
6721
-
6722
7036
  /**
6723
7037
  *
6724
7038
  * @export
6725
- * @interface UserMutedEvent
7039
+ * @interface UserFlaggedEvent
6726
7040
  */
6727
- export interface UserMutedEvent {
7041
+ export interface UserFlaggedEvent {
6728
7042
  /**
6729
7043
  *
6730
7044
  * @type {string}
6731
- * @memberof UserMutedEvent
7045
+ * @memberof UserFlaggedEvent
6732
7046
  */
6733
7047
  created_at: string;
6734
7048
  /**
6735
7049
  *
6736
7050
  * @type {string}
6737
- * @memberof UserMutedEvent
7051
+ * @memberof UserFlaggedEvent
6738
7052
  */
6739
7053
  target_user?: string;
6740
7054
  /**
6741
7055
  *
6742
7056
  * @type {Array<string>}
6743
- * @memberof UserMutedEvent
7057
+ * @memberof UserFlaggedEvent
6744
7058
  */
6745
7059
  target_users?: Array<string>;
6746
7060
  /**
6747
7061
  *
6748
7062
  * @type {string}
6749
- * @memberof UserMutedEvent
7063
+ * @memberof UserFlaggedEvent
6750
7064
  */
6751
7065
  type: string;
6752
7066
  /**
6753
7067
  *
6754
7068
  * @type {UserObject}
6755
- * @memberof UserMutedEvent
7069
+ * @memberof UserFlaggedEvent
6756
7070
  */
6757
7071
  user?: UserObject;
6758
7072
  }
6759
7073
  /**
6760
- * Represents chat user
7074
+ *
6761
7075
  * @export
6762
- * @interface UserObject
7076
+ * @interface UserFeedbackReportResponse
6763
7077
  */
6764
- export interface UserObject {
7078
+ export interface UserFeedbackReportResponse {
6765
7079
  /**
6766
- * Expiration date of the ban
6767
- * @type {string}
6768
- * @memberof UserObject
7080
+ *
7081
+ * @type {Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>}
7082
+ * @memberof UserFeedbackReportResponse
6769
7083
  */
6770
- ban_expires?: string;
7084
+ daily: Array<DailyAggregateCallStatsResponse<UserFeedbackReport>>;
7085
+ }
7086
+ /**
7087
+ *
7088
+ * @export
7089
+ * @interface UserFeedbackReport
7090
+ */
7091
+ export interface UserFeedbackReport {
6771
7092
  /**
6772
- * Whether a user is banned or not
6773
- * @type {boolean}
6774
- * @memberof UserObject
7093
+ *
7094
+ * @type {{ [key: string]: number; }}
7095
+ * @memberof UserFeedbackReport
6775
7096
  */
6776
- banned: boolean;
7097
+ count_by_rating: { [key: string]: number };
6777
7098
  /**
6778
- * Date/time of creation
6779
- * @type {string}
6780
- * @memberof UserObject
7099
+ *
7100
+ * @type {number}
7101
+ * @memberof UserFeedbackReport
6781
7102
  */
6782
- readonly created_at?: string;
7103
+ unreported_count: number;
7104
+ }
7105
+ /**
7106
+ *
7107
+ * @export
7108
+ * @interface UserInfoResponse
7109
+ */
7110
+ export interface UserInfoResponse {
6783
7111
  /**
6784
7112
  *
6785
7113
  * @type {{ [key: string]: any; }}
6786
- * @memberof UserObject
7114
+ * @memberof UserInfoResponse
6787
7115
  */
6788
7116
  custom: { [key: string]: any };
6789
7117
  /**
6790
- * Date of deactivation
7118
+ *
6791
7119
  * @type {string}
6792
- * @memberof UserObject
7120
+ * @memberof UserInfoResponse
6793
7121
  */
6794
- readonly deactivated_at?: string;
7122
+ id: string;
6795
7123
  /**
6796
- * Date/time of deletion
7124
+ *
6797
7125
  * @type {string}
6798
- * @memberof UserObject
7126
+ * @memberof UserInfoResponse
6799
7127
  */
6800
- readonly deleted_at?: string;
7128
+ image: string;
6801
7129
  /**
6802
- * Unique user identifier
7130
+ *
6803
7131
  * @type {string}
6804
- * @memberof UserObject
7132
+ * @memberof UserInfoResponse
6805
7133
  */
6806
- id: string;
7134
+ name: string;
6807
7135
  /**
6808
7136
  *
6809
- * @type {boolean}
6810
- * @memberof UserObject
7137
+ * @type {Array<string>}
7138
+ * @memberof UserInfoResponse
6811
7139
  */
6812
- invisible?: boolean;
7140
+ roles: Array<string>;
7141
+ }
7142
+ /**
7143
+ *
7144
+ * @export
7145
+ * @interface UserMuteResponse
7146
+ */
7147
+ export interface UserMuteResponse {
6813
7148
  /**
6814
- * Preferred language of a user
7149
+ *
6815
7150
  * @type {string}
6816
- * @memberof UserObject
7151
+ * @memberof UserMuteResponse
6817
7152
  */
6818
- language?: string;
7153
+ created_at: string;
6819
7154
  /**
6820
- * Date of last activity
7155
+ *
6821
7156
  * @type {string}
6822
- * @memberof UserObject
7157
+ * @memberof UserMuteResponse
6823
7158
  */
6824
- readonly last_active?: string;
7159
+ expires?: string;
6825
7160
  /**
6826
- * Whether a user online or not
6827
- * @type {boolean}
6828
- * @memberof UserObject
7161
+ *
7162
+ * @type {UserResponse}
7163
+ * @memberof UserMuteResponse
6829
7164
  */
6830
- readonly online: boolean;
7165
+ target?: UserResponse;
6831
7166
  /**
6832
7167
  *
6833
- * @type {PrivacySettings}
6834
- * @memberof UserObject
7168
+ * @type {string}
7169
+ * @memberof UserMuteResponse
6835
7170
  */
6836
- privacy_settings?: PrivacySettings;
7171
+ updated_at: string;
6837
7172
  /**
6838
7173
  *
6839
- * @type {PushNotificationSettings}
6840
- * @memberof UserObject
7174
+ * @type {UserResponse}
7175
+ * @memberof UserMuteResponse
6841
7176
  */
6842
- push_notifications?: PushNotificationSettings;
7177
+ user?: UserResponse;
7178
+ }
7179
+ /**
7180
+ *
7181
+ * @export
7182
+ * @interface UserMutedEvent
7183
+ */
7184
+ export interface UserMutedEvent {
6843
7185
  /**
6844
- * Revocation date for tokens
7186
+ *
6845
7187
  * @type {string}
6846
- * @memberof UserObject
7188
+ * @memberof UserMutedEvent
6847
7189
  */
6848
- revoke_tokens_issued_before?: string;
7190
+ created_at: string;
6849
7191
  /**
6850
- * Determines the set of user permissions
7192
+ *
6851
7193
  * @type {string}
6852
- * @memberof UserObject
7194
+ * @memberof UserMutedEvent
6853
7195
  */
6854
- role: string;
7196
+ target_user?: string;
6855
7197
  /**
6856
- * List of teams user is a part of
7198
+ *
6857
7199
  * @type {Array<string>}
6858
- * @memberof UserObject
7200
+ * @memberof UserMutedEvent
6859
7201
  */
6860
- teams?: Array<string>;
7202
+ target_users?: Array<string>;
6861
7203
  /**
6862
- * Date/time of the last update
7204
+ *
6863
7205
  * @type {string}
6864
- * @memberof UserObject
7206
+ * @memberof UserMutedEvent
6865
7207
  */
6866
- readonly updated_at?: string;
7208
+ type: string;
7209
+ /**
7210
+ *
7211
+ * @type {UserObject}
7212
+ * @memberof UserMutedEvent
7213
+ */
7214
+ user?: UserObject;
6867
7215
  }
6868
7216
  /**
6869
7217
  *
@@ -6916,7 +7264,7 @@ export interface UserReactivatedEvent {
6916
7264
  user?: UserObject;
6917
7265
  }
6918
7266
  /**
6919
- *
7267
+ * User request object
6920
7268
  * @export
6921
7269
  * @interface UserRequest
6922
7270
  */
@@ -6959,10 +7307,10 @@ export interface UserRequest {
6959
7307
  name?: string;
6960
7308
  /**
6961
7309
  *
6962
- * @type {PrivacySettings}
7310
+ * @type {PrivacySettingsResponse}
6963
7311
  * @memberof UserRequest
6964
7312
  */
6965
- privacy_settings?: PrivacySettings;
7313
+ privacy_settings?: PrivacySettingsResponse;
6966
7314
  /**
6967
7315
  *
6968
7316
  * @type {PushNotificationSettingsInput}
@@ -6971,7 +7319,7 @@ export interface UserRequest {
6971
7319
  push_notifications?: PushNotificationSettingsInput;
6972
7320
  }
6973
7321
  /**
6974
- *
7322
+ * User response object
6975
7323
  * @export
6976
7324
  * @interface UserResponse
6977
7325
  */
@@ -7141,16 +7489,22 @@ export interface UserSessionStats {
7141
7489
  geolocation?: GeolocationResult;
7142
7490
  /**
7143
7491
  *
7144
- * @type {Stats}
7492
+ * @type {string}
7145
7493
  * @memberof UserSessionStats
7146
7494
  */
7147
- jitter?: Stats;
7495
+ group: string;
7148
7496
  /**
7149
7497
  *
7150
- * @type {Stats}
7498
+ * @type {TimeStats}
7151
7499
  * @memberof UserSessionStats
7152
7500
  */
7153
- latency?: Stats;
7501
+ jitter?: TimeStats;
7502
+ /**
7503
+ *
7504
+ * @type {TimeStats}
7505
+ * @memberof UserSessionStats
7506
+ */
7507
+ latency?: TimeStats;
7154
7508
  /**
7155
7509
  *
7156
7510
  * @type {number}
@@ -7199,6 +7553,12 @@ export interface UserSessionStats {
7199
7553
  * @memberof UserSessionStats
7200
7554
  */
7201
7555
  max_receiving_video_quality?: VideoQuality;
7556
+ /**
7557
+ *
7558
+ * @type {number}
7559
+ * @memberof UserSessionStats
7560
+ */
7561
+ min_event_ts: number;
7202
7562
  /**
7203
7563
  *
7204
7564
  * @type {string}
@@ -7231,22 +7591,16 @@ export interface UserSessionStats {
7231
7591
  published_tracks?: Array<PublishedTrackInfo>;
7232
7592
  /**
7233
7593
  *
7234
- * @type {MOSStats}
7594
+ * @type {TimeStats}
7235
7595
  * @memberof UserSessionStats
7236
7596
  */
7237
- publisher_audio_mos?: MOSStats;
7597
+ publisher_jitter?: TimeStats;
7238
7598
  /**
7239
7599
  *
7240
- * @type {Stats}
7600
+ * @type {TimeStats}
7241
7601
  * @memberof UserSessionStats
7242
7602
  */
7243
- publisher_jitter?: Stats;
7244
- /**
7245
- *
7246
- * @type {Stats}
7247
- * @memberof UserSessionStats
7248
- */
7249
- publisher_latency?: Stats;
7603
+ publisher_latency?: TimeStats;
7250
7604
  /**
7251
7605
  *
7252
7606
  * @type {number}
@@ -7335,22 +7689,16 @@ export interface UserSessionStats {
7335
7689
  session_id: string;
7336
7690
  /**
7337
7691
  *
7338
- * @type {MOSStats}
7339
- * @memberof UserSessionStats
7340
- */
7341
- subscriber_audio_mos?: MOSStats;
7342
- /**
7343
- *
7344
- * @type {Stats}
7692
+ * @type {TimeStats}
7345
7693
  * @memberof UserSessionStats
7346
7694
  */
7347
- subscriber_jitter?: Stats;
7695
+ subscriber_jitter?: TimeStats;
7348
7696
  /**
7349
7697
  *
7350
- * @type {Stats}
7698
+ * @type {TimeStats}
7351
7699
  * @memberof UserSessionStats
7352
7700
  */
7353
- subscriber_latency?: Stats;
7701
+ subscriber_latency?: TimeStats;
7354
7702
  /**
7355
7703
  *
7356
7704
  * @type {number}
@@ -7483,72 +7831,109 @@ export interface UserUnbannedEvent {
7483
7831
  /**
7484
7832
  *
7485
7833
  * @export
7486
- * @interface UserUpdatedEvent
7834
+ * @interface UserUnmutedEvent
7487
7835
  */
7488
- export interface UserUpdatedEvent {
7836
+ export interface UserUnmutedEvent {
7489
7837
  /**
7490
7838
  *
7491
7839
  * @type {string}
7492
- * @memberof UserUpdatedEvent
7840
+ * @memberof UserUnmutedEvent
7493
7841
  */
7494
7842
  created_at: string;
7495
7843
  /**
7496
7844
  *
7497
7845
  * @type {string}
7498
- * @memberof UserUpdatedEvent
7846
+ * @memberof UserUnmutedEvent
7499
7847
  */
7500
- received_at?: string;
7848
+ target_user?: string;
7849
+ /**
7850
+ *
7851
+ * @type {Array<string>}
7852
+ * @memberof UserUnmutedEvent
7853
+ */
7854
+ target_users?: Array<string>;
7501
7855
  /**
7502
7856
  *
7503
7857
  * @type {string}
7504
- * @memberof UserUpdatedEvent
7858
+ * @memberof UserUnmutedEvent
7505
7859
  */
7506
7860
  type: string;
7507
7861
  /**
7508
7862
  *
7509
7863
  * @type {UserObject}
7510
- * @memberof UserUpdatedEvent
7864
+ * @memberof UserUnmutedEvent
7511
7865
  */
7512
7866
  user?: UserObject;
7513
7867
  }
7514
7868
  /**
7515
7869
  *
7516
7870
  * @export
7517
- * @interface VideoQuality
7871
+ * @interface UserUpdatedEvent
7518
7872
  */
7519
- export interface VideoQuality {
7873
+ export interface UserUpdatedEvent {
7520
7874
  /**
7521
7875
  *
7522
- * @type {VideoResolution}
7523
- * @memberof VideoQuality
7876
+ * @type {string}
7877
+ * @memberof UserUpdatedEvent
7524
7878
  */
7525
- resolution?: VideoResolution;
7879
+ created_at: string;
7526
7880
  /**
7527
7881
  *
7528
7882
  * @type {string}
7529
- * @memberof VideoQuality
7883
+ * @memberof UserUpdatedEvent
7530
7884
  */
7531
- usage_type?: string;
7885
+ received_at?: string;
7886
+ /**
7887
+ *
7888
+ * @type {string}
7889
+ * @memberof UserUpdatedEvent
7890
+ */
7891
+ type: string;
7892
+ /**
7893
+ *
7894
+ * @type {UserEventPayload}
7895
+ * @memberof UserUpdatedEvent
7896
+ */
7897
+ user: UserEventPayload;
7532
7898
  }
7533
7899
  /**
7534
7900
  *
7535
7901
  * @export
7536
- * @interface VideoResolution
7902
+ * @interface VideoDimension
7537
7903
  */
7538
- export interface VideoResolution {
7904
+ export interface VideoDimension {
7539
7905
  /**
7540
7906
  *
7541
7907
  * @type {number}
7542
- * @memberof VideoResolution
7908
+ * @memberof VideoDimension
7543
7909
  */
7544
7910
  height: number;
7545
7911
  /**
7546
7912
  *
7547
7913
  * @type {number}
7548
- * @memberof VideoResolution
7914
+ * @memberof VideoDimension
7549
7915
  */
7550
7916
  width: number;
7551
7917
  }
7918
+ /**
7919
+ *
7920
+ * @export
7921
+ * @interface VideoQuality
7922
+ */
7923
+ export interface VideoQuality {
7924
+ /**
7925
+ *
7926
+ * @type {VideoDimension}
7927
+ * @memberof VideoQuality
7928
+ */
7929
+ resolution?: VideoDimension;
7930
+ /**
7931
+ *
7932
+ * @type {string}
7933
+ * @memberof VideoQuality
7934
+ */
7935
+ usage_type?: string;
7936
+ }
7552
7937
  /**
7553
7938
  *
7554
7939
  * @export
@@ -7648,7 +8033,7 @@ export type VideoSettingsResponseCameraFacingEnum =
7648
8033
  (typeof VideoSettingsResponseCameraFacingEnum)[keyof typeof VideoSettingsResponseCameraFacingEnum];
7649
8034
 
7650
8035
  /**
7651
- *
8036
+ * Websocket auth message
7652
8037
  * @export
7653
8038
  * @interface WSAuthMessage
7654
8039
  */
@@ -7681,6 +8066,9 @@ export type WSEvent =
7681
8066
  | ({ type: 'call.accepted' } & CallAcceptedEvent)
7682
8067
  | ({ type: 'call.blocked_user' } & BlockedUserEvent)
7683
8068
  | ({ type: 'call.closed_caption' } & ClosedCaptionEvent)
8069
+ | ({ type: 'call.closed_captions_failed' } & CallClosedCaptionsFailedEvent)
8070
+ | ({ type: 'call.closed_captions_started' } & CallClosedCaptionsStartedEvent)
8071
+ | ({ type: 'call.closed_captions_stopped' } & CallClosedCaptionsStoppedEvent)
7684
8072
  | ({ type: 'call.created' } & CallCreatedEvent)
7685
8073
  | ({ type: 'call.deleted' } & CallDeletedEvent)
7686
8074
  | ({ type: 'call.ended' } & CallEndedEvent)