@stream-io/video-client 1.57.0 → 1.59.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 (130) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/e2ee-worker.browser.es.js +1342 -0
  3. package/dist/e2ee-worker.browser.es.js.map +1 -0
  4. package/dist/index.browser.es.js +1141 -117
  5. package/dist/index.browser.es.js.map +1 -1
  6. package/dist/index.cjs.js +1196 -115
  7. package/dist/index.cjs.js.map +1 -1
  8. package/dist/index.d.ts +5 -0
  9. package/dist/index.es.js +1174 -117
  10. package/dist/index.es.js.map +1 -1
  11. package/dist/src/Call.d.ts +66 -9
  12. package/dist/src/StreamVideoClient.d.ts +9 -1
  13. package/dist/src/coordinator/connection/connection.d.ts +1 -1
  14. package/dist/src/devices/CameraManager.d.ts +8 -1
  15. package/dist/src/devices/DeviceManager.d.ts +2 -1
  16. package/dist/src/devices/MicrophoneManager.d.ts +8 -1
  17. package/dist/src/devices/SpeakerManager.d.ts +2 -1
  18. package/dist/src/events/participant.d.ts +10 -3
  19. package/dist/src/gen/coordinator/index.d.ts +1386 -240
  20. package/dist/src/gen/video/sfu/models/models.d.ts +8 -0
  21. package/dist/src/helpers/MediaStreamRecorder.d.ts +26 -0
  22. package/dist/src/helpers/TypedEventEmitter.d.ts +23 -0
  23. package/dist/src/helpers/concurrency.d.ts +8 -0
  24. package/dist/src/helpers/ensureExhausted.d.ts +1 -1
  25. package/dist/src/helpers/loopback.d.ts +55 -0
  26. package/dist/src/permissions/PermissionsContext.d.ts +2 -2
  27. package/dist/src/reporting/ClientEventReporter.d.ts +0 -2
  28. package/dist/src/rtc/BasePeerConnection.d.ts +3 -1
  29. package/dist/src/rtc/Subscriber.d.ts +5 -0
  30. package/dist/src/rtc/e2ee/E2EEManager.d.ts +12 -0
  31. package/dist/src/rtc/e2ee/EncryptionManager.d.ts +148 -0
  32. package/dist/src/rtc/e2ee/e2ee-worker.d.ts +25 -0
  33. package/dist/src/rtc/e2ee/events.d.ts +163 -0
  34. package/dist/src/rtc/e2ee/transformSupport.d.ts +21 -0
  35. package/dist/src/rtc/helpers/rtcConfiguration.d.ts +2 -2
  36. package/dist/src/rtc/index.d.ts +1 -0
  37. package/dist/src/rtc/mediaEngine.d.ts +23 -0
  38. package/dist/src/rtc/types.d.ts +2 -0
  39. package/dist/src/store/CallState.d.ts +21 -0
  40. package/dist/src/types.d.ts +15 -6
  41. package/index.ts +5 -0
  42. package/package.json +1 -1
  43. package/src/Call.ts +311 -155
  44. package/src/StreamVideoClient.ts +35 -8
  45. package/src/__tests__/Call.lifecycle.test.ts +33 -2
  46. package/src/__tests__/Call.publishing.test.ts +42 -1
  47. package/src/__tests__/Call.test.ts +15 -0
  48. package/src/__tests__/StreamVideoClient.api.test.ts +33 -0
  49. package/src/__tests__/StreamVideoClient.rewatch.test.ts +213 -0
  50. package/src/__tests__/StreamVideoClient.ringing.test.ts +11 -4
  51. package/src/__tests__/StreamVideoClient.test.ts +14 -12
  52. package/src/coordinator/connection/connection.ts +6 -3
  53. package/src/devices/AudioDeviceManager.ts +6 -0
  54. package/src/devices/CameraManager.ts +67 -8
  55. package/src/devices/DeviceManager.ts +24 -4
  56. package/src/devices/MicrophoneManager.ts +66 -8
  57. package/src/devices/ScreenShareManager.ts +3 -0
  58. package/src/devices/SpeakerManager.ts +42 -12
  59. package/src/devices/__tests__/CameraManager.test.ts +27 -1
  60. package/src/devices/__tests__/DeviceManager.test.ts +49 -1
  61. package/src/devices/__tests__/MicrophoneManager.test.ts +23 -1
  62. package/src/devices/__tests__/MicrophoneManagerRN.test.ts +1 -20
  63. package/src/devices/__tests__/SpeakerManager.test.ts +138 -42
  64. package/src/devices/__tests__/mocks.ts +36 -3
  65. package/src/events/__tests__/participant.test.ts +134 -1
  66. package/src/events/call.ts +6 -3
  67. package/src/events/callEventHandlers.ts +9 -3
  68. package/src/events/participant.ts +42 -7
  69. package/src/gen/coordinator/index.ts +1402 -236
  70. package/src/gen/video/sfu/models/models.ts +15 -0
  71. package/src/helpers/MediaStreamRecorder.ts +104 -0
  72. package/src/helpers/TypedEventEmitter.ts +71 -0
  73. package/src/helpers/__tests__/MediaStreamRecorder.test.ts +324 -0
  74. package/src/helpers/__tests__/TypedEventEmitter.test.ts +133 -0
  75. package/src/helpers/__tests__/concurrency.test.ts +74 -0
  76. package/src/helpers/__tests__/loopback.test.ts +367 -0
  77. package/src/helpers/concurrency.ts +24 -0
  78. package/src/helpers/ensureExhausted.ts +4 -2
  79. package/src/helpers/loopback.ts +200 -0
  80. package/src/permissions/PermissionsContext.ts +10 -5
  81. package/src/reporting/ClientEventReporter.ts +15 -28
  82. package/src/reporting/__tests__/ClientEventReporter.test.ts +3 -7
  83. package/src/rtc/BasePeerConnection.ts +12 -1
  84. package/src/rtc/Publisher.ts +8 -0
  85. package/src/rtc/Subscriber.ts +13 -0
  86. package/src/rtc/__tests__/Publisher.test.ts +101 -0
  87. package/src/rtc/__tests__/Subscriber.test.ts +190 -0
  88. package/src/rtc/__tests__/mocks/webrtc.mocks.ts +31 -0
  89. package/src/rtc/e2ee/E2EEManager.ts +12 -0
  90. package/src/rtc/e2ee/EncryptionManager.ts +336 -0
  91. package/src/rtc/e2ee/SPEC.md +586 -0
  92. package/src/rtc/e2ee/__tests__/E2EEManager.contract.test.ts +39 -0
  93. package/src/rtc/e2ee/__tests__/EncryptionManager.test.ts +490 -0
  94. package/src/rtc/e2ee/__tests__/codec.test.ts +247 -0
  95. package/src/rtc/e2ee/__tests__/conformance.test.ts +184 -0
  96. package/src/rtc/e2ee/__tests__/failureTracker.test.ts +45 -0
  97. package/src/rtc/e2ee/__tests__/frameCounter.test.ts +90 -0
  98. package/src/rtc/e2ee/__tests__/keyStore.test.ts +221 -0
  99. package/src/rtc/e2ee/__tests__/notifications.test.ts +166 -0
  100. package/src/rtc/e2ee/__tests__/perf.test.ts +139 -0
  101. package/src/rtc/e2ee/__tests__/queue.test.ts +61 -0
  102. package/src/rtc/e2ee/__tests__/replayWindow.test.ts +133 -0
  103. package/src/rtc/e2ee/__tests__/trailer.test.ts +143 -0
  104. package/src/rtc/e2ee/__tests__/transform-pipeline.test.ts +839 -0
  105. package/src/rtc/e2ee/__tests__/transformSupport.test.ts +65 -0
  106. package/src/rtc/e2ee/e2ee-worker/codec.ts +220 -0
  107. package/src/rtc/e2ee/e2ee-worker/constants.ts +47 -0
  108. package/src/rtc/e2ee/e2ee-worker/decode.ts +159 -0
  109. package/src/rtc/e2ee/e2ee-worker/e2ee-worker-impl.ts +137 -0
  110. package/src/rtc/e2ee/e2ee-worker/encode.ts +147 -0
  111. package/src/rtc/e2ee/e2ee-worker/failureTracker.ts +26 -0
  112. package/src/rtc/e2ee/e2ee-worker/frameCounter.ts +37 -0
  113. package/src/rtc/e2ee/e2ee-worker/keyStore.ts +211 -0
  114. package/src/rtc/e2ee/e2ee-worker/notifications.ts +190 -0
  115. package/src/rtc/e2ee/e2ee-worker/perf.ts +129 -0
  116. package/src/rtc/e2ee/e2ee-worker/queue.ts +12 -0
  117. package/src/rtc/e2ee/e2ee-worker/replayWindow.ts +131 -0
  118. package/src/rtc/e2ee/e2ee-worker/trailer.ts +155 -0
  119. package/src/rtc/e2ee/e2ee-worker/tsconfig.json +8 -0
  120. package/src/rtc/e2ee/e2ee-worker/types.ts +29 -0
  121. package/src/rtc/e2ee/e2ee-worker.ts +27 -0
  122. package/src/rtc/e2ee/events.ts +179 -0
  123. package/src/rtc/e2ee/transformSupport.ts +35 -0
  124. package/src/rtc/helpers/rtcConfiguration.ts +4 -2
  125. package/src/rtc/index.ts +1 -0
  126. package/src/rtc/mediaEngine.ts +44 -0
  127. package/src/rtc/types.ts +2 -0
  128. package/src/store/CallState.ts +33 -1
  129. package/src/store/__tests__/CallState.test.ts +82 -1
  130. package/src/types.ts +23 -5
@@ -663,6 +663,12 @@ export interface CallEndedEvent {
663
663
  * @memberof CallEndedEvent
664
664
  */
665
665
  created_at: string;
666
+ /**
667
+ * The list of members in the call
668
+ * @type {Array<MemberResponse>}
669
+ * @memberof CallEndedEvent
670
+ */
671
+ members?: Array<MemberResponse>;
666
672
  /**
667
673
  * The reason why the call ended, if available
668
674
  * @type {string}
@@ -966,6 +972,37 @@ export interface CallIngressResponse {
966
972
  */
967
973
  whip: WHIPIngress;
968
974
  }
975
+ /**
976
+ *
977
+ * @export
978
+ * @interface CallLevelEventPayload
979
+ */
980
+ export interface CallLevelEventPayload {
981
+ /**
982
+ *
983
+ * @type {string}
984
+ * @memberof CallLevelEventPayload
985
+ */
986
+ event_type: string;
987
+ /**
988
+ *
989
+ * @type {{ [key: string]: any; }}
990
+ * @memberof CallLevelEventPayload
991
+ */
992
+ payload?: { [key: string]: any };
993
+ /**
994
+ *
995
+ * @type {number}
996
+ * @memberof CallLevelEventPayload
997
+ */
998
+ timestamp: number;
999
+ /**
1000
+ *
1001
+ * @type {string}
1002
+ * @memberof CallLevelEventPayload
1003
+ */
1004
+ user_id: string;
1005
+ }
969
1006
  /**
970
1007
  * This event is sent when a call is started. Clients receiving this event should start the call.
971
1008
  * @export
@@ -1443,10 +1480,10 @@ export interface CallReactionEvent {
1443
1480
  created_at: string;
1444
1481
  /**
1445
1482
  *
1446
- * @type {ReactionResponse}
1483
+ * @type {VideoReactionResponse}
1447
1484
  * @memberof CallReactionEvent
1448
1485
  */
1449
- reaction: ReactionResponse;
1486
+ reaction: VideoReactionResponse;
1450
1487
  /**
1451
1488
  * The type of event: "call.reaction_new" in this case
1452
1489
  * @type {string}
@@ -1912,6 +1949,12 @@ export interface CallResponse {
1912
1949
  * @memberof CallResponse
1913
1950
  */
1914
1951
  recording: boolean;
1952
+ /**
1953
+ * 10-digit routing number for SIP routing
1954
+ * @type {string}
1955
+ * @memberof CallResponse
1956
+ */
1957
+ routing_number?: string;
1915
1958
  /**
1916
1959
  *
1917
1960
  * @type {CallSessionResponse}
@@ -2299,12 +2342,6 @@ export interface CallSessionResponse {
2299
2342
  * @memberof CallSessionResponse
2300
2343
  */
2301
2344
  anonymous_participant_count: number;
2302
- /**
2303
- *
2304
- * @type {string}
2305
- * @memberof CallSessionResponse
2306
- */
2307
- created_at: string;
2308
2345
  /**
2309
2346
  *
2310
2347
  * @type {string}
@@ -2427,6 +2464,12 @@ export interface CallSettingsRequest {
2427
2464
  * @memberof CallSettingsRequest
2428
2465
  */
2429
2466
  broadcasting?: BroadcastSettingsRequest;
2467
+ /**
2468
+ *
2469
+ * @type {EncryptionSettingsRequest}
2470
+ * @memberof CallSettingsRequest
2471
+ */
2472
+ encryption?: EncryptionSettingsRequest;
2430
2473
  /**
2431
2474
  *
2432
2475
  * @type {FrameRecordingSettingsRequest}
@@ -2530,6 +2573,12 @@ export interface CallSettingsResponse {
2530
2573
  * @memberof CallSettingsResponse
2531
2574
  */
2532
2575
  broadcasting: BroadcastSettingsResponse;
2576
+ /**
2577
+ *
2578
+ * @type {EncryptionSettingsResponse}
2579
+ * @memberof CallSettingsResponse
2580
+ */
2581
+ encryption: EncryptionSettingsResponse;
2533
2582
  /**
2534
2583
  *
2535
2584
  * @type {FrameRecordingSettingsResponse}
@@ -2894,12 +2943,54 @@ export interface CallStatsParticipant {
2894
2943
  * @interface CallStatsParticipantCounts
2895
2944
  */
2896
2945
  export interface CallStatsParticipantCounts {
2946
+ /**
2947
+ *
2948
+ * @type {number}
2949
+ * @memberof CallStatsParticipantCounts
2950
+ */
2951
+ average_jitter_ms?: number;
2952
+ /**
2953
+ *
2954
+ * @type {number}
2955
+ * @memberof CallStatsParticipantCounts
2956
+ */
2957
+ average_latency_ms?: number;
2958
+ /**
2959
+ *
2960
+ * @type {number}
2961
+ * @memberof CallStatsParticipantCounts
2962
+ */
2963
+ avg_user_rating?: number;
2964
+ /**
2965
+ *
2966
+ * @type {number}
2967
+ * @memberof CallStatsParticipantCounts
2968
+ */
2969
+ call_event_count?: number;
2970
+ /**
2971
+ *
2972
+ * @type {number}
2973
+ * @memberof CallStatsParticipantCounts
2974
+ */
2975
+ cq_score?: number;
2897
2976
  /**
2898
2977
  *
2899
2978
  * @type {number}
2900
2979
  * @memberof CallStatsParticipantCounts
2901
2980
  */
2902
2981
  live_sessions: number;
2982
+ /**
2983
+ *
2984
+ * @type {number}
2985
+ * @memberof CallStatsParticipantCounts
2986
+ */
2987
+ max_freezes_duration_ms?: number;
2988
+ /**
2989
+ *
2990
+ * @type {number}
2991
+ * @memberof CallStatsParticipantCounts
2992
+ */
2993
+ min_user_rating?: number;
2903
2994
  /**
2904
2995
  *
2905
2996
  * @type {number}
@@ -2930,6 +3021,18 @@ export interface CallStatsParticipantCounts {
2930
3021
  * @memberof CallStatsParticipantCounts
2931
3022
  */
2932
3023
  sessions: number;
3024
+ /**
3025
+ *
3026
+ * @type {number}
3027
+ * @memberof CallStatsParticipantCounts
3028
+ */
3029
+ sfus_used: number;
3030
+ /**
3031
+ *
3032
+ * @type {number}
3033
+ * @memberof CallStatsParticipantCounts
3034
+ */
3035
+ total_participant_duration?: number;
2933
3036
  }
2934
3037
  /**
2935
3038
  *
@@ -2979,12 +3082,36 @@ export interface CallStatsParticipantSession {
2979
3082
  * @memberof CallStatsParticipantSession
2980
3083
  */
2981
3084
  ended_at?: string;
3085
+ /**
3086
+ *
3087
+ * @type {number}
3088
+ * @memberof CallStatsParticipantSession
3089
+ */
3090
+ freezes_duration_ms?: number;
3091
+ /**
3092
+ *
3093
+ * @type {string}
3094
+ * @memberof CallStatsParticipantSession
3095
+ */
3096
+ ingress?: string;
2982
3097
  /**
2983
3098
  *
2984
3099
  * @type {boolean}
2985
3100
  * @memberof CallStatsParticipantSession
2986
3101
  */
2987
3102
  is_live: boolean;
3103
+ /**
3104
+ *
3105
+ * @type {number}
3106
+ * @memberof CallStatsParticipantSession
3107
+ */
3108
+ jitter_ms?: number;
3109
+ /**
3110
+ *
3111
+ * @type {number}
3112
+ * @memberof CallStatsParticipantSession
3113
+ */
3114
+ latency_ms?: number;
2988
3115
  /**
2989
3116
  *
2990
3117
  * @type {CallStatsLocation}
@@ -3058,12 +3185,30 @@ export interface CallStatsReportReadyEvent {
3058
3185
  * @memberof CallStatsReportReadyEvent
3059
3186
  */
3060
3187
  call_cid: string;
3188
+ /**
3189
+ *
3190
+ * @type {CallStatsParticipantCounts}
3191
+ * @memberof CallStatsReportReadyEvent
3192
+ */
3193
+ counts: CallStatsParticipantCounts;
3061
3194
  /**
3062
3195
  *
3063
3196
  * @type {string}
3064
3197
  * @memberof CallStatsReportReadyEvent
3065
3198
  */
3066
3199
  created_at: string;
3200
+ /**
3201
+ * Whether participants_overview is truncated by the server-side limit
3202
+ * @type {boolean}
3203
+ * @memberof CallStatsReportReadyEvent
3204
+ */
3205
+ is_trimmed?: boolean;
3206
+ /**
3207
+ * Top participant sessions overview
3208
+ * @type {Array<CallStatsParticipant>}
3209
+ * @memberof CallStatsReportReadyEvent
3210
+ */
3211
+ participants_overview?: Array<CallStatsParticipant>;
3067
3212
  /**
3068
3213
  * Call session ID
3069
3214
  * @type {string}
@@ -3132,6 +3277,55 @@ export interface CallStatsReportSummaryResponse {
3132
3277
  */
3133
3278
  quality_score?: number;
3134
3279
  }
3280
+ /**
3281
+ *
3282
+ * @export
3283
+ * @interface CallStatsSessionResponse
3284
+ */
3285
+ export interface CallStatsSessionResponse {
3286
+ /**
3287
+ *
3288
+ * @type {string}
3289
+ * @memberof CallStatsSessionResponse
3290
+ */
3291
+ call_ended_at?: string;
3292
+ /**
3293
+ *
3294
+ * @type {string}
3295
+ * @memberof CallStatsSessionResponse
3296
+ */
3297
+ call_id: string;
3298
+ /**
3299
+ *
3300
+ * @type {string}
3301
+ * @memberof CallStatsSessionResponse
3302
+ */
3303
+ call_session_id: string;
3304
+ /**
3305
+ *
3306
+ * @type {string}
3307
+ * @memberof CallStatsSessionResponse
3308
+ */
3309
+ call_started_at?: string;
3310
+ /**
3311
+ *
3312
+ * @type {string}
3313
+ * @memberof CallStatsSessionResponse
3314
+ */
3315
+ call_type: string;
3316
+ /**
3317
+ *
3318
+ * @type {CallStatsParticipantCounts}
3319
+ * @memberof CallStatsSessionResponse
3320
+ */
3321
+ counts: CallStatsParticipantCounts;
3322
+ /**
3323
+ *
3324
+ * @type {string}
3325
+ * @memberof CallStatsSessionResponse
3326
+ */
3327
+ generated_at: string;
3328
+ }
3135
3329
  /**
3136
3330
  * CallTranscription represents a transcription of a call.
3137
3331
  * @export
@@ -3493,147 +3687,365 @@ export interface ChatActivityStatsResponse {
3493
3687
  Messages?: MessageStatsResponse;
3494
3688
  }
3495
3689
  /**
3496
- * This event is sent when closed captions are being sent in a call, clients should use this to show the closed captions in the call screen
3690
+ *
3497
3691
  * @export
3498
- * @interface ClosedCaptionEvent
3692
+ * @interface ChatPreferencesResponse
3499
3693
  */
3500
- export interface ClosedCaptionEvent {
3694
+ export interface ChatPreferencesResponse {
3501
3695
  /**
3502
3696
  *
3503
3697
  * @type {string}
3504
- * @memberof ClosedCaptionEvent
3505
- */
3506
- call_cid: string;
3507
- /**
3508
- *
3509
- * @type {CallClosedCaption}
3510
- * @memberof ClosedCaptionEvent
3698
+ * @memberof ChatPreferencesResponse
3511
3699
  */
3512
- closed_caption: CallClosedCaption;
3700
+ channel_mentions?: string;
3513
3701
  /**
3514
3702
  *
3515
3703
  * @type {string}
3516
- * @memberof ClosedCaptionEvent
3517
- */
3518
- created_at: string;
3519
- /**
3520
- * The type of event: "call.closed_caption" in this case
3521
- * @type {string}
3522
- * @memberof ClosedCaptionEvent
3523
- */
3524
- type: string;
3525
- }
3526
- /**
3527
- *
3528
- * @export
3529
- * @interface CollectUserFeedbackRequest
3530
- */
3531
- export interface CollectUserFeedbackRequest {
3532
- /**
3533
- *
3534
- * @type {{ [key: string]: any; }}
3535
- * @memberof CollectUserFeedbackRequest
3704
+ * @memberof ChatPreferencesResponse
3536
3705
  */
3537
- custom?: { [key: string]: any };
3706
+ default_preference?: string;
3538
3707
  /**
3539
3708
  *
3540
- * @type {number}
3541
- * @memberof CollectUserFeedbackRequest
3709
+ * @type {string}
3710
+ * @memberof ChatPreferencesResponse
3542
3711
  */
3543
- rating: number;
3712
+ direct_mentions?: string;
3544
3713
  /**
3545
3714
  *
3546
3715
  * @type {string}
3547
- * @memberof CollectUserFeedbackRequest
3716
+ * @memberof ChatPreferencesResponse
3548
3717
  */
3549
- reason?: string;
3718
+ group_mentions?: string;
3550
3719
  /**
3551
3720
  *
3552
3721
  * @type {string}
3553
- * @memberof CollectUserFeedbackRequest
3722
+ * @memberof ChatPreferencesResponse
3554
3723
  */
3555
- sdk: string;
3724
+ here_mentions?: string;
3556
3725
  /**
3557
3726
  *
3558
3727
  * @type {string}
3559
- * @memberof CollectUserFeedbackRequest
3728
+ * @memberof ChatPreferencesResponse
3560
3729
  */
3561
- sdk_version: string;
3730
+ role_mentions?: string;
3562
3731
  /**
3563
3732
  *
3564
3733
  * @type {string}
3565
- * @memberof CollectUserFeedbackRequest
3734
+ * @memberof ChatPreferencesResponse
3566
3735
  */
3567
- user_session_id?: string;
3736
+ thread_replies?: string;
3568
3737
  }
3569
3738
  /**
3570
- * Basic response information
3739
+ * A single client-side telemetry event. JoinInitiated is the top-level marker emitted when a user begins a join attempt and carries only join_attempt_id (no stage_id or coordinator_connect_id). When stage is CoordinatorJoin, CoordinatorWS, WSJoin, or PeerConnectionConnect the event reports a join-lifecycle attempt; initiation and completion of a stage attempt share the same stage_id. FirstAudioFrame and FirstVideoFrame report media readiness and only ever carry an initiated event. MediaDevicePermission reports the result of requesting screen-share, microphone, and camera permissions. Other stage values denote generic client events.
3571
3740
  * @export
3572
- * @interface CollectUserFeedbackResponse
3741
+ * @interface ClientEvent
3573
3742
  */
3574
- export interface CollectUserFeedbackResponse {
3743
+ export interface ClientEvent {
3575
3744
  /**
3576
- * Duration of the request in milliseconds
3745
+ * Call session ID associated with the attempt. Required on every event except CoordinatorJoin initiation and CoordinatorJoin failure (where the call session is not yet established); optional on MediaDevicePermission.
3577
3746
  * @type {string}
3578
- * @memberof CollectUserFeedbackResponse
3747
+ * @memberof ClientEvent
3579
3748
  */
3580
- duration: string;
3581
- }
3582
- /**
3583
- *
3584
- * @export
3585
- * @interface CompositeRecordingResponse
3586
- */
3587
- export interface CompositeRecordingResponse {
3749
+ call_session_id?: string;
3588
3750
  /**
3589
- *
3751
+ * Camera permission status: INITIATED, FAILED, GRANTED, or NOT_INITIATED. Required on every MediaDevicePermission event.
3590
3752
  * @type {string}
3591
- * @memberof CompositeRecordingResponse
3753
+ * @memberof ClientEvent
3592
3754
  */
3593
- status: string;
3594
- }
3595
- /**
3596
- *
3597
- * @export
3598
- * @interface ConnectUserDetailsRequest
3599
- */
3600
- export interface ConnectUserDetailsRequest {
3755
+ camera_permission_status?: string;
3601
3756
  /**
3602
- *
3603
- * @type {{ [key: string]: any; }}
3604
- * @memberof ConnectUserDetailsRequest
3757
+ * UUID generated by the client and shared across every event of the same coordinator connection. Required on every event except JoinInitiated, which is reported before a coordinator connection exists.
3758
+ * @type {string}
3759
+ * @memberof ClientEvent
3605
3760
  */
3606
- custom?: { [key: string]: any };
3761
+ coordinator_connect_id?: string;
3607
3762
  /**
3608
- *
3609
- * @type {string}
3610
- * @memberof ConnectUserDetailsRequest
3763
+ * Milliseconds elapsed between the stage attempt's initiation and this event.
3764
+ * @type {number}
3765
+ * @memberof ClientEvent
3611
3766
  */
3612
- id: string;
3767
+ elapsed_time?: number;
3613
3768
  /**
3614
- *
3769
+ * Whether the event marks the start (initiated) or resolution (completed) of a stage attempt, or another event-specific value
3615
3770
  * @type {string}
3616
- * @memberof ConnectUserDetailsRequest
3771
+ * @memberof ClientEvent
3617
3772
  */
3618
- image?: string;
3773
+ event_type?: string;
3619
3774
  /**
3620
- *
3621
- * @type {boolean}
3622
- * @memberof ConnectUserDetailsRequest
3775
+ * Terminal state of the peer connection. Required on PeerConnectionConnect failure.
3776
+ * @type {string}
3777
+ * @memberof ClientEvent
3623
3778
  */
3624
- invisible?: boolean;
3779
+ ice_state?: string;
3625
3780
  /**
3626
- *
3781
+ * Call ID associated with the event. Required on every stage except CoordinatorWS, where it is optional.
3627
3782
  * @type {string}
3628
- * @memberof ConnectUserDetailsRequest
3783
+ * @memberof ClientEvent
3629
3784
  */
3630
- language?: string;
3785
+ id?: string;
3631
3786
  /**
3632
- *
3787
+ * UUID generated by the client and shared across JoinInitiated and the join-lifecycle events (CoordinatorJoin, WSJoin, PeerConnectionConnect) of the same overall join attempt. Required on every join event except CoordinatorWS, which is reported before a join attempt is established.
3633
3788
  * @type {string}
3634
- * @memberof ConnectUserDetailsRequest
3789
+ * @memberof ClientEvent
3635
3790
  */
3636
- name?: string;
3791
+ join_attempt_id?: string;
3792
+ /**
3793
+ * Reason the client initiated the join. Optional on CoordinatorJoin events; empty when not provided.
3794
+ * @type {string}
3795
+ * @memberof ClientEvent
3796
+ */
3797
+ join_reason?: string;
3798
+ /**
3799
+ * Microphone permission status: INITIATED, FAILED, GRANTED, or NOT_INITIATED. Required on every MediaDevicePermission event.
3800
+ * @type {string}
3801
+ * @memberof ClientEvent
3802
+ */
3803
+ microphone_permission_status?: string;
3804
+ /**
3805
+ * Resolution of a completed event: success or failure. Required on completed join events; forbidden on initiated join events.
3806
+ * @type {string}
3807
+ * @memberof ClientEvent
3808
+ */
3809
+ outcome?: string;
3810
+ /**
3811
+ * Which peer connection a PeerConnectionConnect event reports on: publish or subscribe. Required on every PeerConnectionConnect event.
3812
+ * @type {string}
3813
+ * @memberof ClientEvent
3814
+ */
3815
+ peer_connection?: string;
3816
+ /**
3817
+ * UTC timestamp at which the ICE connection was established earlier in the session, when applicable
3818
+ * @type {string}
3819
+ * @memberof ClientEvent
3820
+ */
3821
+ previously_connected_timestamp?: string;
3822
+ /**
3823
+ * Total in-stage retries the client made before resolving (0–1000). Required on completed join events.
3824
+ * @type {number}
3825
+ * @memberof ClientEvent
3826
+ */
3827
+ retry_count_attempt?: number;
3828
+ /**
3829
+ * Failure code string. Required on CoordinatorJoin, CoordinatorWS, WSJoin, and PeerConnectionConnect failure.
3830
+ * @type {string}
3831
+ * @memberof ClientEvent
3832
+ */
3833
+ retry_failure_code?: string;
3834
+ /**
3835
+ * Failure reason string. Required on CoordinatorJoin, CoordinatorWS, WSJoin, and PeerConnectionConnect failure.
3836
+ * @type {string}
3837
+ * @memberof ClientEvent
3838
+ */
3839
+ retry_failure_reason?: string;
3840
+ /**
3841
+ * Screen-share permission status: INITIATED, FAILED, GRANTED, or NOT_INITIATED. Optional on MediaDevicePermission events.
3842
+ * @type {string}
3843
+ * @memberof ClientEvent
3844
+ */
3845
+ screen_share_status?: string;
3846
+ /**
3847
+ * Version of the client SDK
3848
+ * @type {string}
3849
+ * @memberof ClientEvent
3850
+ */
3851
+ sdk_version?: string;
3852
+ /**
3853
+ * Identifier of the SFU the client was attempting to connect to. Required on WSJoin and PeerConnectionConnect failure, and on FirstAudioFrame and FirstVideoFrame.
3854
+ * @type {string}
3855
+ * @memberof ClientEvent
3856
+ */
3857
+ sfu_id?: string;
3858
+ /**
3859
+ * Discriminator identifying the event kind. JoinInitiated marks the start of a join attempt; join-lifecycle events use CoordinatorJoin, CoordinatorWS, WSJoin, or PeerConnectionConnect; media-readiness events use FirstAudioFrame or FirstVideoFrame; MediaDevicePermission reports device permission results; other values denote generic client events.
3860
+ * @type {string}
3861
+ * @memberof ClientEvent
3862
+ */
3863
+ stage?: string;
3864
+ /**
3865
+ * UUID generated by the client at initiation. Identical on the matching completion event. Absent on JoinInitiated.
3866
+ * @type {string}
3867
+ * @memberof ClientEvent
3868
+ */
3869
+ stage_id?: string;
3870
+ /**
3871
+ * UTC timestamp at which the event was recorded
3872
+ * @type {string}
3873
+ * @memberof ClientEvent
3874
+ */
3875
+ timestamp?: string;
3876
+ /**
3877
+ * Identifier of the media track the frame belongs to. Required on FirstVideoFrame; optional on FirstAudioFrame.
3878
+ * @type {string}
3879
+ * @memberof ClientEvent
3880
+ */
3881
+ track_id?: string;
3882
+ /**
3883
+ * Call type associated with the event. Required on every stage except CoordinatorWS, where it is optional.
3884
+ * @type {string}
3885
+ * @memberof ClientEvent
3886
+ */
3887
+ type?: string;
3888
+ /**
3889
+ * User agent string of the client SDK
3890
+ * @type {string}
3891
+ * @memberof ClientEvent
3892
+ */
3893
+ user_agent?: string;
3894
+ /**
3895
+ * ID of the user the event was recorded for
3896
+ * @type {string}
3897
+ * @memberof ClientEvent
3898
+ */
3899
+ user_id?: string;
3900
+ /**
3901
+ * Whether the ICE connection had been established earlier in the same session. Required on every PeerConnectionConnect event so reconnects can be distinguished from fresh connects.
3902
+ * @type {boolean}
3903
+ * @memberof ClientEvent
3904
+ */
3905
+ was_previously_connected?: boolean;
3906
+ }
3907
+ /**
3908
+ * This event is sent when closed captions are being sent in a call, clients should use this to show the closed captions in the call screen
3909
+ * @export
3910
+ * @interface ClosedCaptionEvent
3911
+ */
3912
+ export interface ClosedCaptionEvent {
3913
+ /**
3914
+ *
3915
+ * @type {string}
3916
+ * @memberof ClosedCaptionEvent
3917
+ */
3918
+ call_cid: string;
3919
+ /**
3920
+ *
3921
+ * @type {CallClosedCaption}
3922
+ * @memberof ClosedCaptionEvent
3923
+ */
3924
+ closed_caption: CallClosedCaption;
3925
+ /**
3926
+ *
3927
+ * @type {string}
3928
+ * @memberof ClosedCaptionEvent
3929
+ */
3930
+ created_at: string;
3931
+ /**
3932
+ * The type of event: "call.closed_caption" in this case
3933
+ * @type {string}
3934
+ * @memberof ClosedCaptionEvent
3935
+ */
3936
+ type: string;
3937
+ }
3938
+ /**
3939
+ *
3940
+ * @export
3941
+ * @interface CollectUserFeedbackRequest
3942
+ */
3943
+ export interface CollectUserFeedbackRequest {
3944
+ /**
3945
+ *
3946
+ * @type {{ [key: string]: any; }}
3947
+ * @memberof CollectUserFeedbackRequest
3948
+ */
3949
+ custom?: { [key: string]: any };
3950
+ /**
3951
+ *
3952
+ * @type {number}
3953
+ * @memberof CollectUserFeedbackRequest
3954
+ */
3955
+ rating: number;
3956
+ /**
3957
+ *
3958
+ * @type {string}
3959
+ * @memberof CollectUserFeedbackRequest
3960
+ */
3961
+ reason?: string;
3962
+ /**
3963
+ *
3964
+ * @type {string}
3965
+ * @memberof CollectUserFeedbackRequest
3966
+ */
3967
+ sdk: string;
3968
+ /**
3969
+ *
3970
+ * @type {string}
3971
+ * @memberof CollectUserFeedbackRequest
3972
+ */
3973
+ sdk_version: string;
3974
+ /**
3975
+ *
3976
+ * @type {string}
3977
+ * @memberof CollectUserFeedbackRequest
3978
+ */
3979
+ user_session_id?: string;
3980
+ }
3981
+ /**
3982
+ * Basic response information
3983
+ * @export
3984
+ * @interface CollectUserFeedbackResponse
3985
+ */
3986
+ export interface CollectUserFeedbackResponse {
3987
+ /**
3988
+ * Duration of the request in milliseconds
3989
+ * @type {string}
3990
+ * @memberof CollectUserFeedbackResponse
3991
+ */
3992
+ duration: string;
3993
+ }
3994
+ /**
3995
+ *
3996
+ * @export
3997
+ * @interface CompositeRecordingResponse
3998
+ */
3999
+ export interface CompositeRecordingResponse {
4000
+ /**
4001
+ *
4002
+ * @type {string}
4003
+ * @memberof CompositeRecordingResponse
4004
+ */
4005
+ status: string;
4006
+ }
4007
+ /**
4008
+ *
4009
+ * @export
4010
+ * @interface ConnectUserDetailsRequest
4011
+ */
4012
+ export interface ConnectUserDetailsRequest {
4013
+ /**
4014
+ *
4015
+ * @type {{ [key: string]: any; }}
4016
+ * @memberof ConnectUserDetailsRequest
4017
+ */
4018
+ custom?: { [key: string]: any };
4019
+ /**
4020
+ *
4021
+ * @type {string}
4022
+ * @memberof ConnectUserDetailsRequest
4023
+ */
4024
+ id: string;
4025
+ /**
4026
+ *
4027
+ * @type {string}
4028
+ * @memberof ConnectUserDetailsRequest
4029
+ */
4030
+ image?: string;
4031
+ /**
4032
+ *
4033
+ * @type {boolean}
4034
+ * @memberof ConnectUserDetailsRequest
4035
+ */
4036
+ invisible?: boolean;
4037
+ /**
4038
+ *
4039
+ * @type {string}
4040
+ * @memberof ConnectUserDetailsRequest
4041
+ */
4042
+ language?: string;
4043
+ /**
4044
+ *
4045
+ * @type {string}
4046
+ * @memberof ConnectUserDetailsRequest
4047
+ */
4048
+ name?: string;
3637
4049
  /**
3638
4050
  *
3639
4051
  * @type {object}
@@ -3704,21 +4116,21 @@ export interface ConnectionErrorEvent {
3704
4116
  type: string;
3705
4117
  }
3706
4118
  /**
3707
- *
4119
+ * Geographic coordinates
3708
4120
  * @export
3709
- * @interface Coordinates
4121
+ * @interface CoordinatesResponse
3710
4122
  */
3711
- export interface Coordinates {
4123
+ export interface CoordinatesResponse {
3712
4124
  /**
3713
- *
4125
+ * Latitude coordinate
3714
4126
  * @type {number}
3715
- * @memberof Coordinates
4127
+ * @memberof CoordinatesResponse
3716
4128
  */
3717
4129
  latitude: number;
3718
4130
  /**
3719
- *
4131
+ * Longitude coordinate
3720
4132
  * @type {number}
3721
- * @memberof Coordinates
4133
+ * @memberof CoordinatesResponse
3722
4134
  */
3723
4135
  longitude: number;
3724
4136
  }
@@ -3747,6 +4159,12 @@ export interface CountByMinuteResponse {
3747
4159
  * @interface CreateDeviceRequest
3748
4160
  */
3749
4161
  export interface CreateDeviceRequest {
4162
+ /**
4163
+ * Stable physical device identifier used to deduplicate pushes across push providers (e.g. APNs VoIP and Firebase on the same iOS device). Distinct from 'id', which is the push token.
4164
+ * @type {string}
4165
+ * @memberof CreateDeviceRequest
4166
+ */
4167
+ hardware_id?: string;
3750
4168
  /**
3751
4169
  * Device ID
3752
4170
  * @type {string}
@@ -3831,10 +4249,10 @@ export interface CreateGuestResponse {
3831
4249
  export interface Credentials {
3832
4250
  /**
3833
4251
  *
3834
- * @type {Array<ICEServer>}
4252
+ * @type {Array<ICEServerResponse>}
3835
4253
  * @memberof Credentials
3836
4254
  */
3837
- ice_servers: Array<ICEServer>;
4255
+ ice_servers: Array<ICEServerResponse>;
3838
4256
  /**
3839
4257
  *
3840
4258
  * @type {SFUResponse}
@@ -4087,6 +4505,12 @@ export interface DeviceResponse {
4087
4505
  * @memberof DeviceResponse
4088
4506
  */
4089
4507
  disabled_reason?: string;
4508
+ /**
4509
+ * Stable physical device identifier used to deduplicate pushes across push providers
4510
+ * @type {string}
4511
+ * @memberof DeviceResponse
4512
+ */
4513
+ hardware_id?: string;
4090
4514
  /**
4091
4515
  * Device ID
4092
4516
  * @type {string}
@@ -4284,6 +4708,56 @@ export interface EgressResponse {
4284
4708
  */
4285
4709
  rtmps: Array<EgressRTMPResponse>;
4286
4710
  }
4711
+ /**
4712
+ *
4713
+ * @export
4714
+ * @interface EncryptionSettingsRequest
4715
+ */
4716
+ export interface EncryptionSettingsRequest {
4717
+ /**
4718
+ * Encryption mode. One of: available, disabled, auto-on
4719
+ * @type {string}
4720
+ * @memberof EncryptionSettingsRequest
4721
+ */
4722
+ mode?: EncryptionSettingsRequestModeEnum;
4723
+ }
4724
+
4725
+ /**
4726
+ * @export
4727
+ */
4728
+ export const EncryptionSettingsRequestModeEnum = {
4729
+ AVAILABLE: 'available',
4730
+ DISABLED: 'disabled',
4731
+ AUTO_ON: 'auto-on',
4732
+ } as const;
4733
+ export type EncryptionSettingsRequestModeEnum =
4734
+ (typeof EncryptionSettingsRequestModeEnum)[keyof typeof EncryptionSettingsRequestModeEnum];
4735
+
4736
+ /**
4737
+ * EncryptionSettings is the payload for end-to-end encryption settings
4738
+ * @export
4739
+ * @interface EncryptionSettingsResponse
4740
+ */
4741
+ export interface EncryptionSettingsResponse {
4742
+ /**
4743
+ * the resolved encryption mode for the call
4744
+ * @type {string}
4745
+ * @memberof EncryptionSettingsResponse
4746
+ */
4747
+ mode: EncryptionSettingsResponseModeEnum;
4748
+ }
4749
+
4750
+ /**
4751
+ * @export
4752
+ */
4753
+ export const EncryptionSettingsResponseModeEnum = {
4754
+ AVAILABLE: 'available',
4755
+ DISABLED: 'disabled',
4756
+ AUTO_ON: 'auto-on',
4757
+ } as const;
4758
+ export type EncryptionSettingsResponseModeEnum =
4759
+ (typeof EncryptionSettingsResponseModeEnum)[keyof typeof EncryptionSettingsResponseModeEnum];
4760
+
4287
4761
  /**
4288
4762
  * Response for ending a call
4289
4763
  * @export
@@ -4309,12 +4783,24 @@ export interface FeedsPreferencesResponse {
4309
4783
  * @memberof FeedsPreferencesResponse
4310
4784
  */
4311
4785
  comment?: string;
4786
+ /**
4787
+ *
4788
+ * @type {string}
4789
+ * @memberof FeedsPreferencesResponse
4790
+ */
4791
+ comment_mention?: string;
4312
4792
  /**
4313
4793
  *
4314
4794
  * @type {string}
4315
4795
  * @memberof FeedsPreferencesResponse
4316
4796
  */
4317
4797
  comment_reaction?: string;
4798
+ /**
4799
+ *
4800
+ * @type {string}
4801
+ * @memberof FeedsPreferencesResponse
4802
+ */
4803
+ comment_reply?: string;
4318
4804
  /**
4319
4805
  *
4320
4806
  * @type {{ [key: string]: string; }}
@@ -4503,6 +4989,67 @@ export interface GeofenceSettingsResponse {
4503
4989
  */
4504
4990
  names: Array<string>;
4505
4991
  }
4992
+ /**
4993
+ * Basic response information
4994
+ * @export
4995
+ * @interface GetCallParticipantSessionMetricsResponse
4996
+ */
4997
+ export interface GetCallParticipantSessionMetricsResponse {
4998
+ /**
4999
+ *
5000
+ * @type {SessionClient}
5001
+ * @memberof GetCallParticipantSessionMetricsResponse
5002
+ */
5003
+ client?: SessionClient;
5004
+ /**
5005
+ * Duration of the request in milliseconds
5006
+ * @type {string}
5007
+ * @memberof GetCallParticipantSessionMetricsResponse
5008
+ */
5009
+ duration: string;
5010
+ /**
5011
+ *
5012
+ * @type {boolean}
5013
+ * @memberof GetCallParticipantSessionMetricsResponse
5014
+ */
5015
+ is_publisher?: boolean;
5016
+ /**
5017
+ *
5018
+ * @type {boolean}
5019
+ * @memberof GetCallParticipantSessionMetricsResponse
5020
+ */
5021
+ is_subscriber?: boolean;
5022
+ /**
5023
+ *
5024
+ * @type {string}
5025
+ * @memberof GetCallParticipantSessionMetricsResponse
5026
+ */
5027
+ joined_at?: string;
5028
+ /**
5029
+ *
5030
+ * @type {Array<PublishedTrackMetrics>}
5031
+ * @memberof GetCallParticipantSessionMetricsResponse
5032
+ */
5033
+ published_tracks?: Array<PublishedTrackMetrics>;
5034
+ /**
5035
+ *
5036
+ * @type {string}
5037
+ * @memberof GetCallParticipantSessionMetricsResponse
5038
+ */
5039
+ publisher_type?: string;
5040
+ /**
5041
+ *
5042
+ * @type {string}
5043
+ * @memberof GetCallParticipantSessionMetricsResponse
5044
+ */
5045
+ user_id?: string;
5046
+ /**
5047
+ *
5048
+ * @type {string}
5049
+ * @memberof GetCallParticipantSessionMetricsResponse
5050
+ */
5051
+ user_session_id?: string;
5052
+ }
4506
5053
  /**
4507
5054
  * Basic response information
4508
5055
  * @export
@@ -4855,24 +5402,43 @@ export interface GroupedStatsResponse {
4855
5402
  */
4856
5403
  export interface HLSSettingsRequest {
4857
5404
  /**
4858
- *
5405
+ * Whether HLS broadcasting should start automatically
4859
5406
  * @type {boolean}
4860
5407
  * @memberof HLSSettingsRequest
4861
5408
  */
4862
5409
  auto_on?: boolean;
4863
5410
  /**
4864
- *
5411
+ * Whether HLS broadcasting is enabled
4865
5412
  * @type {boolean}
4866
5413
  * @memberof HLSSettingsRequest
4867
5414
  */
4868
5415
  enabled?: boolean;
4869
5416
  /**
4870
- *
5417
+ * Quality tracks for HLS. One of: 360p, 480p, 720p, 1080p, 1440p, portrait-360x640, portrait-480x854, portrait-720x1280, portrait-1080x1920, portrait-1440x2560
4871
5418
  * @type {Array<string>}
4872
5419
  * @memberof HLSSettingsRequest
4873
5420
  */
4874
- quality_tracks: Array<string>;
5421
+ quality_tracks: Array<HLSSettingsRequestQualityTracksEnum>;
4875
5422
  }
5423
+
5424
+ /**
5425
+ * @export
5426
+ */
5427
+ export const HLSSettingsRequestQualityTracksEnum = {
5428
+ _360P: '360p',
5429
+ _480P: '480p',
5430
+ _720P: '720p',
5431
+ _1080P: '1080p',
5432
+ _1440P: '1440p',
5433
+ PORTRAIT_360X640: 'portrait-360x640',
5434
+ PORTRAIT_480X854: 'portrait-480x854',
5435
+ PORTRAIT_720X1280: 'portrait-720x1280',
5436
+ PORTRAIT_1080X1920: 'portrait-1080x1920',
5437
+ PORTRAIT_1440X2560: 'portrait-1440x2560',
5438
+ } as const;
5439
+ export type HLSSettingsRequestQualityTracksEnum =
5440
+ (typeof HLSSettingsRequestQualityTracksEnum)[keyof typeof HLSSettingsRequestQualityTracksEnum];
5441
+
4876
5442
  /**
4877
5443
  * HLSSettings is the payload for HLS settings
4878
5444
  * @export
@@ -4942,27 +5508,27 @@ export interface HealthCheckEvent {
4942
5508
  type: string;
4943
5509
  }
4944
5510
  /**
4945
- *
5511
+ * ICE server configuration for WebRTC connections
4946
5512
  * @export
4947
- * @interface ICEServer
5513
+ * @interface ICEServerResponse
4948
5514
  */
4949
- export interface ICEServer {
5515
+ export interface ICEServerResponse {
4950
5516
  /**
4951
- *
5517
+ * ICE server password
4952
5518
  * @type {string}
4953
- * @memberof ICEServer
5519
+ * @memberof ICEServerResponse
4954
5520
  */
4955
5521
  password: string;
4956
5522
  /**
4957
- *
5523
+ * ICE server URLs
4958
5524
  * @type {Array<string>}
4959
- * @memberof ICEServer
5525
+ * @memberof ICEServerResponse
4960
5526
  */
4961
5527
  urls: Array<string>;
4962
5528
  /**
4963
- *
5529
+ * ICE server username
4964
5530
  * @type {string}
4965
- * @memberof ICEServer
5531
+ * @memberof ICEServerResponse
4966
5532
  */
4967
5533
  username: string;
4968
5534
  }
@@ -4986,11 +5552,17 @@ export interface IndividualRecordingResponse {
4986
5552
  */
4987
5553
  export interface IndividualRecordingSettingsRequest {
4988
5554
  /**
4989
- *
5555
+ * Recording mode. One of: available, disabled, auto-on
4990
5556
  * @type {string}
4991
5557
  * @memberof IndividualRecordingSettingsRequest
4992
5558
  */
4993
5559
  mode: IndividualRecordingSettingsRequestModeEnum;
5560
+ /**
5561
+ * Output types to include: audio_only, video_only, audio_video, screenshare_audio_only, screenshare_video_only, screenshare_audio_video
5562
+ * @type {Array<string>}
5563
+ * @memberof IndividualRecordingSettingsRequest
5564
+ */
5565
+ output_types?: Array<IndividualRecordingSettingsRequestOutputTypesEnum>;
4994
5566
  }
4995
5567
 
4996
5568
  /**
@@ -5004,6 +5576,20 @@ export const IndividualRecordingSettingsRequestModeEnum = {
5004
5576
  export type IndividualRecordingSettingsRequestModeEnum =
5005
5577
  (typeof IndividualRecordingSettingsRequestModeEnum)[keyof typeof IndividualRecordingSettingsRequestModeEnum];
5006
5578
 
5579
+ /**
5580
+ * @export
5581
+ */
5582
+ export const IndividualRecordingSettingsRequestOutputTypesEnum = {
5583
+ AUDIO_ONLY: 'audio_only',
5584
+ VIDEO_ONLY: 'video_only',
5585
+ AUDIO_VIDEO: 'audio_video',
5586
+ SCREENSHARE_AUDIO_ONLY: 'screenshare_audio_only',
5587
+ SCREENSHARE_VIDEO_ONLY: 'screenshare_video_only',
5588
+ SCREENSHARE_AUDIO_VIDEO: 'screenshare_audio_video',
5589
+ } as const;
5590
+ export type IndividualRecordingSettingsRequestOutputTypesEnum =
5591
+ (typeof IndividualRecordingSettingsRequestOutputTypesEnum)[keyof typeof IndividualRecordingSettingsRequestOutputTypesEnum];
5592
+
5007
5593
  /**
5008
5594
  *
5009
5595
  * @export
@@ -5016,6 +5602,12 @@ export interface IndividualRecordingSettingsResponse {
5016
5602
  * @memberof IndividualRecordingSettingsResponse
5017
5603
  */
5018
5604
  mode: IndividualRecordingSettingsResponseModeEnum;
5605
+ /**
5606
+ *
5607
+ * @type {Array<string>}
5608
+ * @memberof IndividualRecordingSettingsResponse
5609
+ */
5610
+ output_types?: Array<string>;
5019
5611
  }
5020
5612
 
5021
5613
  /**
@@ -5344,6 +5936,12 @@ export interface JoinCallRequest {
5344
5936
  * @memberof JoinCallRequest
5345
5937
  */
5346
5938
  data?: CallRequest;
5939
+ /**
5940
+ * the encryption mode the client intends to use for this join; the join is rejected if it does not match the call's encryption configuration
5941
+ * @type {boolean}
5942
+ * @memberof JoinCallRequest
5943
+ */
5944
+ e2ee?: boolean;
5347
5945
  /**
5348
5946
  * if true, the participant will be marked as publsihing to large audience
5349
5947
  * @type {boolean}
@@ -5688,27 +6286,27 @@ export interface ListTranscriptionsResponse {
5688
6286
  transcriptions: Array<CallTranscription>;
5689
6287
  }
5690
6288
  /**
5691
- *
6289
+ * Geographic location metadata
5692
6290
  * @export
5693
- * @interface Location
6291
+ * @interface LocationResponse
5694
6292
  */
5695
- export interface Location {
6293
+ export interface LocationResponse {
5696
6294
  /**
5697
- *
6295
+ * Continent code
5698
6296
  * @type {string}
5699
- * @memberof Location
6297
+ * @memberof LocationResponse
5700
6298
  */
5701
6299
  continent_code: string;
5702
6300
  /**
5703
- *
6301
+ * Country ISO code
5704
6302
  * @type {string}
5705
- * @memberof Location
6303
+ * @memberof LocationResponse
5706
6304
  */
5707
6305
  country_iso_code: string;
5708
6306
  /**
5709
- *
6307
+ * Subdivision ISO code
5710
6308
  * @type {string}
5711
- * @memberof Location
6309
+ * @memberof LocationResponse
5712
6310
  */
5713
6311
  subdivision_iso_code: string;
5714
6312
  }
@@ -5861,6 +6459,19 @@ export interface MetricThreshold {
5861
6459
  */
5862
6460
  window_seconds?: number;
5863
6461
  }
6462
+ /**
6463
+ *
6464
+ * @export
6465
+ * @interface MetricTimeSeries
6466
+ */
6467
+ export interface MetricTimeSeries {
6468
+ /**
6469
+ *
6470
+ * @type {Array<Array<number>>}
6471
+ * @memberof MetricTimeSeries
6472
+ */
6473
+ data_points?: Array<Array<number>>;
6474
+ }
5864
6475
  /**
5865
6476
  *
5866
6477
  * @export
@@ -6483,6 +7094,55 @@ export interface ParticipantSeriesUserStats {
6483
7094
  */
6484
7095
  thresholds?: { [key: string]: Array<MetricThreshold> };
6485
7096
  }
7097
+ /**
7098
+ *
7099
+ * @export
7100
+ * @interface ParticipantSessionDetails
7101
+ */
7102
+ export interface ParticipantSessionDetails {
7103
+ /**
7104
+ *
7105
+ * @type {number}
7106
+ * @memberof ParticipantSessionDetails
7107
+ */
7108
+ duration_in_seconds?: number;
7109
+ /**
7110
+ *
7111
+ * @type {string}
7112
+ * @memberof ParticipantSessionDetails
7113
+ */
7114
+ joined_at?: string;
7115
+ /**
7116
+ *
7117
+ * @type {string}
7118
+ * @memberof ParticipantSessionDetails
7119
+ */
7120
+ left_at?: string;
7121
+ /**
7122
+ *
7123
+ * @type {string}
7124
+ * @memberof ParticipantSessionDetails
7125
+ */
7126
+ publisher_type: string;
7127
+ /**
7128
+ *
7129
+ * @type {Array<string>}
7130
+ * @memberof ParticipantSessionDetails
7131
+ */
7132
+ roles: Array<string>;
7133
+ /**
7134
+ *
7135
+ * @type {string}
7136
+ * @memberof ParticipantSessionDetails
7137
+ */
7138
+ user_id: string;
7139
+ /**
7140
+ *
7141
+ * @type {string}
7142
+ * @memberof ParticipantSessionDetails
7143
+ */
7144
+ user_session_id: string;
7145
+ }
6486
7146
  /**
6487
7147
  *
6488
7148
  * @export
@@ -6603,6 +7263,55 @@ export interface PublishedTrackFlags {
6603
7263
  */
6604
7264
  video: boolean;
6605
7265
  }
7266
+ /**
7267
+ *
7268
+ * @export
7269
+ * @interface PublishedTrackMetrics
7270
+ */
7271
+ export interface PublishedTrackMetrics {
7272
+ /**
7273
+ *
7274
+ * @type {MetricTimeSeries}
7275
+ * @memberof PublishedTrackMetrics
7276
+ */
7277
+ bitrate?: MetricTimeSeries;
7278
+ /**
7279
+ *
7280
+ * @type {string}
7281
+ * @memberof PublishedTrackMetrics
7282
+ */
7283
+ codec?: string;
7284
+ /**
7285
+ *
7286
+ * @type {MetricTimeSeries}
7287
+ * @memberof PublishedTrackMetrics
7288
+ */
7289
+ framerate?: MetricTimeSeries;
7290
+ /**
7291
+ *
7292
+ * @type {ResolutionMetricsTimeSeries}
7293
+ * @memberof PublishedTrackMetrics
7294
+ */
7295
+ resolution?: ResolutionMetricsTimeSeries;
7296
+ /**
7297
+ *
7298
+ * @type {string}
7299
+ * @memberof PublishedTrackMetrics
7300
+ */
7301
+ track_id?: string;
7302
+ /**
7303
+ *
7304
+ * @type {string}
7305
+ * @memberof PublishedTrackMetrics
7306
+ */
7307
+ track_type?: string;
7308
+ /**
7309
+ *
7310
+ * @type {Array<SessionWarningResponse>}
7311
+ * @memberof PublishedTrackMetrics
7312
+ */
7313
+ warnings?: Array<SessionWarningResponse>;
7314
+ }
6606
7315
  /**
6607
7316
  *
6608
7317
  * @export
@@ -6646,6 +7355,12 @@ export interface PushPreferencesResponse {
6646
7355
  * @memberof PushPreferencesResponse
6647
7356
  */
6648
7357
  chat_level?: string;
7358
+ /**
7359
+ *
7360
+ * @type {ChatPreferencesResponse}
7361
+ * @memberof PushPreferencesResponse
7362
+ */
7363
+ chat_preferences?: ChatPreferencesResponse;
6649
7364
  /**
6650
7365
  *
6651
7366
  * @type {string}
@@ -6778,7 +7493,7 @@ export interface QueryAggregateCallStatsResponse {
6778
7493
  */
6779
7494
  export interface QueryCallMembersRequest {
6780
7495
  /**
6781
- *
7496
+ * Filter conditions to apply to the query
6782
7497
  * @type {{ [key: string]: any; }}
6783
7498
  * @memberof QueryCallMembersRequest
6784
7499
  */
@@ -6808,7 +7523,7 @@ export interface QueryCallMembersRequest {
6808
7523
  */
6809
7524
  prev?: string;
6810
7525
  /**
6811
- *
7526
+ * Array of sort parameters
6812
7527
  * @type {Array<SortParamRequest>}
6813
7528
  * @memberof QueryCallMembersRequest
6814
7529
  */
@@ -6851,6 +7566,73 @@ export interface QueryCallMembersResponse {
6851
7566
  */
6852
7567
  prev?: string;
6853
7568
  }
7569
+ /**
7570
+ * Basic response information
7571
+ * @export
7572
+ * @interface QueryCallParticipantSessionsResponse
7573
+ */
7574
+ export interface QueryCallParticipantSessionsResponse {
7575
+ /**
7576
+ *
7577
+ * @type {string}
7578
+ * @memberof QueryCallParticipantSessionsResponse
7579
+ */
7580
+ call_id: string;
7581
+ /**
7582
+ *
7583
+ * @type {string}
7584
+ * @memberof QueryCallParticipantSessionsResponse
7585
+ */
7586
+ call_session_id: string;
7587
+ /**
7588
+ *
7589
+ * @type {string}
7590
+ * @memberof QueryCallParticipantSessionsResponse
7591
+ */
7592
+ call_type: string;
7593
+ /**
7594
+ * Duration of the request in milliseconds
7595
+ * @type {number}
7596
+ * @memberof QueryCallParticipantSessionsResponse
7597
+ */
7598
+ duration: number;
7599
+ /**
7600
+ *
7601
+ * @type {string}
7602
+ * @memberof QueryCallParticipantSessionsResponse
7603
+ */
7604
+ next?: string;
7605
+ /**
7606
+ *
7607
+ * @type {Array<ParticipantSessionDetails>}
7608
+ * @memberof QueryCallParticipantSessionsResponse
7609
+ */
7610
+ participants_sessions: Array<ParticipantSessionDetails>;
7611
+ /**
7612
+ *
7613
+ * @type {string}
7614
+ * @memberof QueryCallParticipantSessionsResponse
7615
+ */
7616
+ prev?: string;
7617
+ /**
7618
+ *
7619
+ * @type {CallSessionResponse}
7620
+ * @memberof QueryCallParticipantSessionsResponse
7621
+ */
7622
+ session?: CallSessionResponse;
7623
+ /**
7624
+ *
7625
+ * @type {number}
7626
+ * @memberof QueryCallParticipantSessionsResponse
7627
+ */
7628
+ total_participant_duration: number;
7629
+ /**
7630
+ *
7631
+ * @type {number}
7632
+ * @memberof QueryCallParticipantSessionsResponse
7633
+ */
7634
+ total_participant_sessions: number;
7635
+ }
6854
7636
  /**
6855
7637
  *
6856
7638
  * @export
@@ -6858,7 +7640,7 @@ export interface QueryCallMembersResponse {
6858
7640
  */
6859
7641
  export interface QueryCallParticipantsRequest {
6860
7642
  /**
6861
- *
7643
+ * Filter conditions to apply to the query
6862
7644
  * @type {{ [key: string]: any; }}
6863
7645
  * @memberof QueryCallParticipantsRequest
6864
7646
  */
@@ -6925,6 +7707,12 @@ export interface QueryCallSessionParticipantStatsResponse {
6925
7707
  * @memberof QueryCallSessionParticipantStatsResponse
6926
7708
  */
6927
7709
  call_ended_at?: string;
7710
+ /**
7711
+ *
7712
+ * @type {Array<CallLevelEventPayload>}
7713
+ * @memberof QueryCallSessionParticipantStatsResponse
7714
+ */
7715
+ call_events?: Array<CallLevelEventPayload>;
6928
7716
  /**
6929
7717
  *
6930
7718
  * @type {string}
@@ -7035,6 +7823,74 @@ export interface QueryCallSessionParticipantStatsTimelineResponse {
7035
7823
  */
7036
7824
  user_session_id: string;
7037
7825
  }
7826
+ /**
7827
+ *
7828
+ * @export
7829
+ * @interface QueryCallSessionStatsRequest
7830
+ */
7831
+ export interface QueryCallSessionStatsRequest {
7832
+ /**
7833
+ * Filter conditions to apply to the query
7834
+ * @type {{ [key: string]: any; }}
7835
+ * @memberof QueryCallSessionStatsRequest
7836
+ */
7837
+ filter_conditions?: { [key: string]: any };
7838
+ /**
7839
+ *
7840
+ * @type {number}
7841
+ * @memberof QueryCallSessionStatsRequest
7842
+ */
7843
+ limit?: number;
7844
+ /**
7845
+ *
7846
+ * @type {string}
7847
+ * @memberof QueryCallSessionStatsRequest
7848
+ */
7849
+ next?: string;
7850
+ /**
7851
+ *
7852
+ * @type {string}
7853
+ * @memberof QueryCallSessionStatsRequest
7854
+ */
7855
+ prev?: string;
7856
+ /**
7857
+ * Array of sort parameters
7858
+ * @type {Array<SortParamRequest>}
7859
+ * @memberof QueryCallSessionStatsRequest
7860
+ */
7861
+ sort?: Array<SortParamRequest>;
7862
+ }
7863
+ /**
7864
+ * Basic response information
7865
+ * @export
7866
+ * @interface QueryCallSessionStatsResponse
7867
+ */
7868
+ export interface QueryCallSessionStatsResponse {
7869
+ /**
7870
+ *
7871
+ * @type {Array<CallStatsSessionResponse>}
7872
+ * @memberof QueryCallSessionStatsResponse
7873
+ */
7874
+ call_stats: Array<CallStatsSessionResponse>;
7875
+ /**
7876
+ * Duration of the request in milliseconds
7877
+ * @type {string}
7878
+ * @memberof QueryCallSessionStatsResponse
7879
+ */
7880
+ duration: string;
7881
+ /**
7882
+ *
7883
+ * @type {string}
7884
+ * @memberof QueryCallSessionStatsResponse
7885
+ */
7886
+ next?: string;
7887
+ /**
7888
+ *
7889
+ * @type {string}
7890
+ * @memberof QueryCallSessionStatsResponse
7891
+ */
7892
+ prev?: string;
7893
+ }
7038
7894
  /**
7039
7895
  * Basic response information
7040
7896
  * @export
@@ -7133,7 +7989,7 @@ export interface QueryCallStatsMapResponse {
7133
7989
  */
7134
7990
  export interface QueryCallStatsRequest {
7135
7991
  /**
7136
- *
7992
+ * Filter conditions to apply to the query
7137
7993
  * @type {{ [key: string]: any; }}
7138
7994
  * @memberof QueryCallStatsRequest
7139
7995
  */
@@ -7157,7 +8013,7 @@ export interface QueryCallStatsRequest {
7157
8013
  */
7158
8014
  prev?: string;
7159
8015
  /**
7160
- *
8016
+ * Array of sort parameters
7161
8017
  * @type {Array<SortParamRequest>}
7162
8018
  * @memberof QueryCallStatsRequest
7163
8019
  */
@@ -7201,7 +8057,7 @@ export interface QueryCallStatsResponse {
7201
8057
  */
7202
8058
  export interface QueryCallsRequest {
7203
8059
  /**
7204
- *
8060
+ * Filter conditions to apply to the query
7205
8061
  * @type {{ [key: string]: any; }}
7206
8062
  * @memberof QueryCallsRequest
7207
8063
  */
@@ -7287,7 +8143,7 @@ export interface RTMPBroadcastRequest {
7287
8143
  */
7288
8144
  name: string;
7289
8145
  /**
7290
- * If provided, will override the call's RTMP settings quality
8146
+ * If provided, will override the call's RTMP settings quality. One of: 360p, 480p, 720p, 1080p, 1440p, portrait-360x640, portrait-480x854, portrait-720x1280, portrait-1080x1920, portrait-1440x2560
7291
8147
  * @type {string}
7292
8148
  * @memberof RTMPBroadcastRequest
7293
8149
  */
@@ -7344,13 +8200,13 @@ export interface RTMPIngress {
7344
8200
  */
7345
8201
  export interface RTMPSettingsRequest {
7346
8202
  /**
7347
- *
8203
+ * Whether RTMP broadcasting is enabled
7348
8204
  * @type {boolean}
7349
8205
  * @memberof RTMPSettingsRequest
7350
8206
  */
7351
8207
  enabled?: boolean;
7352
8208
  /**
7353
- * Resolution to set for the RTMP stream
8209
+ * Resolution to set for the RTMP stream. One of: 360p, 480p, 720p, 1080p, 1440p, portrait-360x640, portrait-480x854, portrait-720x1280, portrait-1080x1920, portrait-1440x2560
7354
8210
  * @type {string}
7355
8211
  * @memberof RTMPSettingsRequest
7356
8212
  */
@@ -7414,7 +8270,13 @@ export interface RawRecordingResponse {
7414
8270
  */
7415
8271
  export interface RawRecordingSettingsRequest {
7416
8272
  /**
7417
- *
8273
+ * If true, only audio tracks will be recorded
8274
+ * @type {boolean}
8275
+ * @memberof RawRecordingSettingsRequest
8276
+ */
8277
+ audio_only?: boolean;
8278
+ /**
8279
+ * Recording mode. One of: available, disabled, auto-on
7418
8280
  * @type {string}
7419
8281
  * @memberof RawRecordingSettingsRequest
7420
8282
  */
@@ -7438,6 +8300,12 @@ export type RawRecordingSettingsRequestModeEnum =
7438
8300
  * @interface RawRecordingSettingsResponse
7439
8301
  */
7440
8302
  export interface RawRecordingSettingsResponse {
8303
+ /**
8304
+ *
8305
+ * @type {boolean}
8306
+ * @memberof RawRecordingSettingsResponse
8307
+ */
8308
+ audio_only?: boolean;
7441
8309
  /**
7442
8310
  *
7443
8311
  * @type {string}
@@ -7454,40 +8322,9 @@ export const RawRecordingSettingsResponseModeEnum = {
7454
8322
  DISABLED: 'disabled',
7455
8323
  AUTO_ON: 'auto-on',
7456
8324
  } as const;
7457
- export type RawRecordingSettingsResponseModeEnum =
7458
- (typeof RawRecordingSettingsResponseModeEnum)[keyof typeof RawRecordingSettingsResponseModeEnum];
7459
-
7460
- /**
7461
- *
7462
- * @export
7463
- * @interface ReactionResponse
7464
- */
7465
- export interface ReactionResponse {
7466
- /**
7467
- *
7468
- * @type {{ [key: string]: any; }}
7469
- * @memberof ReactionResponse
7470
- */
7471
- custom?: { [key: string]: any };
7472
- /**
7473
- *
7474
- * @type {string}
7475
- * @memberof ReactionResponse
7476
- */
7477
- emoji_code?: string;
7478
- /**
7479
- *
7480
- * @type {string}
7481
- * @memberof ReactionResponse
7482
- */
7483
- type: string;
7484
- /**
7485
- *
7486
- * @type {UserResponse}
7487
- * @memberof ReactionResponse
7488
- */
7489
- user: UserResponse;
7490
- }
8325
+ export type RawRecordingSettingsResponseModeEnum =
8326
+ (typeof RawRecordingSettingsResponseModeEnum)[keyof typeof RawRecordingSettingsResponseModeEnum];
8327
+
7491
8328
  /**
7492
8329
  *
7493
8330
  * @export
@@ -7495,19 +8332,19 @@ export interface ReactionResponse {
7495
8332
  */
7496
8333
  export interface RecordSettingsRequest {
7497
8334
  /**
7498
- *
8335
+ * Whether to record audio only
7499
8336
  * @type {boolean}
7500
8337
  * @memberof RecordSettingsRequest
7501
8338
  */
7502
8339
  audio_only?: boolean;
7503
8340
  /**
7504
- *
8341
+ * Recording mode. One of: available, disabled, auto-on
7505
8342
  * @type {string}
7506
8343
  * @memberof RecordSettingsRequest
7507
8344
  */
7508
8345
  mode: RecordSettingsRequestModeEnum;
7509
8346
  /**
7510
- *
8347
+ * Recording quality. One of: 360p, 480p, 720p, 1080p, 1440p, portrait-360x640, portrait-480x854, portrait-720x1280, portrait-1080x1920, portrait-1440x2560
7511
8348
  * @type {string}
7512
8349
  * @memberof RecordSettingsRequest
7513
8350
  */
@@ -7631,6 +8468,32 @@ export interface ReportByHistogramBucket {
7631
8468
  */
7632
8469
  upper_bound?: Bound;
7633
8470
  }
8471
+ /**
8472
+ * Reports a batch of client-side telemetry events. Each event is validated and processed independently; one invalid event does not block the rest of the batch.
8473
+ * @export
8474
+ * @interface ReportClientEventRequest
8475
+ */
8476
+ export interface ReportClientEventRequest {
8477
+ /**
8478
+ * Client-side events to report (1-100 per request)
8479
+ * @type {Array<ClientEvent>}
8480
+ * @memberof ReportClientEventRequest
8481
+ */
8482
+ events: Array<ClientEvent>;
8483
+ }
8484
+ /**
8485
+ * Response for reporting client-side telemetry events
8486
+ * @export
8487
+ * @interface ReportClientEventResponse
8488
+ */
8489
+ export interface ReportClientEventResponse {
8490
+ /**
8491
+ * Duration of the request in milliseconds
8492
+ * @type {string}
8493
+ * @memberof ReportClientEventResponse
8494
+ */
8495
+ duration: string;
8496
+ }
7634
8497
  /**
7635
8498
  *
7636
8499
  * @export
@@ -7667,8 +8530,20 @@ export interface RequestPermissionRequest {
7667
8530
  * @type {Array<string>}
7668
8531
  * @memberof RequestPermissionRequest
7669
8532
  */
7670
- permissions: Array<string>;
8533
+ permissions: Array<RequestPermissionRequestPermissionsEnum>;
7671
8534
  }
8535
+
8536
+ /**
8537
+ * @export
8538
+ */
8539
+ export const RequestPermissionRequestPermissionsEnum = {
8540
+ SCREENSHARE: 'screenshare',
8541
+ SEND_AUDIO: 'send-audio',
8542
+ SEND_VIDEO: 'send-video',
8543
+ } as const;
8544
+ export type RequestPermissionRequestPermissionsEnum =
8545
+ (typeof RequestPermissionRequestPermissionsEnum)[keyof typeof RequestPermissionRequestPermissionsEnum];
8546
+
7672
8547
  /**
7673
8548
  *
7674
8549
  * @export
@@ -7682,6 +8557,93 @@ export interface RequestPermissionResponse {
7682
8557
  */
7683
8558
  duration: string;
7684
8559
  }
8560
+ /**
8561
+ *
8562
+ * @export
8563
+ * @interface ResolutionMetricsTimeSeries
8564
+ */
8565
+ export interface ResolutionMetricsTimeSeries {
8566
+ /**
8567
+ *
8568
+ * @type {MetricTimeSeries}
8569
+ * @memberof ResolutionMetricsTimeSeries
8570
+ */
8571
+ height?: MetricTimeSeries;
8572
+ /**
8573
+ *
8574
+ * @type {MetricTimeSeries}
8575
+ * @memberof ResolutionMetricsTimeSeries
8576
+ */
8577
+ width?: MetricTimeSeries;
8578
+ }
8579
+ /**
8580
+ * Request to determine SIP trunk authentication requirements
8581
+ * @export
8582
+ * @interface ResolveSipAuthRequest
8583
+ */
8584
+ export interface ResolveSipAuthRequest {
8585
+ /**
8586
+ * Host from the SIP From header
8587
+ * @type {string}
8588
+ * @memberof ResolveSipAuthRequest
8589
+ */
8590
+ from_host?: string;
8591
+ /**
8592
+ * SIP caller number
8593
+ * @type {string}
8594
+ * @memberof ResolveSipAuthRequest
8595
+ */
8596
+ sip_caller_number: string;
8597
+ /**
8598
+ * SIP trunk number to look up
8599
+ * @type {string}
8600
+ * @memberof ResolveSipAuthRequest
8601
+ */
8602
+ sip_trunk_number: string;
8603
+ /**
8604
+ * Transport-layer source IP address of the SIP request
8605
+ * @type {string}
8606
+ * @memberof ResolveSipAuthRequest
8607
+ */
8608
+ source_ip?: string;
8609
+ }
8610
+ /**
8611
+ * Response containing the pre-authentication decision for a SIP trunk
8612
+ * @export
8613
+ * @interface ResolveSipAuthResponse
8614
+ */
8615
+ export interface ResolveSipAuthResponse {
8616
+ /**
8617
+ * Authentication result: password, accept, or no_trunk_found
8618
+ * @type {string}
8619
+ * @memberof ResolveSipAuthResponse
8620
+ */
8621
+ auth_result: string;
8622
+ /**
8623
+ *
8624
+ * @type {string}
8625
+ * @memberof ResolveSipAuthResponse
8626
+ */
8627
+ duration: string;
8628
+ /**
8629
+ * Password for digest authentication (when auth_result is password)
8630
+ * @type {string}
8631
+ * @memberof ResolveSipAuthResponse
8632
+ */
8633
+ password?: string;
8634
+ /**
8635
+ * ID of the matched SIP trunk
8636
+ * @type {string}
8637
+ * @memberof ResolveSipAuthResponse
8638
+ */
8639
+ trunk_id?: string;
8640
+ /**
8641
+ * Username for digest authentication (when auth_result is password)
8642
+ * @type {string}
8643
+ * @memberof ResolveSipAuthResponse
8644
+ */
8645
+ username?: string;
8646
+ }
7685
8647
  /**
7686
8648
  * Request to resolve SIP inbound routing using challenge authentication
7687
8649
  * @export
@@ -7690,10 +8652,16 @@ export interface RequestPermissionResponse {
7690
8652
  export interface ResolveSipInboundRequest {
7691
8653
  /**
7692
8654
  *
7693
- * @type {SIPChallenge}
8655
+ * @type {SIPChallengeRequest}
8656
+ * @memberof ResolveSipInboundRequest
8657
+ */
8658
+ challenge?: SIPChallengeRequest;
8659
+ /**
8660
+ * Optional routing number for routing number-based call routing (10 digits)
8661
+ * @type {string}
7694
8662
  * @memberof ResolveSipInboundRequest
7695
8663
  */
7696
- challenge: SIPChallenge;
8664
+ routing_number?: string;
7697
8665
  /**
7698
8666
  * SIP caller number
7699
8667
  * @type {string}
@@ -7712,6 +8680,12 @@ export interface ResolveSipInboundRequest {
7712
8680
  * @memberof ResolveSipInboundRequest
7713
8681
  */
7714
8682
  sip_trunk_number: string;
8683
+ /**
8684
+ * Optional pre-authenticated trunk ID (from PreAuth no-auth flow)
8685
+ * @type {string}
8686
+ * @memberof ResolveSipInboundRequest
8687
+ */
8688
+ trunk_id?: string;
7715
8689
  }
7716
8690
  /**
7717
8691
  * Response containing resolved SIP inbound routing information
@@ -7879,10 +8853,16 @@ export interface SDKUsageReportResponse {
7879
8853
  export interface SFULocationResponse {
7880
8854
  /**
7881
8855
  *
7882
- * @type {Coordinates}
8856
+ * @type {CoordinatesResponse}
8857
+ * @memberof SFULocationResponse
8858
+ */
8859
+ coordinates: CoordinatesResponse;
8860
+ /**
8861
+ *
8862
+ * @type {number}
7883
8863
  * @memberof SFULocationResponse
7884
8864
  */
7885
- coordinates: Coordinates;
8865
+ count?: number;
7886
8866
  /**
7887
8867
  *
7888
8868
  * @type {string}
@@ -7897,10 +8877,10 @@ export interface SFULocationResponse {
7897
8877
  id: string;
7898
8878
  /**
7899
8879
  *
7900
- * @type {Location}
8880
+ * @type {LocationResponse}
7901
8881
  * @memberof SFULocationResponse
7902
8882
  */
7903
- location: Location;
8883
+ location: LocationResponse;
7904
8884
  }
7905
8885
  /**
7906
8886
  *
@@ -7960,105 +8940,105 @@ export interface SIPCallerConfigsResponse {
7960
8940
  id: string;
7961
8941
  }
7962
8942
  /**
7963
- *
8943
+ * SIP digest challenge authentication data
7964
8944
  * @export
7965
- * @interface SIPChallenge
8945
+ * @interface SIPChallengeRequest
7966
8946
  */
7967
- export interface SIPChallenge {
8947
+ export interface SIPChallengeRequest {
7968
8948
  /**
7969
- *
8949
+ * Deprecated: A1 hash for backward compatibility
7970
8950
  * @type {string}
7971
- * @memberof SIPChallenge
8951
+ * @memberof SIPChallengeRequest
7972
8952
  */
7973
8953
  a1?: string;
7974
8954
  /**
7975
- *
8955
+ * Hash algorithm (e.g., MD5, SHA-256)
7976
8956
  * @type {string}
7977
- * @memberof SIPChallenge
8957
+ * @memberof SIPChallengeRequest
7978
8958
  */
7979
8959
  algorithm?: string;
7980
8960
  /**
7981
- *
8961
+ * Character set
7982
8962
  * @type {string}
7983
- * @memberof SIPChallenge
8963
+ * @memberof SIPChallengeRequest
7984
8964
  */
7985
8965
  charset?: string;
7986
8966
  /**
7987
- *
8967
+ * Client nonce for qop=auth
7988
8968
  * @type {string}
7989
- * @memberof SIPChallenge
8969
+ * @memberof SIPChallengeRequest
7990
8970
  */
7991
8971
  cnonce?: string;
7992
8972
  /**
7993
- *
8973
+ * Domain list
7994
8974
  * @type {Array<string>}
7995
- * @memberof SIPChallenge
8975
+ * @memberof SIPChallengeRequest
7996
8976
  */
7997
8977
  domain?: Array<string>;
7998
8978
  /**
7999
- *
8979
+ * SIP method (e.g., INVITE)
8000
8980
  * @type {string}
8001
- * @memberof SIPChallenge
8981
+ * @memberof SIPChallengeRequest
8002
8982
  */
8003
8983
  method?: string;
8004
8984
  /**
8005
- *
8985
+ * Nonce count for qop=auth
8006
8986
  * @type {string}
8007
- * @memberof SIPChallenge
8987
+ * @memberof SIPChallengeRequest
8008
8988
  */
8009
8989
  nc?: string;
8010
8990
  /**
8011
- *
8991
+ * Server nonce
8012
8992
  * @type {string}
8013
- * @memberof SIPChallenge
8993
+ * @memberof SIPChallengeRequest
8014
8994
  */
8015
8995
  nonce?: string;
8016
8996
  /**
8017
- *
8997
+ * Opaque value
8018
8998
  * @type {string}
8019
- * @memberof SIPChallenge
8999
+ * @memberof SIPChallengeRequest
8020
9000
  */
8021
9001
  opaque?: string;
8022
9002
  /**
8023
- *
9003
+ * Quality of protection options
8024
9004
  * @type {Array<string>}
8025
- * @memberof SIPChallenge
9005
+ * @memberof SIPChallengeRequest
8026
9006
  */
8027
9007
  qop?: Array<string>;
8028
9008
  /**
8029
- *
9009
+ * Authentication realm
8030
9010
  * @type {string}
8031
- * @memberof SIPChallenge
9011
+ * @memberof SIPChallengeRequest
8032
9012
  */
8033
9013
  realm?: string;
8034
9014
  /**
8035
- *
9015
+ * Digest response hash from client
8036
9016
  * @type {string}
8037
- * @memberof SIPChallenge
9017
+ * @memberof SIPChallengeRequest
8038
9018
  */
8039
9019
  response?: string;
8040
9020
  /**
8041
- *
9021
+ * Whether the nonce is stale
8042
9022
  * @type {boolean}
8043
- * @memberof SIPChallenge
9023
+ * @memberof SIPChallengeRequest
8044
9024
  */
8045
9025
  stale?: boolean;
8046
9026
  /**
8047
- *
9027
+ * Request URI
8048
9028
  * @type {string}
8049
- * @memberof SIPChallenge
9029
+ * @memberof SIPChallengeRequest
8050
9030
  */
8051
9031
  uri?: string;
8052
9032
  /**
8053
- *
9033
+ * Whether to hash the username
8054
9034
  * @type {boolean}
8055
- * @memberof SIPChallenge
9035
+ * @memberof SIPChallengeRequest
8056
9036
  */
8057
9037
  userhash?: boolean;
8058
9038
  /**
8059
- *
9039
+ * Username for authentication
8060
9040
  * @type {string}
8061
- * @memberof SIPChallenge
9041
+ * @memberof SIPChallengeRequest
8062
9042
  */
8063
9043
  username?: string;
8064
9044
  }
@@ -8240,6 +9220,12 @@ export interface SIPPinProtectionConfigsResponse {
8240
9220
  * @interface SIPTrunkResponse
8241
9221
  */
8242
9222
  export interface SIPTrunkResponse {
9223
+ /**
9224
+ * Allowed IPv4/IPv6 addresses or CIDR blocks
9225
+ * @type {Array<string>}
9226
+ * @memberof SIPTrunkResponse
9227
+ */
9228
+ allowed_ips: Array<string>;
8243
9229
  /**
8244
9230
  * Creation timestamp
8245
9231
  * @type {string}
@@ -8381,46 +9367,83 @@ export interface SendCallEventResponse {
8381
9367
  /**
8382
9368
  *
8383
9369
  * @export
8384
- * @interface SendReactionRequest
9370
+ * @interface SendVideoReactionRequest
8385
9371
  */
8386
- export interface SendReactionRequest {
9372
+ export interface SendVideoReactionRequest {
8387
9373
  /**
8388
9374
  *
8389
9375
  * @type {{ [key: string]: any; }}
8390
- * @memberof SendReactionRequest
9376
+ * @memberof SendVideoReactionRequest
8391
9377
  */
8392
9378
  custom?: { [key: string]: any };
8393
9379
  /**
8394
9380
  *
8395
9381
  * @type {string}
8396
- * @memberof SendReactionRequest
9382
+ * @memberof SendVideoReactionRequest
8397
9383
  */
8398
9384
  emoji_code?: string;
8399
9385
  /**
8400
9386
  *
8401
9387
  * @type {string}
8402
- * @memberof SendReactionRequest
9388
+ * @memberof SendVideoReactionRequest
8403
9389
  */
8404
9390
  type: string;
8405
9391
  }
8406
9392
  /**
8407
9393
  * Basic response information
8408
9394
  * @export
8409
- * @interface SendReactionResponse
9395
+ * @interface SendVideoReactionResponse
8410
9396
  */
8411
- export interface SendReactionResponse {
9397
+ export interface SendVideoReactionResponse {
8412
9398
  /**
8413
9399
  * Duration of the request in milliseconds
8414
9400
  * @type {string}
8415
- * @memberof SendReactionResponse
9401
+ * @memberof SendVideoReactionResponse
8416
9402
  */
8417
9403
  duration: string;
8418
9404
  /**
8419
9405
  *
8420
- * @type {ReactionResponse}
8421
- * @memberof SendReactionResponse
9406
+ * @type {VideoReactionResponse}
9407
+ * @memberof SendVideoReactionResponse
9408
+ */
9409
+ reaction: VideoReactionResponse;
9410
+ }
9411
+ /**
9412
+ *
9413
+ * @export
9414
+ * @interface SessionClient
9415
+ */
9416
+ export interface SessionClient {
9417
+ /**
9418
+ *
9419
+ * @type {string}
9420
+ * @memberof SessionClient
9421
+ */
9422
+ ip?: string;
9423
+ /**
9424
+ *
9425
+ * @type {CallStatsLocation}
9426
+ * @memberof SessionClient
9427
+ */
9428
+ location?: CallStatsLocation;
9429
+ /**
9430
+ *
9431
+ * @type {string}
9432
+ * @memberof SessionClient
9433
+ */
9434
+ name?: string;
9435
+ /**
9436
+ *
9437
+ * @type {string}
9438
+ * @memberof SessionClient
9439
+ */
9440
+ network_type?: string;
9441
+ /**
9442
+ *
9443
+ * @type {string}
9444
+ * @memberof SessionClient
8422
9445
  */
8423
- reaction: ReactionResponse;
9446
+ version?: string;
8424
9447
  }
8425
9448
  /**
8426
9449
  *
@@ -8448,12 +9471,43 @@ export interface SessionSettingsResponse {
8448
9471
  */
8449
9472
  inactivity_timeout_seconds: number;
8450
9473
  }
9474
+ /**
9475
+ *
9476
+ * @export
9477
+ * @interface SessionWarningResponse
9478
+ */
9479
+ export interface SessionWarningResponse {
9480
+ /**
9481
+ *
9482
+ * @type {string}
9483
+ * @memberof SessionWarningResponse
9484
+ */
9485
+ code: string;
9486
+ /**
9487
+ *
9488
+ * @type {string}
9489
+ * @memberof SessionWarningResponse
9490
+ */
9491
+ time?: string;
9492
+ /**
9493
+ *
9494
+ * @type {string}
9495
+ * @memberof SessionWarningResponse
9496
+ */
9497
+ warning: string;
9498
+ }
8451
9499
  /**
8452
9500
  * Credentials for SIP inbound call authentication
8453
9501
  * @export
8454
9502
  * @interface SipInboundCredentials
8455
9503
  */
8456
9504
  export interface SipInboundCredentials {
9505
+ /**
9506
+ * API key for the application
9507
+ * @type {string}
9508
+ * @memberof SipInboundCredentials
9509
+ */
9510
+ api_key: string;
8457
9511
  /**
8458
9512
  * Custom data associated with the call
8459
9513
  * @type {{ [key: string]: any; }}
@@ -8498,7 +9552,7 @@ export interface SipInboundCredentials {
8498
9552
  */
8499
9553
  export interface SortParamRequest {
8500
9554
  /**
8501
- * Direction of sorting, 1 for Ascending, -1 for Descending, default is 1
9555
+ * Direction of sorting, 1 for Ascending, -1 for Descending, default is 1. One of: -1, 1
8502
9556
  * @type {number}
8503
9557
  * @memberof SortParamRequest
8504
9558
  */
@@ -8509,6 +9563,12 @@ export interface SortParamRequest {
8509
9563
  * @memberof SortParamRequest
8510
9564
  */
8511
9565
  field?: string;
9566
+ /**
9567
+ * Type of field to sort by. Empty string or omitted means string type (default). One of: number, boolean
9568
+ * @type {string}
9569
+ * @memberof SortParamRequest
9570
+ */
9571
+ type?: string;
8512
9572
  }
8513
9573
  /**
8514
9574
  *
@@ -8548,7 +9608,7 @@ export interface StartClosedCaptionsRequest {
8548
9608
  */
8549
9609
  external_storage?: string;
8550
9610
  /**
8551
- * The spoken language in the call, if not provided the language defined in the transcription settings will be used
9611
+ * The spoken language in the call, if not provided the language defined in the transcription settings will be used. One of: auto, ar, bg, ca, cs, da, de, el, en, es, et, fi, fr, he, hi, hr, hu, id, it, ja, ko, ms, nl, no, pl, pt, ro, ru, sk, sl, sv, ta, th, tl, tr, uk, zh
8552
9612
  * @type {string}
8553
9613
  * @memberof StartClosedCaptionsRequest
8554
9614
  */
@@ -8729,7 +9789,7 @@ export interface StartTranscriptionRequest {
8729
9789
  */
8730
9790
  enable_closed_captions?: boolean;
8731
9791
  /**
8732
- * The spoken language in the call, if not provided the language defined in the transcription settings will be used
9792
+ * The spoken language in the call, if not provided the language defined in the transcription settings will be used. One of: auto, ar, bg, ca, cs, da, de, el, en, es, et, fi, fr, he, hi, hr, hu, id, it, ja, ko, ms, nl, no, pl, pt, ro, ru, sk, sl, sv, ta, th, tl, tr, uk, zh
8733
9793
  * @type {string}
8734
9794
  * @memberof StartTranscriptionRequest
8735
9795
  */
@@ -9345,8 +10405,49 @@ export interface TranslationSettings {
9345
10405
  * @type {Array<string>}
9346
10406
  * @memberof TranslationSettings
9347
10407
  */
9348
- languages?: Array<string>;
10408
+ languages?: Array<TranslationSettingsLanguagesEnum>;
9349
10409
  }
10410
+
10411
+ /**
10412
+ * @export
10413
+ */
10414
+ export const TranslationSettingsLanguagesEnum = {
10415
+ EN: 'en',
10416
+ FR: 'fr',
10417
+ ES: 'es',
10418
+ DE: 'de',
10419
+ IT: 'it',
10420
+ NL: 'nl',
10421
+ PT: 'pt',
10422
+ PL: 'pl',
10423
+ CA: 'ca',
10424
+ CS: 'cs',
10425
+ DA: 'da',
10426
+ EL: 'el',
10427
+ FI: 'fi',
10428
+ ID: 'id',
10429
+ JA: 'ja',
10430
+ RU: 'ru',
10431
+ SV: 'sv',
10432
+ TA: 'ta',
10433
+ TH: 'th',
10434
+ TR: 'tr',
10435
+ HU: 'hu',
10436
+ RO: 'ro',
10437
+ ZH: 'zh',
10438
+ AR: 'ar',
10439
+ TL: 'tl',
10440
+ HE: 'he',
10441
+ HI: 'hi',
10442
+ HR: 'hr',
10443
+ KO: 'ko',
10444
+ MS: 'ms',
10445
+ NO: 'no',
10446
+ UK: 'uk',
10447
+ } as const;
10448
+ export type TranslationSettingsLanguagesEnum =
10449
+ (typeof TranslationSettingsLanguagesEnum)[keyof typeof TranslationSettingsLanguagesEnum];
10450
+
9350
10451
  /**
9351
10452
  * UnblockUserRequest is the payload for unblocking a user.
9352
10453
  * @export
@@ -9548,13 +10649,13 @@ export interface UpdateUserPermissionsRequest {
9548
10649
  * @type {Array<string>}
9549
10650
  * @memberof UpdateUserPermissionsRequest
9550
10651
  */
9551
- grant_permissions?: Array<string>;
10652
+ grant_permissions?: Array<UpdateUserPermissionsRequestGrantPermissionsEnum>;
9552
10653
  /**
9553
10654
  *
9554
10655
  * @type {Array<string>}
9555
10656
  * @memberof UpdateUserPermissionsRequest
9556
10657
  */
9557
- revoke_permissions?: Array<string>;
10658
+ revoke_permissions?: Array<UpdateUserPermissionsRequestRevokePermissionsEnum>;
9558
10659
  /**
9559
10660
  *
9560
10661
  * @type {string}
@@ -9562,6 +10663,29 @@ export interface UpdateUserPermissionsRequest {
9562
10663
  */
9563
10664
  user_id: string;
9564
10665
  }
10666
+
10667
+ /**
10668
+ * @export
10669
+ */
10670
+ export const UpdateUserPermissionsRequestGrantPermissionsEnum = {
10671
+ SCREENSHARE: 'screenshare',
10672
+ SEND_AUDIO: 'send-audio',
10673
+ SEND_VIDEO: 'send-video',
10674
+ } as const;
10675
+ export type UpdateUserPermissionsRequestGrantPermissionsEnum =
10676
+ (typeof UpdateUserPermissionsRequestGrantPermissionsEnum)[keyof typeof UpdateUserPermissionsRequestGrantPermissionsEnum];
10677
+
10678
+ /**
10679
+ * @export
10680
+ */
10681
+ export const UpdateUserPermissionsRequestRevokePermissionsEnum = {
10682
+ SCREENSHARE: 'screenshare',
10683
+ SEND_AUDIO: 'send-audio',
10684
+ SEND_VIDEO: 'send-video',
10685
+ } as const;
10686
+ export type UpdateUserPermissionsRequestRevokePermissionsEnum =
10687
+ (typeof UpdateUserPermissionsRequestRevokePermissionsEnum)[keyof typeof UpdateUserPermissionsRequestRevokePermissionsEnum];
10688
+
9565
10689
  /**
9566
10690
  * Basic response information
9567
10691
  * @export
@@ -10055,6 +11179,37 @@ export interface VideoReactionOverTimeResponse {
10055
11179
  */
10056
11180
  by_minute?: Array<CountByMinuteResponse>;
10057
11181
  }
11182
+ /**
11183
+ *
11184
+ * @export
11185
+ * @interface VideoReactionResponse
11186
+ */
11187
+ export interface VideoReactionResponse {
11188
+ /**
11189
+ *
11190
+ * @type {{ [key: string]: any; }}
11191
+ * @memberof VideoReactionResponse
11192
+ */
11193
+ custom?: { [key: string]: any };
11194
+ /**
11195
+ *
11196
+ * @type {string}
11197
+ * @memberof VideoReactionResponse
11198
+ */
11199
+ emoji_code?: string;
11200
+ /**
11201
+ *
11202
+ * @type {string}
11203
+ * @memberof VideoReactionResponse
11204
+ */
11205
+ type: string;
11206
+ /**
11207
+ *
11208
+ * @type {UserResponse}
11209
+ * @memberof VideoReactionResponse
11210
+ */
11211
+ user: UserResponse;
11212
+ }
10058
11213
  /**
10059
11214
  *
10060
11215
  * @export
@@ -10192,13 +11347,13 @@ export interface WHIPIngress {
10192
11347
  */
10193
11348
  export interface WSAuthMessage {
10194
11349
  /**
10195
- *
11350
+ * List of products to subscribe to. One of: chat, video, feeds
10196
11351
  * @type {Array<string>}
10197
11352
  * @memberof WSAuthMessage
10198
11353
  */
10199
- products?: Array<string>;
11354
+ products?: Array<WSAuthMessageProductsEnum>;
10200
11355
  /**
10201
- *
11356
+ * JWT token for authentication
10202
11357
  * @type {string}
10203
11358
  * @memberof WSAuthMessage
10204
11359
  */
@@ -10210,3 +11365,14 @@ export interface WSAuthMessage {
10210
11365
  */
10211
11366
  user_details: ConnectUserDetailsRequest;
10212
11367
  }
11368
+
11369
+ /**
11370
+ * @export
11371
+ */
11372
+ export const WSAuthMessageProductsEnum = {
11373
+ CHAT: 'chat',
11374
+ VIDEO: 'video',
11375
+ FEEDS: 'feeds',
11376
+ } as const;
11377
+ export type WSAuthMessageProductsEnum =
11378
+ (typeof WSAuthMessageProductsEnum)[keyof typeof WSAuthMessageProductsEnum];