@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
@@ -657,6 +657,12 @@ export interface CallEndedEvent {
657
657
  * @memberof CallEndedEvent
658
658
  */
659
659
  created_at: string;
660
+ /**
661
+ * The list of members in the call
662
+ * @type {Array<MemberResponse>}
663
+ * @memberof CallEndedEvent
664
+ */
665
+ members?: Array<MemberResponse>;
660
666
  /**
661
667
  * The reason why the call ended, if available
662
668
  * @type {string}
@@ -962,6 +968,39 @@ export interface CallIngressResponse {
962
968
  */
963
969
  whip: WHIPIngress;
964
970
  }
971
+ /**
972
+ *
973
+ * @export
974
+ * @interface CallLevelEventPayload
975
+ */
976
+ export interface CallLevelEventPayload {
977
+ /**
978
+ *
979
+ * @type {string}
980
+ * @memberof CallLevelEventPayload
981
+ */
982
+ event_type: string;
983
+ /**
984
+ *
985
+ * @type {{ [key: string]: any; }}
986
+ * @memberof CallLevelEventPayload
987
+ */
988
+ payload?: {
989
+ [key: string]: any;
990
+ };
991
+ /**
992
+ *
993
+ * @type {number}
994
+ * @memberof CallLevelEventPayload
995
+ */
996
+ timestamp: number;
997
+ /**
998
+ *
999
+ * @type {string}
1000
+ * @memberof CallLevelEventPayload
1001
+ */
1002
+ user_id: string;
1003
+ }
965
1004
  /**
966
1005
  * This event is sent when a call is started. Clients receiving this event should start the call.
967
1006
  * @export
@@ -1447,10 +1486,10 @@ export interface CallReactionEvent {
1447
1486
  created_at: string;
1448
1487
  /**
1449
1488
  *
1450
- * @type {ReactionResponse}
1489
+ * @type {VideoReactionResponse}
1451
1490
  * @memberof CallReactionEvent
1452
1491
  */
1453
- reaction: ReactionResponse;
1492
+ reaction: VideoReactionResponse;
1454
1493
  /**
1455
1494
  * The type of event: "call.reaction_new" in this case
1456
1495
  * @type {string}
@@ -1908,6 +1947,12 @@ export interface CallResponse {
1908
1947
  * @memberof CallResponse
1909
1948
  */
1910
1949
  recording: boolean;
1950
+ /**
1951
+ * 10-digit routing number for SIP routing
1952
+ * @type {string}
1953
+ * @memberof CallResponse
1954
+ */
1955
+ routing_number?: string;
1911
1956
  /**
1912
1957
  *
1913
1958
  * @type {CallSessionResponse}
@@ -2299,12 +2344,6 @@ export interface CallSessionResponse {
2299
2344
  * @memberof CallSessionResponse
2300
2345
  */
2301
2346
  anonymous_participant_count: number;
2302
- /**
2303
- *
2304
- * @type {string}
2305
- * @memberof CallSessionResponse
2306
- */
2307
- created_at: string;
2308
2347
  /**
2309
2348
  *
2310
2349
  * @type {string}
@@ -2433,6 +2472,12 @@ export interface CallSettingsRequest {
2433
2472
  * @memberof CallSettingsRequest
2434
2473
  */
2435
2474
  broadcasting?: BroadcastSettingsRequest;
2475
+ /**
2476
+ *
2477
+ * @type {EncryptionSettingsRequest}
2478
+ * @memberof CallSettingsRequest
2479
+ */
2480
+ encryption?: EncryptionSettingsRequest;
2436
2481
  /**
2437
2482
  *
2438
2483
  * @type {FrameRecordingSettingsRequest}
@@ -2536,6 +2581,12 @@ export interface CallSettingsResponse {
2536
2581
  * @memberof CallSettingsResponse
2537
2582
  */
2538
2583
  broadcasting: BroadcastSettingsResponse;
2584
+ /**
2585
+ *
2586
+ * @type {EncryptionSettingsResponse}
2587
+ * @memberof CallSettingsResponse
2588
+ */
2589
+ encryption: EncryptionSettingsResponse;
2539
2590
  /**
2540
2591
  *
2541
2592
  * @type {FrameRecordingSettingsResponse}
@@ -2900,12 +2951,54 @@ export interface CallStatsParticipant {
2900
2951
  * @interface CallStatsParticipantCounts
2901
2952
  */
2902
2953
  export interface CallStatsParticipantCounts {
2954
+ /**
2955
+ *
2956
+ * @type {number}
2957
+ * @memberof CallStatsParticipantCounts
2958
+ */
2959
+ average_jitter_ms?: number;
2960
+ /**
2961
+ *
2962
+ * @type {number}
2963
+ * @memberof CallStatsParticipantCounts
2964
+ */
2965
+ average_latency_ms?: number;
2966
+ /**
2967
+ *
2968
+ * @type {number}
2969
+ * @memberof CallStatsParticipantCounts
2970
+ */
2971
+ avg_user_rating?: number;
2972
+ /**
2973
+ *
2974
+ * @type {number}
2975
+ * @memberof CallStatsParticipantCounts
2976
+ */
2977
+ call_event_count?: number;
2978
+ /**
2979
+ *
2980
+ * @type {number}
2981
+ * @memberof CallStatsParticipantCounts
2982
+ */
2983
+ cq_score?: number;
2903
2984
  /**
2904
2985
  *
2905
2986
  * @type {number}
2906
2987
  * @memberof CallStatsParticipantCounts
2907
2988
  */
2908
2989
  live_sessions: number;
2990
+ /**
2991
+ *
2992
+ * @type {number}
2993
+ * @memberof CallStatsParticipantCounts
2994
+ */
2995
+ max_freezes_duration_ms?: number;
2996
+ /**
2997
+ *
2998
+ * @type {number}
2999
+ * @memberof CallStatsParticipantCounts
3000
+ */
3001
+ min_user_rating?: number;
2909
3002
  /**
2910
3003
  *
2911
3004
  * @type {number}
@@ -2936,6 +3029,18 @@ export interface CallStatsParticipantCounts {
2936
3029
  * @memberof CallStatsParticipantCounts
2937
3030
  */
2938
3031
  sessions: number;
3032
+ /**
3033
+ *
3034
+ * @type {number}
3035
+ * @memberof CallStatsParticipantCounts
3036
+ */
3037
+ sfus_used: number;
3038
+ /**
3039
+ *
3040
+ * @type {number}
3041
+ * @memberof CallStatsParticipantCounts
3042
+ */
3043
+ total_participant_duration?: number;
2939
3044
  }
2940
3045
  /**
2941
3046
  *
@@ -2985,12 +3090,36 @@ export interface CallStatsParticipantSession {
2985
3090
  * @memberof CallStatsParticipantSession
2986
3091
  */
2987
3092
  ended_at?: string;
3093
+ /**
3094
+ *
3095
+ * @type {number}
3096
+ * @memberof CallStatsParticipantSession
3097
+ */
3098
+ freezes_duration_ms?: number;
3099
+ /**
3100
+ *
3101
+ * @type {string}
3102
+ * @memberof CallStatsParticipantSession
3103
+ */
3104
+ ingress?: string;
2988
3105
  /**
2989
3106
  *
2990
3107
  * @type {boolean}
2991
3108
  * @memberof CallStatsParticipantSession
2992
3109
  */
2993
3110
  is_live: boolean;
3111
+ /**
3112
+ *
3113
+ * @type {number}
3114
+ * @memberof CallStatsParticipantSession
3115
+ */
3116
+ jitter_ms?: number;
3117
+ /**
3118
+ *
3119
+ * @type {number}
3120
+ * @memberof CallStatsParticipantSession
3121
+ */
3122
+ latency_ms?: number;
2994
3123
  /**
2995
3124
  *
2996
3125
  * @type {CallStatsLocation}
@@ -3064,12 +3193,30 @@ export interface CallStatsReportReadyEvent {
3064
3193
  * @memberof CallStatsReportReadyEvent
3065
3194
  */
3066
3195
  call_cid: string;
3196
+ /**
3197
+ *
3198
+ * @type {CallStatsParticipantCounts}
3199
+ * @memberof CallStatsReportReadyEvent
3200
+ */
3201
+ counts: CallStatsParticipantCounts;
3067
3202
  /**
3068
3203
  *
3069
3204
  * @type {string}
3070
3205
  * @memberof CallStatsReportReadyEvent
3071
3206
  */
3072
3207
  created_at: string;
3208
+ /**
3209
+ * Whether participants_overview is truncated by the server-side limit
3210
+ * @type {boolean}
3211
+ * @memberof CallStatsReportReadyEvent
3212
+ */
3213
+ is_trimmed?: boolean;
3214
+ /**
3215
+ * Top participant sessions overview
3216
+ * @type {Array<CallStatsParticipant>}
3217
+ * @memberof CallStatsReportReadyEvent
3218
+ */
3219
+ participants_overview?: Array<CallStatsParticipant>;
3073
3220
  /**
3074
3221
  * Call session ID
3075
3222
  * @type {string}
@@ -3138,6 +3285,55 @@ export interface CallStatsReportSummaryResponse {
3138
3285
  */
3139
3286
  quality_score?: number;
3140
3287
  }
3288
+ /**
3289
+ *
3290
+ * @export
3291
+ * @interface CallStatsSessionResponse
3292
+ */
3293
+ export interface CallStatsSessionResponse {
3294
+ /**
3295
+ *
3296
+ * @type {string}
3297
+ * @memberof CallStatsSessionResponse
3298
+ */
3299
+ call_ended_at?: string;
3300
+ /**
3301
+ *
3302
+ * @type {string}
3303
+ * @memberof CallStatsSessionResponse
3304
+ */
3305
+ call_id: string;
3306
+ /**
3307
+ *
3308
+ * @type {string}
3309
+ * @memberof CallStatsSessionResponse
3310
+ */
3311
+ call_session_id: string;
3312
+ /**
3313
+ *
3314
+ * @type {string}
3315
+ * @memberof CallStatsSessionResponse
3316
+ */
3317
+ call_started_at?: string;
3318
+ /**
3319
+ *
3320
+ * @type {string}
3321
+ * @memberof CallStatsSessionResponse
3322
+ */
3323
+ call_type: string;
3324
+ /**
3325
+ *
3326
+ * @type {CallStatsParticipantCounts}
3327
+ * @memberof CallStatsSessionResponse
3328
+ */
3329
+ counts: CallStatsParticipantCounts;
3330
+ /**
3331
+ *
3332
+ * @type {string}
3333
+ * @memberof CallStatsSessionResponse
3334
+ */
3335
+ generated_at: string;
3336
+ }
3141
3337
  /**
3142
3338
  * CallTranscription represents a transcription of a call.
3143
3339
  * @export
@@ -3503,139 +3699,357 @@ export interface ChatActivityStatsResponse {
3503
3699
  Messages?: MessageStatsResponse;
3504
3700
  }
3505
3701
  /**
3506
- * 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
3702
+ *
3507
3703
  * @export
3508
- * @interface ClosedCaptionEvent
3704
+ * @interface ChatPreferencesResponse
3509
3705
  */
3510
- export interface ClosedCaptionEvent {
3706
+ export interface ChatPreferencesResponse {
3511
3707
  /**
3512
3708
  *
3513
3709
  * @type {string}
3514
- * @memberof ClosedCaptionEvent
3515
- */
3516
- call_cid: string;
3517
- /**
3518
- *
3519
- * @type {CallClosedCaption}
3520
- * @memberof ClosedCaptionEvent
3710
+ * @memberof ChatPreferencesResponse
3521
3711
  */
3522
- closed_caption: CallClosedCaption;
3712
+ channel_mentions?: string;
3523
3713
  /**
3524
3714
  *
3525
3715
  * @type {string}
3526
- * @memberof ClosedCaptionEvent
3527
- */
3528
- created_at: string;
3529
- /**
3530
- * The type of event: "call.closed_caption" in this case
3531
- * @type {string}
3532
- * @memberof ClosedCaptionEvent
3533
- */
3534
- type: string;
3535
- }
3536
- /**
3537
- *
3538
- * @export
3539
- * @interface CollectUserFeedbackRequest
3540
- */
3541
- export interface CollectUserFeedbackRequest {
3542
- /**
3543
- *
3544
- * @type {{ [key: string]: any; }}
3545
- * @memberof CollectUserFeedbackRequest
3716
+ * @memberof ChatPreferencesResponse
3546
3717
  */
3547
- custom?: {
3548
- [key: string]: any;
3549
- };
3718
+ default_preference?: string;
3550
3719
  /**
3551
3720
  *
3552
- * @type {number}
3553
- * @memberof CollectUserFeedbackRequest
3721
+ * @type {string}
3722
+ * @memberof ChatPreferencesResponse
3554
3723
  */
3555
- rating: number;
3724
+ direct_mentions?: string;
3556
3725
  /**
3557
3726
  *
3558
3727
  * @type {string}
3559
- * @memberof CollectUserFeedbackRequest
3728
+ * @memberof ChatPreferencesResponse
3560
3729
  */
3561
- reason?: string;
3730
+ group_mentions?: string;
3562
3731
  /**
3563
3732
  *
3564
3733
  * @type {string}
3565
- * @memberof CollectUserFeedbackRequest
3734
+ * @memberof ChatPreferencesResponse
3566
3735
  */
3567
- sdk: string;
3736
+ here_mentions?: string;
3568
3737
  /**
3569
3738
  *
3570
3739
  * @type {string}
3571
- * @memberof CollectUserFeedbackRequest
3740
+ * @memberof ChatPreferencesResponse
3572
3741
  */
3573
- sdk_version: string;
3742
+ role_mentions?: string;
3574
3743
  /**
3575
3744
  *
3576
3745
  * @type {string}
3577
- * @memberof CollectUserFeedbackRequest
3746
+ * @memberof ChatPreferencesResponse
3578
3747
  */
3579
- user_session_id?: string;
3748
+ thread_replies?: string;
3580
3749
  }
3581
3750
  /**
3582
- * Basic response information
3751
+ * 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.
3583
3752
  * @export
3584
- * @interface CollectUserFeedbackResponse
3753
+ * @interface ClientEvent
3585
3754
  */
3586
- export interface CollectUserFeedbackResponse {
3755
+ export interface ClientEvent {
3587
3756
  /**
3588
- * Duration of the request in milliseconds
3757
+ * 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.
3589
3758
  * @type {string}
3590
- * @memberof CollectUserFeedbackResponse
3759
+ * @memberof ClientEvent
3591
3760
  */
3592
- duration: string;
3593
- }
3594
- /**
3595
- *
3596
- * @export
3597
- * @interface CompositeRecordingResponse
3598
- */
3599
- export interface CompositeRecordingResponse {
3761
+ call_session_id?: string;
3600
3762
  /**
3601
- *
3763
+ * Camera permission status: INITIATED, FAILED, GRANTED, or NOT_INITIATED. Required on every MediaDevicePermission event.
3602
3764
  * @type {string}
3603
- * @memberof CompositeRecordingResponse
3765
+ * @memberof ClientEvent
3604
3766
  */
3605
- status: string;
3606
- }
3607
- /**
3608
- *
3609
- * @export
3610
- * @interface ConnectUserDetailsRequest
3611
- */
3612
- export interface ConnectUserDetailsRequest {
3767
+ camera_permission_status?: string;
3613
3768
  /**
3614
- *
3615
- * @type {{ [key: string]: any; }}
3616
- * @memberof ConnectUserDetailsRequest
3769
+ * 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.
3770
+ * @type {string}
3771
+ * @memberof ClientEvent
3617
3772
  */
3618
- custom?: {
3619
- [key: string]: any;
3620
- };
3773
+ coordinator_connect_id?: string;
3621
3774
  /**
3622
- *
3623
- * @type {string}
3624
- * @memberof ConnectUserDetailsRequest
3775
+ * Milliseconds elapsed between the stage attempt's initiation and this event.
3776
+ * @type {number}
3777
+ * @memberof ClientEvent
3625
3778
  */
3626
- id: string;
3779
+ elapsed_time?: number;
3627
3780
  /**
3628
- *
3781
+ * Whether the event marks the start (initiated) or resolution (completed) of a stage attempt, or another event-specific value
3629
3782
  * @type {string}
3630
- * @memberof ConnectUserDetailsRequest
3783
+ * @memberof ClientEvent
3631
3784
  */
3632
- image?: string;
3785
+ event_type?: string;
3633
3786
  /**
3634
- *
3635
- * @type {boolean}
3636
- * @memberof ConnectUserDetailsRequest
3787
+ * Terminal state of the peer connection. Required on PeerConnectionConnect failure.
3788
+ * @type {string}
3789
+ * @memberof ClientEvent
3637
3790
  */
3638
- invisible?: boolean;
3791
+ ice_state?: string;
3792
+ /**
3793
+ * Call ID associated with the event. Required on every stage except CoordinatorWS, where it is optional.
3794
+ * @type {string}
3795
+ * @memberof ClientEvent
3796
+ */
3797
+ id?: string;
3798
+ /**
3799
+ * 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.
3800
+ * @type {string}
3801
+ * @memberof ClientEvent
3802
+ */
3803
+ join_attempt_id?: string;
3804
+ /**
3805
+ * Reason the client initiated the join. Optional on CoordinatorJoin events; empty when not provided.
3806
+ * @type {string}
3807
+ * @memberof ClientEvent
3808
+ */
3809
+ join_reason?: string;
3810
+ /**
3811
+ * Microphone permission status: INITIATED, FAILED, GRANTED, or NOT_INITIATED. Required on every MediaDevicePermission event.
3812
+ * @type {string}
3813
+ * @memberof ClientEvent
3814
+ */
3815
+ microphone_permission_status?: string;
3816
+ /**
3817
+ * Resolution of a completed event: success or failure. Required on completed join events; forbidden on initiated join events.
3818
+ * @type {string}
3819
+ * @memberof ClientEvent
3820
+ */
3821
+ outcome?: string;
3822
+ /**
3823
+ * Which peer connection a PeerConnectionConnect event reports on: publish or subscribe. Required on every PeerConnectionConnect event.
3824
+ * @type {string}
3825
+ * @memberof ClientEvent
3826
+ */
3827
+ peer_connection?: string;
3828
+ /**
3829
+ * UTC timestamp at which the ICE connection was established earlier in the session, when applicable
3830
+ * @type {string}
3831
+ * @memberof ClientEvent
3832
+ */
3833
+ previously_connected_timestamp?: string;
3834
+ /**
3835
+ * Total in-stage retries the client made before resolving (0–1000). Required on completed join events.
3836
+ * @type {number}
3837
+ * @memberof ClientEvent
3838
+ */
3839
+ retry_count_attempt?: number;
3840
+ /**
3841
+ * Failure code string. Required on CoordinatorJoin, CoordinatorWS, WSJoin, and PeerConnectionConnect failure.
3842
+ * @type {string}
3843
+ * @memberof ClientEvent
3844
+ */
3845
+ retry_failure_code?: string;
3846
+ /**
3847
+ * Failure reason string. Required on CoordinatorJoin, CoordinatorWS, WSJoin, and PeerConnectionConnect failure.
3848
+ * @type {string}
3849
+ * @memberof ClientEvent
3850
+ */
3851
+ retry_failure_reason?: string;
3852
+ /**
3853
+ * Screen-share permission status: INITIATED, FAILED, GRANTED, or NOT_INITIATED. Optional on MediaDevicePermission events.
3854
+ * @type {string}
3855
+ * @memberof ClientEvent
3856
+ */
3857
+ screen_share_status?: string;
3858
+ /**
3859
+ * Version of the client SDK
3860
+ * @type {string}
3861
+ * @memberof ClientEvent
3862
+ */
3863
+ sdk_version?: string;
3864
+ /**
3865
+ * Identifier of the SFU the client was attempting to connect to. Required on WSJoin and PeerConnectionConnect failure, and on FirstAudioFrame and FirstVideoFrame.
3866
+ * @type {string}
3867
+ * @memberof ClientEvent
3868
+ */
3869
+ sfu_id?: string;
3870
+ /**
3871
+ * 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.
3872
+ * @type {string}
3873
+ * @memberof ClientEvent
3874
+ */
3875
+ stage?: string;
3876
+ /**
3877
+ * UUID generated by the client at initiation. Identical on the matching completion event. Absent on JoinInitiated.
3878
+ * @type {string}
3879
+ * @memberof ClientEvent
3880
+ */
3881
+ stage_id?: string;
3882
+ /**
3883
+ * UTC timestamp at which the event was recorded
3884
+ * @type {string}
3885
+ * @memberof ClientEvent
3886
+ */
3887
+ timestamp?: string;
3888
+ /**
3889
+ * Identifier of the media track the frame belongs to. Required on FirstVideoFrame; optional on FirstAudioFrame.
3890
+ * @type {string}
3891
+ * @memberof ClientEvent
3892
+ */
3893
+ track_id?: string;
3894
+ /**
3895
+ * Call type associated with the event. Required on every stage except CoordinatorWS, where it is optional.
3896
+ * @type {string}
3897
+ * @memberof ClientEvent
3898
+ */
3899
+ type?: string;
3900
+ /**
3901
+ * User agent string of the client SDK
3902
+ * @type {string}
3903
+ * @memberof ClientEvent
3904
+ */
3905
+ user_agent?: string;
3906
+ /**
3907
+ * ID of the user the event was recorded for
3908
+ * @type {string}
3909
+ * @memberof ClientEvent
3910
+ */
3911
+ user_id?: string;
3912
+ /**
3913
+ * 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.
3914
+ * @type {boolean}
3915
+ * @memberof ClientEvent
3916
+ */
3917
+ was_previously_connected?: boolean;
3918
+ }
3919
+ /**
3920
+ * 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
3921
+ * @export
3922
+ * @interface ClosedCaptionEvent
3923
+ */
3924
+ export interface ClosedCaptionEvent {
3925
+ /**
3926
+ *
3927
+ * @type {string}
3928
+ * @memberof ClosedCaptionEvent
3929
+ */
3930
+ call_cid: string;
3931
+ /**
3932
+ *
3933
+ * @type {CallClosedCaption}
3934
+ * @memberof ClosedCaptionEvent
3935
+ */
3936
+ closed_caption: CallClosedCaption;
3937
+ /**
3938
+ *
3939
+ * @type {string}
3940
+ * @memberof ClosedCaptionEvent
3941
+ */
3942
+ created_at: string;
3943
+ /**
3944
+ * The type of event: "call.closed_caption" in this case
3945
+ * @type {string}
3946
+ * @memberof ClosedCaptionEvent
3947
+ */
3948
+ type: string;
3949
+ }
3950
+ /**
3951
+ *
3952
+ * @export
3953
+ * @interface CollectUserFeedbackRequest
3954
+ */
3955
+ export interface CollectUserFeedbackRequest {
3956
+ /**
3957
+ *
3958
+ * @type {{ [key: string]: any; }}
3959
+ * @memberof CollectUserFeedbackRequest
3960
+ */
3961
+ custom?: {
3962
+ [key: string]: any;
3963
+ };
3964
+ /**
3965
+ *
3966
+ * @type {number}
3967
+ * @memberof CollectUserFeedbackRequest
3968
+ */
3969
+ rating: number;
3970
+ /**
3971
+ *
3972
+ * @type {string}
3973
+ * @memberof CollectUserFeedbackRequest
3974
+ */
3975
+ reason?: string;
3976
+ /**
3977
+ *
3978
+ * @type {string}
3979
+ * @memberof CollectUserFeedbackRequest
3980
+ */
3981
+ sdk: string;
3982
+ /**
3983
+ *
3984
+ * @type {string}
3985
+ * @memberof CollectUserFeedbackRequest
3986
+ */
3987
+ sdk_version: string;
3988
+ /**
3989
+ *
3990
+ * @type {string}
3991
+ * @memberof CollectUserFeedbackRequest
3992
+ */
3993
+ user_session_id?: string;
3994
+ }
3995
+ /**
3996
+ * Basic response information
3997
+ * @export
3998
+ * @interface CollectUserFeedbackResponse
3999
+ */
4000
+ export interface CollectUserFeedbackResponse {
4001
+ /**
4002
+ * Duration of the request in milliseconds
4003
+ * @type {string}
4004
+ * @memberof CollectUserFeedbackResponse
4005
+ */
4006
+ duration: string;
4007
+ }
4008
+ /**
4009
+ *
4010
+ * @export
4011
+ * @interface CompositeRecordingResponse
4012
+ */
4013
+ export interface CompositeRecordingResponse {
4014
+ /**
4015
+ *
4016
+ * @type {string}
4017
+ * @memberof CompositeRecordingResponse
4018
+ */
4019
+ status: string;
4020
+ }
4021
+ /**
4022
+ *
4023
+ * @export
4024
+ * @interface ConnectUserDetailsRequest
4025
+ */
4026
+ export interface ConnectUserDetailsRequest {
4027
+ /**
4028
+ *
4029
+ * @type {{ [key: string]: any; }}
4030
+ * @memberof ConnectUserDetailsRequest
4031
+ */
4032
+ custom?: {
4033
+ [key: string]: any;
4034
+ };
4035
+ /**
4036
+ *
4037
+ * @type {string}
4038
+ * @memberof ConnectUserDetailsRequest
4039
+ */
4040
+ id: string;
4041
+ /**
4042
+ *
4043
+ * @type {string}
4044
+ * @memberof ConnectUserDetailsRequest
4045
+ */
4046
+ image?: string;
4047
+ /**
4048
+ *
4049
+ * @type {boolean}
4050
+ * @memberof ConnectUserDetailsRequest
4051
+ */
4052
+ invisible?: boolean;
3639
4053
  /**
3640
4054
  *
3641
4055
  * @type {string}
@@ -3718,21 +4132,21 @@ export interface ConnectionErrorEvent {
3718
4132
  type: string;
3719
4133
  }
3720
4134
  /**
3721
- *
4135
+ * Geographic coordinates
3722
4136
  * @export
3723
- * @interface Coordinates
4137
+ * @interface CoordinatesResponse
3724
4138
  */
3725
- export interface Coordinates {
4139
+ export interface CoordinatesResponse {
3726
4140
  /**
3727
- *
4141
+ * Latitude coordinate
3728
4142
  * @type {number}
3729
- * @memberof Coordinates
4143
+ * @memberof CoordinatesResponse
3730
4144
  */
3731
4145
  latitude: number;
3732
4146
  /**
3733
- *
4147
+ * Longitude coordinate
3734
4148
  * @type {number}
3735
- * @memberof Coordinates
4149
+ * @memberof CoordinatesResponse
3736
4150
  */
3737
4151
  longitude: number;
3738
4152
  }
@@ -3761,6 +4175,12 @@ export interface CountByMinuteResponse {
3761
4175
  * @interface CreateDeviceRequest
3762
4176
  */
3763
4177
  export interface CreateDeviceRequest {
4178
+ /**
4179
+ * 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.
4180
+ * @type {string}
4181
+ * @memberof CreateDeviceRequest
4182
+ */
4183
+ hardware_id?: string;
3764
4184
  /**
3765
4185
  * Device ID
3766
4186
  * @type {string}
@@ -3842,10 +4262,10 @@ export interface CreateGuestResponse {
3842
4262
  export interface Credentials {
3843
4263
  /**
3844
4264
  *
3845
- * @type {Array<ICEServer>}
4265
+ * @type {Array<ICEServerResponse>}
3846
4266
  * @memberof Credentials
3847
4267
  */
3848
- ice_servers: Array<ICEServer>;
4268
+ ice_servers: Array<ICEServerResponse>;
3849
4269
  /**
3850
4270
  *
3851
4271
  * @type {SFUResponse}
@@ -4100,6 +4520,12 @@ export interface DeviceResponse {
4100
4520
  * @memberof DeviceResponse
4101
4521
  */
4102
4522
  disabled_reason?: string;
4523
+ /**
4524
+ * Stable physical device identifier used to deduplicate pushes across push providers
4525
+ * @type {string}
4526
+ * @memberof DeviceResponse
4527
+ */
4528
+ hardware_id?: string;
4103
4529
  /**
4104
4530
  * Device ID
4105
4531
  * @type {string}
@@ -4297,6 +4723,50 @@ export interface EgressResponse {
4297
4723
  */
4298
4724
  rtmps: Array<EgressRTMPResponse>;
4299
4725
  }
4726
+ /**
4727
+ *
4728
+ * @export
4729
+ * @interface EncryptionSettingsRequest
4730
+ */
4731
+ export interface EncryptionSettingsRequest {
4732
+ /**
4733
+ * Encryption mode. One of: available, disabled, auto-on
4734
+ * @type {string}
4735
+ * @memberof EncryptionSettingsRequest
4736
+ */
4737
+ mode?: EncryptionSettingsRequestModeEnum;
4738
+ }
4739
+ /**
4740
+ * @export
4741
+ */
4742
+ export declare const EncryptionSettingsRequestModeEnum: {
4743
+ readonly AVAILABLE: "available";
4744
+ readonly DISABLED: "disabled";
4745
+ readonly AUTO_ON: "auto-on";
4746
+ };
4747
+ export type EncryptionSettingsRequestModeEnum = (typeof EncryptionSettingsRequestModeEnum)[keyof typeof EncryptionSettingsRequestModeEnum];
4748
+ /**
4749
+ * EncryptionSettings is the payload for end-to-end encryption settings
4750
+ * @export
4751
+ * @interface EncryptionSettingsResponse
4752
+ */
4753
+ export interface EncryptionSettingsResponse {
4754
+ /**
4755
+ * the resolved encryption mode for the call
4756
+ * @type {string}
4757
+ * @memberof EncryptionSettingsResponse
4758
+ */
4759
+ mode: EncryptionSettingsResponseModeEnum;
4760
+ }
4761
+ /**
4762
+ * @export
4763
+ */
4764
+ export declare const EncryptionSettingsResponseModeEnum: {
4765
+ readonly AVAILABLE: "available";
4766
+ readonly DISABLED: "disabled";
4767
+ readonly AUTO_ON: "auto-on";
4768
+ };
4769
+ export type EncryptionSettingsResponseModeEnum = (typeof EncryptionSettingsResponseModeEnum)[keyof typeof EncryptionSettingsResponseModeEnum];
4300
4770
  /**
4301
4771
  * Response for ending a call
4302
4772
  * @export
@@ -4322,12 +4792,24 @@ export interface FeedsPreferencesResponse {
4322
4792
  * @memberof FeedsPreferencesResponse
4323
4793
  */
4324
4794
  comment?: string;
4795
+ /**
4796
+ *
4797
+ * @type {string}
4798
+ * @memberof FeedsPreferencesResponse
4799
+ */
4800
+ comment_mention?: string;
4325
4801
  /**
4326
4802
  *
4327
4803
  * @type {string}
4328
4804
  * @memberof FeedsPreferencesResponse
4329
4805
  */
4330
4806
  comment_reaction?: string;
4807
+ /**
4808
+ *
4809
+ * @type {string}
4810
+ * @memberof FeedsPreferencesResponse
4811
+ */
4812
+ comment_reply?: string;
4331
4813
  /**
4332
4814
  *
4333
4815
  * @type {{ [key: string]: string; }}
@@ -4510,6 +4992,67 @@ export interface GeofenceSettingsResponse {
4510
4992
  */
4511
4993
  names: Array<string>;
4512
4994
  }
4995
+ /**
4996
+ * Basic response information
4997
+ * @export
4998
+ * @interface GetCallParticipantSessionMetricsResponse
4999
+ */
5000
+ export interface GetCallParticipantSessionMetricsResponse {
5001
+ /**
5002
+ *
5003
+ * @type {SessionClient}
5004
+ * @memberof GetCallParticipantSessionMetricsResponse
5005
+ */
5006
+ client?: SessionClient;
5007
+ /**
5008
+ * Duration of the request in milliseconds
5009
+ * @type {string}
5010
+ * @memberof GetCallParticipantSessionMetricsResponse
5011
+ */
5012
+ duration: string;
5013
+ /**
5014
+ *
5015
+ * @type {boolean}
5016
+ * @memberof GetCallParticipantSessionMetricsResponse
5017
+ */
5018
+ is_publisher?: boolean;
5019
+ /**
5020
+ *
5021
+ * @type {boolean}
5022
+ * @memberof GetCallParticipantSessionMetricsResponse
5023
+ */
5024
+ is_subscriber?: boolean;
5025
+ /**
5026
+ *
5027
+ * @type {string}
5028
+ * @memberof GetCallParticipantSessionMetricsResponse
5029
+ */
5030
+ joined_at?: string;
5031
+ /**
5032
+ *
5033
+ * @type {Array<PublishedTrackMetrics>}
5034
+ * @memberof GetCallParticipantSessionMetricsResponse
5035
+ */
5036
+ published_tracks?: Array<PublishedTrackMetrics>;
5037
+ /**
5038
+ *
5039
+ * @type {string}
5040
+ * @memberof GetCallParticipantSessionMetricsResponse
5041
+ */
5042
+ publisher_type?: string;
5043
+ /**
5044
+ *
5045
+ * @type {string}
5046
+ * @memberof GetCallParticipantSessionMetricsResponse
5047
+ */
5048
+ user_id?: string;
5049
+ /**
5050
+ *
5051
+ * @type {string}
5052
+ * @memberof GetCallParticipantSessionMetricsResponse
5053
+ */
5054
+ user_session_id?: string;
5055
+ }
4513
5056
  /**
4514
5057
  * Basic response information
4515
5058
  * @export
@@ -4862,24 +5405,40 @@ export interface GroupedStatsResponse {
4862
5405
  */
4863
5406
  export interface HLSSettingsRequest {
4864
5407
  /**
4865
- *
5408
+ * Whether HLS broadcasting should start automatically
4866
5409
  * @type {boolean}
4867
5410
  * @memberof HLSSettingsRequest
4868
5411
  */
4869
5412
  auto_on?: boolean;
4870
5413
  /**
4871
- *
5414
+ * Whether HLS broadcasting is enabled
4872
5415
  * @type {boolean}
4873
5416
  * @memberof HLSSettingsRequest
4874
5417
  */
4875
5418
  enabled?: boolean;
4876
5419
  /**
4877
- *
5420
+ * Quality tracks for HLS. One of: 360p, 480p, 720p, 1080p, 1440p, portrait-360x640, portrait-480x854, portrait-720x1280, portrait-1080x1920, portrait-1440x2560
4878
5421
  * @type {Array<string>}
4879
5422
  * @memberof HLSSettingsRequest
4880
5423
  */
4881
- quality_tracks: Array<string>;
5424
+ quality_tracks: Array<HLSSettingsRequestQualityTracksEnum>;
4882
5425
  }
5426
+ /**
5427
+ * @export
5428
+ */
5429
+ export declare const HLSSettingsRequestQualityTracksEnum: {
5430
+ readonly _360P: "360p";
5431
+ readonly _480P: "480p";
5432
+ readonly _720P: "720p";
5433
+ readonly _1080P: "1080p";
5434
+ readonly _1440P: "1440p";
5435
+ readonly PORTRAIT_360X640: "portrait-360x640";
5436
+ readonly PORTRAIT_480X854: "portrait-480x854";
5437
+ readonly PORTRAIT_720X1280: "portrait-720x1280";
5438
+ readonly PORTRAIT_1080X1920: "portrait-1080x1920";
5439
+ readonly PORTRAIT_1440X2560: "portrait-1440x2560";
5440
+ };
5441
+ export type HLSSettingsRequestQualityTracksEnum = (typeof HLSSettingsRequestQualityTracksEnum)[keyof typeof HLSSettingsRequestQualityTracksEnum];
4883
5442
  /**
4884
5443
  * HLSSettings is the payload for HLS settings
4885
5444
  * @export
@@ -4951,27 +5510,27 @@ export interface HealthCheckEvent {
4951
5510
  type: string;
4952
5511
  }
4953
5512
  /**
4954
- *
5513
+ * ICE server configuration for WebRTC connections
4955
5514
  * @export
4956
- * @interface ICEServer
5515
+ * @interface ICEServerResponse
4957
5516
  */
4958
- export interface ICEServer {
5517
+ export interface ICEServerResponse {
4959
5518
  /**
4960
- *
5519
+ * ICE server password
4961
5520
  * @type {string}
4962
- * @memberof ICEServer
5521
+ * @memberof ICEServerResponse
4963
5522
  */
4964
5523
  password: string;
4965
5524
  /**
4966
- *
5525
+ * ICE server URLs
4967
5526
  * @type {Array<string>}
4968
- * @memberof ICEServer
5527
+ * @memberof ICEServerResponse
4969
5528
  */
4970
5529
  urls: Array<string>;
4971
5530
  /**
4972
- *
5531
+ * ICE server username
4973
5532
  * @type {string}
4974
- * @memberof ICEServer
5533
+ * @memberof ICEServerResponse
4975
5534
  */
4976
5535
  username: string;
4977
5536
  }
@@ -4995,11 +5554,17 @@ export interface IndividualRecordingResponse {
4995
5554
  */
4996
5555
  export interface IndividualRecordingSettingsRequest {
4997
5556
  /**
4998
- *
5557
+ * Recording mode. One of: available, disabled, auto-on
4999
5558
  * @type {string}
5000
5559
  * @memberof IndividualRecordingSettingsRequest
5001
5560
  */
5002
5561
  mode: IndividualRecordingSettingsRequestModeEnum;
5562
+ /**
5563
+ * Output types to include: audio_only, video_only, audio_video, screenshare_audio_only, screenshare_video_only, screenshare_audio_video
5564
+ * @type {Array<string>}
5565
+ * @memberof IndividualRecordingSettingsRequest
5566
+ */
5567
+ output_types?: Array<IndividualRecordingSettingsRequestOutputTypesEnum>;
5003
5568
  }
5004
5569
  /**
5005
5570
  * @export
@@ -5010,6 +5575,18 @@ export declare const IndividualRecordingSettingsRequestModeEnum: {
5010
5575
  readonly AUTO_ON: "auto-on";
5011
5576
  };
5012
5577
  export type IndividualRecordingSettingsRequestModeEnum = (typeof IndividualRecordingSettingsRequestModeEnum)[keyof typeof IndividualRecordingSettingsRequestModeEnum];
5578
+ /**
5579
+ * @export
5580
+ */
5581
+ export declare const IndividualRecordingSettingsRequestOutputTypesEnum: {
5582
+ readonly AUDIO_ONLY: "audio_only";
5583
+ readonly VIDEO_ONLY: "video_only";
5584
+ readonly AUDIO_VIDEO: "audio_video";
5585
+ readonly SCREENSHARE_AUDIO_ONLY: "screenshare_audio_only";
5586
+ readonly SCREENSHARE_VIDEO_ONLY: "screenshare_video_only";
5587
+ readonly SCREENSHARE_AUDIO_VIDEO: "screenshare_audio_video";
5588
+ };
5589
+ export type IndividualRecordingSettingsRequestOutputTypesEnum = (typeof IndividualRecordingSettingsRequestOutputTypesEnum)[keyof typeof IndividualRecordingSettingsRequestOutputTypesEnum];
5013
5590
  /**
5014
5591
  *
5015
5592
  * @export
@@ -5022,6 +5599,12 @@ export interface IndividualRecordingSettingsResponse {
5022
5599
  * @memberof IndividualRecordingSettingsResponse
5023
5600
  */
5024
5601
  mode: IndividualRecordingSettingsResponseModeEnum;
5602
+ /**
5603
+ *
5604
+ * @type {Array<string>}
5605
+ * @memberof IndividualRecordingSettingsResponse
5606
+ */
5607
+ output_types?: Array<string>;
5025
5608
  }
5026
5609
  /**
5027
5610
  * @export
@@ -5340,6 +5923,12 @@ export interface JoinCallRequest {
5340
5923
  * @memberof JoinCallRequest
5341
5924
  */
5342
5925
  data?: CallRequest;
5926
+ /**
5927
+ * 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
5928
+ * @type {boolean}
5929
+ * @memberof JoinCallRequest
5930
+ */
5931
+ e2ee?: boolean;
5343
5932
  /**
5344
5933
  * if true, the participant will be marked as publsihing to large audience
5345
5934
  * @type {boolean}
@@ -5683,27 +6272,27 @@ export interface ListTranscriptionsResponse {
5683
6272
  transcriptions: Array<CallTranscription>;
5684
6273
  }
5685
6274
  /**
5686
- *
6275
+ * Geographic location metadata
5687
6276
  * @export
5688
- * @interface Location
6277
+ * @interface LocationResponse
5689
6278
  */
5690
- export interface Location {
6279
+ export interface LocationResponse {
5691
6280
  /**
5692
- *
6281
+ * Continent code
5693
6282
  * @type {string}
5694
- * @memberof Location
6283
+ * @memberof LocationResponse
5695
6284
  */
5696
6285
  continent_code: string;
5697
6286
  /**
5698
- *
6287
+ * Country ISO code
5699
6288
  * @type {string}
5700
- * @memberof Location
6289
+ * @memberof LocationResponse
5701
6290
  */
5702
6291
  country_iso_code: string;
5703
6292
  /**
5704
- *
6293
+ * Subdivision ISO code
5705
6294
  * @type {string}
5706
- * @memberof Location
6295
+ * @memberof LocationResponse
5707
6296
  */
5708
6297
  subdivision_iso_code: string;
5709
6298
  }
@@ -5860,6 +6449,19 @@ export interface MetricThreshold {
5860
6449
  */
5861
6450
  window_seconds?: number;
5862
6451
  }
6452
+ /**
6453
+ *
6454
+ * @export
6455
+ * @interface MetricTimeSeries
6456
+ */
6457
+ export interface MetricTimeSeries {
6458
+ /**
6459
+ *
6460
+ * @type {Array<Array<number>>}
6461
+ * @memberof MetricTimeSeries
6462
+ */
6463
+ data_points?: Array<Array<number>>;
6464
+ }
5863
6465
  /**
5864
6466
  *
5865
6467
  * @export
@@ -6510,6 +7112,55 @@ export interface ParticipantSeriesUserStats {
6510
7112
  [key: string]: Array<MetricThreshold>;
6511
7113
  };
6512
7114
  }
7115
+ /**
7116
+ *
7117
+ * @export
7118
+ * @interface ParticipantSessionDetails
7119
+ */
7120
+ export interface ParticipantSessionDetails {
7121
+ /**
7122
+ *
7123
+ * @type {number}
7124
+ * @memberof ParticipantSessionDetails
7125
+ */
7126
+ duration_in_seconds?: number;
7127
+ /**
7128
+ *
7129
+ * @type {string}
7130
+ * @memberof ParticipantSessionDetails
7131
+ */
7132
+ joined_at?: string;
7133
+ /**
7134
+ *
7135
+ * @type {string}
7136
+ * @memberof ParticipantSessionDetails
7137
+ */
7138
+ left_at?: string;
7139
+ /**
7140
+ *
7141
+ * @type {string}
7142
+ * @memberof ParticipantSessionDetails
7143
+ */
7144
+ publisher_type: string;
7145
+ /**
7146
+ *
7147
+ * @type {Array<string>}
7148
+ * @memberof ParticipantSessionDetails
7149
+ */
7150
+ roles: Array<string>;
7151
+ /**
7152
+ *
7153
+ * @type {string}
7154
+ * @memberof ParticipantSessionDetails
7155
+ */
7156
+ user_id: string;
7157
+ /**
7158
+ *
7159
+ * @type {string}
7160
+ * @memberof ParticipantSessionDetails
7161
+ */
7162
+ user_session_id: string;
7163
+ }
6513
7164
  /**
6514
7165
  *
6515
7166
  * @export
@@ -6632,6 +7283,55 @@ export interface PublishedTrackFlags {
6632
7283
  */
6633
7284
  video: boolean;
6634
7285
  }
7286
+ /**
7287
+ *
7288
+ * @export
7289
+ * @interface PublishedTrackMetrics
7290
+ */
7291
+ export interface PublishedTrackMetrics {
7292
+ /**
7293
+ *
7294
+ * @type {MetricTimeSeries}
7295
+ * @memberof PublishedTrackMetrics
7296
+ */
7297
+ bitrate?: MetricTimeSeries;
7298
+ /**
7299
+ *
7300
+ * @type {string}
7301
+ * @memberof PublishedTrackMetrics
7302
+ */
7303
+ codec?: string;
7304
+ /**
7305
+ *
7306
+ * @type {MetricTimeSeries}
7307
+ * @memberof PublishedTrackMetrics
7308
+ */
7309
+ framerate?: MetricTimeSeries;
7310
+ /**
7311
+ *
7312
+ * @type {ResolutionMetricsTimeSeries}
7313
+ * @memberof PublishedTrackMetrics
7314
+ */
7315
+ resolution?: ResolutionMetricsTimeSeries;
7316
+ /**
7317
+ *
7318
+ * @type {string}
7319
+ * @memberof PublishedTrackMetrics
7320
+ */
7321
+ track_id?: string;
7322
+ /**
7323
+ *
7324
+ * @type {string}
7325
+ * @memberof PublishedTrackMetrics
7326
+ */
7327
+ track_type?: string;
7328
+ /**
7329
+ *
7330
+ * @type {Array<SessionWarningResponse>}
7331
+ * @memberof PublishedTrackMetrics
7332
+ */
7333
+ warnings?: Array<SessionWarningResponse>;
7334
+ }
6635
7335
  /**
6636
7336
  *
6637
7337
  * @export
@@ -6675,6 +7375,12 @@ export interface PushPreferencesResponse {
6675
7375
  * @memberof PushPreferencesResponse
6676
7376
  */
6677
7377
  chat_level?: string;
7378
+ /**
7379
+ *
7380
+ * @type {ChatPreferencesResponse}
7381
+ * @memberof PushPreferencesResponse
7382
+ */
7383
+ chat_preferences?: ChatPreferencesResponse;
6678
7384
  /**
6679
7385
  *
6680
7386
  * @type {string}
@@ -6807,7 +7513,7 @@ export interface QueryAggregateCallStatsResponse {
6807
7513
  */
6808
7514
  export interface QueryCallMembersRequest {
6809
7515
  /**
6810
- *
7516
+ * Filter conditions to apply to the query
6811
7517
  * @type {{ [key: string]: any; }}
6812
7518
  * @memberof QueryCallMembersRequest
6813
7519
  */
@@ -6839,7 +7545,7 @@ export interface QueryCallMembersRequest {
6839
7545
  */
6840
7546
  prev?: string;
6841
7547
  /**
6842
- *
7548
+ * Array of sort parameters
6843
7549
  * @type {Array<SortParamRequest>}
6844
7550
  * @memberof QueryCallMembersRequest
6845
7551
  */
@@ -6882,6 +7588,73 @@ export interface QueryCallMembersResponse {
6882
7588
  */
6883
7589
  prev?: string;
6884
7590
  }
7591
+ /**
7592
+ * Basic response information
7593
+ * @export
7594
+ * @interface QueryCallParticipantSessionsResponse
7595
+ */
7596
+ export interface QueryCallParticipantSessionsResponse {
7597
+ /**
7598
+ *
7599
+ * @type {string}
7600
+ * @memberof QueryCallParticipantSessionsResponse
7601
+ */
7602
+ call_id: string;
7603
+ /**
7604
+ *
7605
+ * @type {string}
7606
+ * @memberof QueryCallParticipantSessionsResponse
7607
+ */
7608
+ call_session_id: string;
7609
+ /**
7610
+ *
7611
+ * @type {string}
7612
+ * @memberof QueryCallParticipantSessionsResponse
7613
+ */
7614
+ call_type: string;
7615
+ /**
7616
+ * Duration of the request in milliseconds
7617
+ * @type {number}
7618
+ * @memberof QueryCallParticipantSessionsResponse
7619
+ */
7620
+ duration: number;
7621
+ /**
7622
+ *
7623
+ * @type {string}
7624
+ * @memberof QueryCallParticipantSessionsResponse
7625
+ */
7626
+ next?: string;
7627
+ /**
7628
+ *
7629
+ * @type {Array<ParticipantSessionDetails>}
7630
+ * @memberof QueryCallParticipantSessionsResponse
7631
+ */
7632
+ participants_sessions: Array<ParticipantSessionDetails>;
7633
+ /**
7634
+ *
7635
+ * @type {string}
7636
+ * @memberof QueryCallParticipantSessionsResponse
7637
+ */
7638
+ prev?: string;
7639
+ /**
7640
+ *
7641
+ * @type {CallSessionResponse}
7642
+ * @memberof QueryCallParticipantSessionsResponse
7643
+ */
7644
+ session?: CallSessionResponse;
7645
+ /**
7646
+ *
7647
+ * @type {number}
7648
+ * @memberof QueryCallParticipantSessionsResponse
7649
+ */
7650
+ total_participant_duration: number;
7651
+ /**
7652
+ *
7653
+ * @type {number}
7654
+ * @memberof QueryCallParticipantSessionsResponse
7655
+ */
7656
+ total_participant_sessions: number;
7657
+ }
6885
7658
  /**
6886
7659
  *
6887
7660
  * @export
@@ -6889,7 +7662,7 @@ export interface QueryCallMembersResponse {
6889
7662
  */
6890
7663
  export interface QueryCallParticipantsRequest {
6891
7664
  /**
6892
- *
7665
+ * Filter conditions to apply to the query
6893
7666
  * @type {{ [key: string]: any; }}
6894
7667
  * @memberof QueryCallParticipantsRequest
6895
7668
  */
@@ -6958,6 +7731,12 @@ export interface QueryCallSessionParticipantStatsResponse {
6958
7731
  * @memberof QueryCallSessionParticipantStatsResponse
6959
7732
  */
6960
7733
  call_ended_at?: string;
7734
+ /**
7735
+ *
7736
+ * @type {Array<CallLevelEventPayload>}
7737
+ * @memberof QueryCallSessionParticipantStatsResponse
7738
+ */
7739
+ call_events?: Array<CallLevelEventPayload>;
6961
7740
  /**
6962
7741
  *
6963
7742
  * @type {string}
@@ -7068,6 +7847,76 @@ export interface QueryCallSessionParticipantStatsTimelineResponse {
7068
7847
  */
7069
7848
  user_session_id: string;
7070
7849
  }
7850
+ /**
7851
+ *
7852
+ * @export
7853
+ * @interface QueryCallSessionStatsRequest
7854
+ */
7855
+ export interface QueryCallSessionStatsRequest {
7856
+ /**
7857
+ * Filter conditions to apply to the query
7858
+ * @type {{ [key: string]: any; }}
7859
+ * @memberof QueryCallSessionStatsRequest
7860
+ */
7861
+ filter_conditions?: {
7862
+ [key: string]: any;
7863
+ };
7864
+ /**
7865
+ *
7866
+ * @type {number}
7867
+ * @memberof QueryCallSessionStatsRequest
7868
+ */
7869
+ limit?: number;
7870
+ /**
7871
+ *
7872
+ * @type {string}
7873
+ * @memberof QueryCallSessionStatsRequest
7874
+ */
7875
+ next?: string;
7876
+ /**
7877
+ *
7878
+ * @type {string}
7879
+ * @memberof QueryCallSessionStatsRequest
7880
+ */
7881
+ prev?: string;
7882
+ /**
7883
+ * Array of sort parameters
7884
+ * @type {Array<SortParamRequest>}
7885
+ * @memberof QueryCallSessionStatsRequest
7886
+ */
7887
+ sort?: Array<SortParamRequest>;
7888
+ }
7889
+ /**
7890
+ * Basic response information
7891
+ * @export
7892
+ * @interface QueryCallSessionStatsResponse
7893
+ */
7894
+ export interface QueryCallSessionStatsResponse {
7895
+ /**
7896
+ *
7897
+ * @type {Array<CallStatsSessionResponse>}
7898
+ * @memberof QueryCallSessionStatsResponse
7899
+ */
7900
+ call_stats: Array<CallStatsSessionResponse>;
7901
+ /**
7902
+ * Duration of the request in milliseconds
7903
+ * @type {string}
7904
+ * @memberof QueryCallSessionStatsResponse
7905
+ */
7906
+ duration: string;
7907
+ /**
7908
+ *
7909
+ * @type {string}
7910
+ * @memberof QueryCallSessionStatsResponse
7911
+ */
7912
+ next?: string;
7913
+ /**
7914
+ *
7915
+ * @type {string}
7916
+ * @memberof QueryCallSessionStatsResponse
7917
+ */
7918
+ prev?: string;
7919
+ }
7071
7920
  /**
7072
7921
  * Basic response information
7073
7922
  * @export
@@ -7166,7 +8015,7 @@ export interface QueryCallStatsMapResponse {
7166
8015
  */
7167
8016
  export interface QueryCallStatsRequest {
7168
8017
  /**
7169
- *
8018
+ * Filter conditions to apply to the query
7170
8019
  * @type {{ [key: string]: any; }}
7171
8020
  * @memberof QueryCallStatsRequest
7172
8021
  */
@@ -7192,7 +8041,7 @@ export interface QueryCallStatsRequest {
7192
8041
  */
7193
8042
  prev?: string;
7194
8043
  /**
7195
- *
8044
+ * Array of sort parameters
7196
8045
  * @type {Array<SortParamRequest>}
7197
8046
  * @memberof QueryCallStatsRequest
7198
8047
  */
@@ -7236,7 +8085,7 @@ export interface QueryCallStatsResponse {
7236
8085
  */
7237
8086
  export interface QueryCallsRequest {
7238
8087
  /**
7239
- *
8088
+ * Filter conditions to apply to the query
7240
8089
  * @type {{ [key: string]: any; }}
7241
8090
  * @memberof QueryCallsRequest
7242
8091
  */
@@ -7324,7 +8173,7 @@ export interface RTMPBroadcastRequest {
7324
8173
  */
7325
8174
  name: string;
7326
8175
  /**
7327
- * If provided, will override the call's RTMP settings quality
8176
+ * 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
7328
8177
  * @type {string}
7329
8178
  * @memberof RTMPBroadcastRequest
7330
8179
  */
@@ -7378,13 +8227,13 @@ export interface RTMPIngress {
7378
8227
  */
7379
8228
  export interface RTMPSettingsRequest {
7380
8229
  /**
7381
- *
8230
+ * Whether RTMP broadcasting is enabled
7382
8231
  * @type {boolean}
7383
8232
  * @memberof RTMPSettingsRequest
7384
8233
  */
7385
8234
  enabled?: boolean;
7386
8235
  /**
7387
- * Resolution to set for the RTMP stream
8236
+ * Resolution to set for the RTMP stream. One of: 360p, 480p, 720p, 1080p, 1440p, portrait-360x640, portrait-480x854, portrait-720x1280, portrait-1080x1920, portrait-1440x2560
7388
8237
  * @type {string}
7389
8238
  * @memberof RTMPSettingsRequest
7390
8239
  */
@@ -7445,7 +8294,13 @@ export interface RawRecordingResponse {
7445
8294
  */
7446
8295
  export interface RawRecordingSettingsRequest {
7447
8296
  /**
7448
- *
8297
+ * If true, only audio tracks will be recorded
8298
+ * @type {boolean}
8299
+ * @memberof RawRecordingSettingsRequest
8300
+ */
8301
+ audio_only?: boolean;
8302
+ /**
8303
+ * Recording mode. One of: available, disabled, auto-on
7449
8304
  * @type {string}
7450
8305
  * @memberof RawRecordingSettingsRequest
7451
8306
  */
@@ -7468,53 +8323,26 @@ export type RawRecordingSettingsRequestModeEnum = (typeof RawRecordingSettingsRe
7468
8323
  export interface RawRecordingSettingsResponse {
7469
8324
  /**
7470
8325
  *
7471
- * @type {string}
8326
+ * @type {boolean}
7472
8327
  * @memberof RawRecordingSettingsResponse
7473
8328
  */
7474
- mode: RawRecordingSettingsResponseModeEnum;
7475
- }
7476
- /**
7477
- * @export
7478
- */
7479
- export declare const RawRecordingSettingsResponseModeEnum: {
7480
- readonly AVAILABLE: "available";
7481
- readonly DISABLED: "disabled";
7482
- readonly AUTO_ON: "auto-on";
7483
- };
7484
- export type RawRecordingSettingsResponseModeEnum = (typeof RawRecordingSettingsResponseModeEnum)[keyof typeof RawRecordingSettingsResponseModeEnum];
7485
- /**
7486
- *
7487
- * @export
7488
- * @interface ReactionResponse
7489
- */
7490
- export interface ReactionResponse {
7491
- /**
7492
- *
7493
- * @type {{ [key: string]: any; }}
7494
- * @memberof ReactionResponse
7495
- */
7496
- custom?: {
7497
- [key: string]: any;
7498
- };
7499
- /**
7500
- *
7501
- * @type {string}
7502
- * @memberof ReactionResponse
7503
- */
7504
- emoji_code?: string;
8329
+ audio_only?: boolean;
7505
8330
  /**
7506
8331
  *
7507
8332
  * @type {string}
7508
- * @memberof ReactionResponse
7509
- */
7510
- type: string;
7511
- /**
7512
- *
7513
- * @type {UserResponse}
7514
- * @memberof ReactionResponse
8333
+ * @memberof RawRecordingSettingsResponse
7515
8334
  */
7516
- user: UserResponse;
8335
+ mode: RawRecordingSettingsResponseModeEnum;
7517
8336
  }
8337
+ /**
8338
+ * @export
8339
+ */
8340
+ export declare const RawRecordingSettingsResponseModeEnum: {
8341
+ readonly AVAILABLE: "available";
8342
+ readonly DISABLED: "disabled";
8343
+ readonly AUTO_ON: "auto-on";
8344
+ };
8345
+ export type RawRecordingSettingsResponseModeEnum = (typeof RawRecordingSettingsResponseModeEnum)[keyof typeof RawRecordingSettingsResponseModeEnum];
7518
8346
  /**
7519
8347
  *
7520
8348
  * @export
@@ -7522,19 +8350,19 @@ export interface ReactionResponse {
7522
8350
  */
7523
8351
  export interface RecordSettingsRequest {
7524
8352
  /**
7525
- *
8353
+ * Whether to record audio only
7526
8354
  * @type {boolean}
7527
8355
  * @memberof RecordSettingsRequest
7528
8356
  */
7529
8357
  audio_only?: boolean;
7530
8358
  /**
7531
- *
8359
+ * Recording mode. One of: available, disabled, auto-on
7532
8360
  * @type {string}
7533
8361
  * @memberof RecordSettingsRequest
7534
8362
  */
7535
8363
  mode: RecordSettingsRequestModeEnum;
7536
8364
  /**
7537
- *
8365
+ * Recording quality. One of: 360p, 480p, 720p, 1080p, 1440p, portrait-360x640, portrait-480x854, portrait-720x1280, portrait-1080x1920, portrait-1440x2560
7538
8366
  * @type {string}
7539
8367
  * @memberof RecordSettingsRequest
7540
8368
  */
@@ -7653,6 +8481,32 @@ export interface ReportByHistogramBucket {
7653
8481
  */
7654
8482
  upper_bound?: Bound;
7655
8483
  }
8484
+ /**
8485
+ * 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.
8486
+ * @export
8487
+ * @interface ReportClientEventRequest
8488
+ */
8489
+ export interface ReportClientEventRequest {
8490
+ /**
8491
+ * Client-side events to report (1-100 per request)
8492
+ * @type {Array<ClientEvent>}
8493
+ * @memberof ReportClientEventRequest
8494
+ */
8495
+ events: Array<ClientEvent>;
8496
+ }
8497
+ /**
8498
+ * Response for reporting client-side telemetry events
8499
+ * @export
8500
+ * @interface ReportClientEventResponse
8501
+ */
8502
+ export interface ReportClientEventResponse {
8503
+ /**
8504
+ * Duration of the request in milliseconds
8505
+ * @type {string}
8506
+ * @memberof ReportClientEventResponse
8507
+ */
8508
+ duration: string;
8509
+ }
7656
8510
  /**
7657
8511
  *
7658
8512
  * @export
@@ -7689,8 +8543,17 @@ export interface RequestPermissionRequest {
7689
8543
  * @type {Array<string>}
7690
8544
  * @memberof RequestPermissionRequest
7691
8545
  */
7692
- permissions: Array<string>;
8546
+ permissions: Array<RequestPermissionRequestPermissionsEnum>;
7693
8547
  }
8548
+ /**
8549
+ * @export
8550
+ */
8551
+ export declare const RequestPermissionRequestPermissionsEnum: {
8552
+ readonly SCREENSHARE: "screenshare";
8553
+ readonly SEND_AUDIO: "send-audio";
8554
+ readonly SEND_VIDEO: "send-video";
8555
+ };
8556
+ export type RequestPermissionRequestPermissionsEnum = (typeof RequestPermissionRequestPermissionsEnum)[keyof typeof RequestPermissionRequestPermissionsEnum];
7694
8557
  /**
7695
8558
  *
7696
8559
  * @export
@@ -7704,6 +8567,93 @@ export interface RequestPermissionResponse {
7704
8567
  */
7705
8568
  duration: string;
7706
8569
  }
8570
+ /**
8571
+ *
8572
+ * @export
8573
+ * @interface ResolutionMetricsTimeSeries
8574
+ */
8575
+ export interface ResolutionMetricsTimeSeries {
8576
+ /**
8577
+ *
8578
+ * @type {MetricTimeSeries}
8579
+ * @memberof ResolutionMetricsTimeSeries
8580
+ */
8581
+ height?: MetricTimeSeries;
8582
+ /**
8583
+ *
8584
+ * @type {MetricTimeSeries}
8585
+ * @memberof ResolutionMetricsTimeSeries
8586
+ */
8587
+ width?: MetricTimeSeries;
8588
+ }
8589
+ /**
8590
+ * Request to determine SIP trunk authentication requirements
8591
+ * @export
8592
+ * @interface ResolveSipAuthRequest
8593
+ */
8594
+ export interface ResolveSipAuthRequest {
8595
+ /**
8596
+ * Host from the SIP From header
8597
+ * @type {string}
8598
+ * @memberof ResolveSipAuthRequest
8599
+ */
8600
+ from_host?: string;
8601
+ /**
8602
+ * SIP caller number
8603
+ * @type {string}
8604
+ * @memberof ResolveSipAuthRequest
8605
+ */
8606
+ sip_caller_number: string;
8607
+ /**
8608
+ * SIP trunk number to look up
8609
+ * @type {string}
8610
+ * @memberof ResolveSipAuthRequest
8611
+ */
8612
+ sip_trunk_number: string;
8613
+ /**
8614
+ * Transport-layer source IP address of the SIP request
8615
+ * @type {string}
8616
+ * @memberof ResolveSipAuthRequest
8617
+ */
8618
+ source_ip?: string;
8619
+ }
8620
+ /**
8621
+ * Response containing the pre-authentication decision for a SIP trunk
8622
+ * @export
8623
+ * @interface ResolveSipAuthResponse
8624
+ */
8625
+ export interface ResolveSipAuthResponse {
8626
+ /**
8627
+ * Authentication result: password, accept, or no_trunk_found
8628
+ * @type {string}
8629
+ * @memberof ResolveSipAuthResponse
8630
+ */
8631
+ auth_result: string;
8632
+ /**
8633
+ *
8634
+ * @type {string}
8635
+ * @memberof ResolveSipAuthResponse
8636
+ */
8637
+ duration: string;
8638
+ /**
8639
+ * Password for digest authentication (when auth_result is password)
8640
+ * @type {string}
8641
+ * @memberof ResolveSipAuthResponse
8642
+ */
8643
+ password?: string;
8644
+ /**
8645
+ * ID of the matched SIP trunk
8646
+ * @type {string}
8647
+ * @memberof ResolveSipAuthResponse
8648
+ */
8649
+ trunk_id?: string;
8650
+ /**
8651
+ * Username for digest authentication (when auth_result is password)
8652
+ * @type {string}
8653
+ * @memberof ResolveSipAuthResponse
8654
+ */
8655
+ username?: string;
8656
+ }
7707
8657
  /**
7708
8658
  * Request to resolve SIP inbound routing using challenge authentication
7709
8659
  * @export
@@ -7712,10 +8662,16 @@ export interface RequestPermissionResponse {
7712
8662
  export interface ResolveSipInboundRequest {
7713
8663
  /**
7714
8664
  *
7715
- * @type {SIPChallenge}
8665
+ * @type {SIPChallengeRequest}
8666
+ * @memberof ResolveSipInboundRequest
8667
+ */
8668
+ challenge?: SIPChallengeRequest;
8669
+ /**
8670
+ * Optional routing number for routing number-based call routing (10 digits)
8671
+ * @type {string}
7716
8672
  * @memberof ResolveSipInboundRequest
7717
8673
  */
7718
- challenge: SIPChallenge;
8674
+ routing_number?: string;
7719
8675
  /**
7720
8676
  * SIP caller number
7721
8677
  * @type {string}
@@ -7736,6 +8692,12 @@ export interface ResolveSipInboundRequest {
7736
8692
  * @memberof ResolveSipInboundRequest
7737
8693
  */
7738
8694
  sip_trunk_number: string;
8695
+ /**
8696
+ * Optional pre-authenticated trunk ID (from PreAuth no-auth flow)
8697
+ * @type {string}
8698
+ * @memberof ResolveSipInboundRequest
8699
+ */
8700
+ trunk_id?: string;
7739
8701
  }
7740
8702
  /**
7741
8703
  * Response containing resolved SIP inbound routing information
@@ -7905,10 +8867,16 @@ export interface SDKUsageReportResponse {
7905
8867
  export interface SFULocationResponse {
7906
8868
  /**
7907
8869
  *
7908
- * @type {Coordinates}
8870
+ * @type {CoordinatesResponse}
8871
+ * @memberof SFULocationResponse
8872
+ */
8873
+ coordinates: CoordinatesResponse;
8874
+ /**
8875
+ *
8876
+ * @type {number}
7909
8877
  * @memberof SFULocationResponse
7910
8878
  */
7911
- coordinates: Coordinates;
8879
+ count?: number;
7912
8880
  /**
7913
8881
  *
7914
8882
  * @type {string}
@@ -7923,10 +8891,10 @@ export interface SFULocationResponse {
7923
8891
  id: string;
7924
8892
  /**
7925
8893
  *
7926
- * @type {Location}
8894
+ * @type {LocationResponse}
7927
8895
  * @memberof SFULocationResponse
7928
8896
  */
7929
- location: Location;
8897
+ location: LocationResponse;
7930
8898
  }
7931
8899
  /**
7932
8900
  *
@@ -7990,105 +8958,105 @@ export interface SIPCallerConfigsResponse {
7990
8958
  id: string;
7991
8959
  }
7992
8960
  /**
7993
- *
8961
+ * SIP digest challenge authentication data
7994
8962
  * @export
7995
- * @interface SIPChallenge
8963
+ * @interface SIPChallengeRequest
7996
8964
  */
7997
- export interface SIPChallenge {
8965
+ export interface SIPChallengeRequest {
7998
8966
  /**
7999
- *
8967
+ * Deprecated: A1 hash for backward compatibility
8000
8968
  * @type {string}
8001
- * @memberof SIPChallenge
8969
+ * @memberof SIPChallengeRequest
8002
8970
  */
8003
8971
  a1?: string;
8004
8972
  /**
8005
- *
8973
+ * Hash algorithm (e.g., MD5, SHA-256)
8006
8974
  * @type {string}
8007
- * @memberof SIPChallenge
8975
+ * @memberof SIPChallengeRequest
8008
8976
  */
8009
8977
  algorithm?: string;
8010
8978
  /**
8011
- *
8979
+ * Character set
8012
8980
  * @type {string}
8013
- * @memberof SIPChallenge
8981
+ * @memberof SIPChallengeRequest
8014
8982
  */
8015
8983
  charset?: string;
8016
8984
  /**
8017
- *
8985
+ * Client nonce for qop=auth
8018
8986
  * @type {string}
8019
- * @memberof SIPChallenge
8987
+ * @memberof SIPChallengeRequest
8020
8988
  */
8021
8989
  cnonce?: string;
8022
8990
  /**
8023
- *
8991
+ * Domain list
8024
8992
  * @type {Array<string>}
8025
- * @memberof SIPChallenge
8993
+ * @memberof SIPChallengeRequest
8026
8994
  */
8027
8995
  domain?: Array<string>;
8028
8996
  /**
8029
- *
8997
+ * SIP method (e.g., INVITE)
8030
8998
  * @type {string}
8031
- * @memberof SIPChallenge
8999
+ * @memberof SIPChallengeRequest
8032
9000
  */
8033
9001
  method?: string;
8034
9002
  /**
8035
- *
9003
+ * Nonce count for qop=auth
8036
9004
  * @type {string}
8037
- * @memberof SIPChallenge
9005
+ * @memberof SIPChallengeRequest
8038
9006
  */
8039
9007
  nc?: string;
8040
9008
  /**
8041
- *
9009
+ * Server nonce
8042
9010
  * @type {string}
8043
- * @memberof SIPChallenge
9011
+ * @memberof SIPChallengeRequest
8044
9012
  */
8045
9013
  nonce?: string;
8046
9014
  /**
8047
- *
9015
+ * Opaque value
8048
9016
  * @type {string}
8049
- * @memberof SIPChallenge
9017
+ * @memberof SIPChallengeRequest
8050
9018
  */
8051
9019
  opaque?: string;
8052
9020
  /**
8053
- *
9021
+ * Quality of protection options
8054
9022
  * @type {Array<string>}
8055
- * @memberof SIPChallenge
9023
+ * @memberof SIPChallengeRequest
8056
9024
  */
8057
9025
  qop?: Array<string>;
8058
9026
  /**
8059
- *
9027
+ * Authentication realm
8060
9028
  * @type {string}
8061
- * @memberof SIPChallenge
9029
+ * @memberof SIPChallengeRequest
8062
9030
  */
8063
9031
  realm?: string;
8064
9032
  /**
8065
- *
9033
+ * Digest response hash from client
8066
9034
  * @type {string}
8067
- * @memberof SIPChallenge
9035
+ * @memberof SIPChallengeRequest
8068
9036
  */
8069
9037
  response?: string;
8070
9038
  /**
8071
- *
9039
+ * Whether the nonce is stale
8072
9040
  * @type {boolean}
8073
- * @memberof SIPChallenge
9041
+ * @memberof SIPChallengeRequest
8074
9042
  */
8075
9043
  stale?: boolean;
8076
9044
  /**
8077
- *
9045
+ * Request URI
8078
9046
  * @type {string}
8079
- * @memberof SIPChallenge
9047
+ * @memberof SIPChallengeRequest
8080
9048
  */
8081
9049
  uri?: string;
8082
9050
  /**
8083
- *
9051
+ * Whether to hash the username
8084
9052
  * @type {boolean}
8085
- * @memberof SIPChallenge
9053
+ * @memberof SIPChallengeRequest
8086
9054
  */
8087
9055
  userhash?: boolean;
8088
9056
  /**
8089
- *
9057
+ * Username for authentication
8090
9058
  * @type {string}
8091
- * @memberof SIPChallenge
9059
+ * @memberof SIPChallengeRequest
8092
9060
  */
8093
9061
  username?: string;
8094
9062
  }
@@ -8270,6 +9238,12 @@ export interface SIPPinProtectionConfigsResponse {
8270
9238
  * @interface SIPTrunkResponse
8271
9239
  */
8272
9240
  export interface SIPTrunkResponse {
9241
+ /**
9242
+ * Allowed IPv4/IPv6 addresses or CIDR blocks
9243
+ * @type {Array<string>}
9244
+ * @memberof SIPTrunkResponse
9245
+ */
9246
+ allowed_ips: Array<string>;
8273
9247
  /**
8274
9248
  * Creation timestamp
8275
9249
  * @type {string}
@@ -8413,13 +9387,13 @@ export interface SendCallEventResponse {
8413
9387
  /**
8414
9388
  *
8415
9389
  * @export
8416
- * @interface SendReactionRequest
9390
+ * @interface SendVideoReactionRequest
8417
9391
  */
8418
- export interface SendReactionRequest {
9392
+ export interface SendVideoReactionRequest {
8419
9393
  /**
8420
9394
  *
8421
9395
  * @type {{ [key: string]: any; }}
8422
- * @memberof SendReactionRequest
9396
+ * @memberof SendVideoReactionRequest
8423
9397
  */
8424
9398
  custom?: {
8425
9399
  [key: string]: any;
@@ -8427,34 +9401,71 @@ export interface SendReactionRequest {
8427
9401
  /**
8428
9402
  *
8429
9403
  * @type {string}
8430
- * @memberof SendReactionRequest
9404
+ * @memberof SendVideoReactionRequest
8431
9405
  */
8432
9406
  emoji_code?: string;
8433
9407
  /**
8434
9408
  *
8435
9409
  * @type {string}
8436
- * @memberof SendReactionRequest
9410
+ * @memberof SendVideoReactionRequest
8437
9411
  */
8438
9412
  type: string;
8439
9413
  }
8440
9414
  /**
8441
9415
  * Basic response information
8442
9416
  * @export
8443
- * @interface SendReactionResponse
9417
+ * @interface SendVideoReactionResponse
8444
9418
  */
8445
- export interface SendReactionResponse {
9419
+ export interface SendVideoReactionResponse {
8446
9420
  /**
8447
9421
  * Duration of the request in milliseconds
8448
9422
  * @type {string}
8449
- * @memberof SendReactionResponse
9423
+ * @memberof SendVideoReactionResponse
8450
9424
  */
8451
9425
  duration: string;
8452
9426
  /**
8453
9427
  *
8454
- * @type {ReactionResponse}
8455
- * @memberof SendReactionResponse
9428
+ * @type {VideoReactionResponse}
9429
+ * @memberof SendVideoReactionResponse
9430
+ */
9431
+ reaction: VideoReactionResponse;
9432
+ }
9433
+ /**
9434
+ *
9435
+ * @export
9436
+ * @interface SessionClient
9437
+ */
9438
+ export interface SessionClient {
9439
+ /**
9440
+ *
9441
+ * @type {string}
9442
+ * @memberof SessionClient
9443
+ */
9444
+ ip?: string;
9445
+ /**
9446
+ *
9447
+ * @type {CallStatsLocation}
9448
+ * @memberof SessionClient
9449
+ */
9450
+ location?: CallStatsLocation;
9451
+ /**
9452
+ *
9453
+ * @type {string}
9454
+ * @memberof SessionClient
9455
+ */
9456
+ name?: string;
9457
+ /**
9458
+ *
9459
+ * @type {string}
9460
+ * @memberof SessionClient
9461
+ */
9462
+ network_type?: string;
9463
+ /**
9464
+ *
9465
+ * @type {string}
9466
+ * @memberof SessionClient
8456
9467
  */
8457
- reaction: ReactionResponse;
9468
+ version?: string;
8458
9469
  }
8459
9470
  /**
8460
9471
  *
@@ -8482,12 +9493,43 @@ export interface SessionSettingsResponse {
8482
9493
  */
8483
9494
  inactivity_timeout_seconds: number;
8484
9495
  }
9496
+ /**
9497
+ *
9498
+ * @export
9499
+ * @interface SessionWarningResponse
9500
+ */
9501
+ export interface SessionWarningResponse {
9502
+ /**
9503
+ *
9504
+ * @type {string}
9505
+ * @memberof SessionWarningResponse
9506
+ */
9507
+ code: string;
9508
+ /**
9509
+ *
9510
+ * @type {string}
9511
+ * @memberof SessionWarningResponse
9512
+ */
9513
+ time?: string;
9514
+ /**
9515
+ *
9516
+ * @type {string}
9517
+ * @memberof SessionWarningResponse
9518
+ */
9519
+ warning: string;
9520
+ }
8485
9521
  /**
8486
9522
  * Credentials for SIP inbound call authentication
8487
9523
  * @export
8488
9524
  * @interface SipInboundCredentials
8489
9525
  */
8490
9526
  export interface SipInboundCredentials {
9527
+ /**
9528
+ * API key for the application
9529
+ * @type {string}
9530
+ * @memberof SipInboundCredentials
9531
+ */
9532
+ api_key: string;
8491
9533
  /**
8492
9534
  * Custom data associated with the call
8493
9535
  * @type {{ [key: string]: any; }}
@@ -8536,7 +9578,7 @@ export interface SipInboundCredentials {
8536
9578
  */
8537
9579
  export interface SortParamRequest {
8538
9580
  /**
8539
- * Direction of sorting, 1 for Ascending, -1 for Descending, default is 1
9581
+ * Direction of sorting, 1 for Ascending, -1 for Descending, default is 1. One of: -1, 1
8540
9582
  * @type {number}
8541
9583
  * @memberof SortParamRequest
8542
9584
  */
@@ -8547,6 +9589,12 @@ export interface SortParamRequest {
8547
9589
  * @memberof SortParamRequest
8548
9590
  */
8549
9591
  field?: string;
9592
+ /**
9593
+ * Type of field to sort by. Empty string or omitted means string type (default). One of: number, boolean
9594
+ * @type {string}
9595
+ * @memberof SortParamRequest
9596
+ */
9597
+ type?: string;
8550
9598
  }
8551
9599
  /**
8552
9600
  *
@@ -8586,7 +9634,7 @@ export interface StartClosedCaptionsRequest {
8586
9634
  */
8587
9635
  external_storage?: string;
8588
9636
  /**
8589
- * The spoken language in the call, if not provided the language defined in the transcription settings will be used
9637
+ * 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
8590
9638
  * @type {string}
8591
9639
  * @memberof StartClosedCaptionsRequest
8592
9640
  */
@@ -8764,7 +9812,7 @@ export interface StartTranscriptionRequest {
8764
9812
  */
8765
9813
  enable_closed_captions?: boolean;
8766
9814
  /**
8767
- * The spoken language in the call, if not provided the language defined in the transcription settings will be used
9815
+ * 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
8768
9816
  * @type {string}
8769
9817
  * @memberof StartTranscriptionRequest
8770
9818
  */
@@ -9363,8 +10411,46 @@ export interface TranslationSettings {
9363
10411
  * @type {Array<string>}
9364
10412
  * @memberof TranslationSettings
9365
10413
  */
9366
- languages?: Array<string>;
10414
+ languages?: Array<TranslationSettingsLanguagesEnum>;
9367
10415
  }
10416
+ /**
10417
+ * @export
10418
+ */
10419
+ export declare const TranslationSettingsLanguagesEnum: {
10420
+ readonly EN: "en";
10421
+ readonly FR: "fr";
10422
+ readonly ES: "es";
10423
+ readonly DE: "de";
10424
+ readonly IT: "it";
10425
+ readonly NL: "nl";
10426
+ readonly PT: "pt";
10427
+ readonly PL: "pl";
10428
+ readonly CA: "ca";
10429
+ readonly CS: "cs";
10430
+ readonly DA: "da";
10431
+ readonly EL: "el";
10432
+ readonly FI: "fi";
10433
+ readonly ID: "id";
10434
+ readonly JA: "ja";
10435
+ readonly RU: "ru";
10436
+ readonly SV: "sv";
10437
+ readonly TA: "ta";
10438
+ readonly TH: "th";
10439
+ readonly TR: "tr";
10440
+ readonly HU: "hu";
10441
+ readonly RO: "ro";
10442
+ readonly ZH: "zh";
10443
+ readonly AR: "ar";
10444
+ readonly TL: "tl";
10445
+ readonly HE: "he";
10446
+ readonly HI: "hi";
10447
+ readonly HR: "hr";
10448
+ readonly KO: "ko";
10449
+ readonly MS: "ms";
10450
+ readonly NO: "no";
10451
+ readonly UK: "uk";
10452
+ };
10453
+ export type TranslationSettingsLanguagesEnum = (typeof TranslationSettingsLanguagesEnum)[keyof typeof TranslationSettingsLanguagesEnum];
9368
10454
  /**
9369
10455
  * UnblockUserRequest is the payload for unblocking a user.
9370
10456
  * @export
@@ -9568,13 +10654,13 @@ export interface UpdateUserPermissionsRequest {
9568
10654
  * @type {Array<string>}
9569
10655
  * @memberof UpdateUserPermissionsRequest
9570
10656
  */
9571
- grant_permissions?: Array<string>;
10657
+ grant_permissions?: Array<UpdateUserPermissionsRequestGrantPermissionsEnum>;
9572
10658
  /**
9573
10659
  *
9574
10660
  * @type {Array<string>}
9575
10661
  * @memberof UpdateUserPermissionsRequest
9576
10662
  */
9577
- revoke_permissions?: Array<string>;
10663
+ revoke_permissions?: Array<UpdateUserPermissionsRequestRevokePermissionsEnum>;
9578
10664
  /**
9579
10665
  *
9580
10666
  * @type {string}
@@ -9582,6 +10668,24 @@ export interface UpdateUserPermissionsRequest {
9582
10668
  */
9583
10669
  user_id: string;
9584
10670
  }
10671
+ /**
10672
+ * @export
10673
+ */
10674
+ export declare const UpdateUserPermissionsRequestGrantPermissionsEnum: {
10675
+ readonly SCREENSHARE: "screenshare";
10676
+ readonly SEND_AUDIO: "send-audio";
10677
+ readonly SEND_VIDEO: "send-video";
10678
+ };
10679
+ export type UpdateUserPermissionsRequestGrantPermissionsEnum = (typeof UpdateUserPermissionsRequestGrantPermissionsEnum)[keyof typeof UpdateUserPermissionsRequestGrantPermissionsEnum];
10680
+ /**
10681
+ * @export
10682
+ */
10683
+ export declare const UpdateUserPermissionsRequestRevokePermissionsEnum: {
10684
+ readonly SCREENSHARE: "screenshare";
10685
+ readonly SEND_AUDIO: "send-audio";
10686
+ readonly SEND_VIDEO: "send-video";
10687
+ };
10688
+ export type UpdateUserPermissionsRequestRevokePermissionsEnum = (typeof UpdateUserPermissionsRequestRevokePermissionsEnum)[keyof typeof UpdateUserPermissionsRequestRevokePermissionsEnum];
9585
10689
  /**
9586
10690
  * Basic response information
9587
10691
  * @export
@@ -10134,6 +11238,39 @@ export interface VideoReactionOverTimeResponse {
10134
11238
  */
10135
11239
  by_minute?: Array<CountByMinuteResponse>;
10136
11240
  }
11241
+ /**
11242
+ *
11243
+ * @export
11244
+ * @interface VideoReactionResponse
11245
+ */
11246
+ export interface VideoReactionResponse {
11247
+ /**
11248
+ *
11249
+ * @type {{ [key: string]: any; }}
11250
+ * @memberof VideoReactionResponse
11251
+ */
11252
+ custom?: {
11253
+ [key: string]: any;
11254
+ };
11255
+ /**
11256
+ *
11257
+ * @type {string}
11258
+ * @memberof VideoReactionResponse
11259
+ */
11260
+ emoji_code?: string;
11261
+ /**
11262
+ *
11263
+ * @type {string}
11264
+ * @memberof VideoReactionResponse
11265
+ */
11266
+ type: string;
11267
+ /**
11268
+ *
11269
+ * @type {UserResponse}
11270
+ * @memberof VideoReactionResponse
11271
+ */
11272
+ user: UserResponse;
11273
+ }
10137
11274
  /**
10138
11275
  *
10139
11276
  * @export
@@ -10265,13 +11402,13 @@ export interface WHIPIngress {
10265
11402
  */
10266
11403
  export interface WSAuthMessage {
10267
11404
  /**
10268
- *
11405
+ * List of products to subscribe to. One of: chat, video, feeds
10269
11406
  * @type {Array<string>}
10270
11407
  * @memberof WSAuthMessage
10271
11408
  */
10272
- products?: Array<string>;
11409
+ products?: Array<WSAuthMessageProductsEnum>;
10273
11410
  /**
10274
- *
11411
+ * JWT token for authentication
10275
11412
  * @type {string}
10276
11413
  * @memberof WSAuthMessage
10277
11414
  */
@@ -10283,3 +11420,12 @@ export interface WSAuthMessage {
10283
11420
  */
10284
11421
  user_details: ConnectUserDetailsRequest;
10285
11422
  }
11423
+ /**
11424
+ * @export
11425
+ */
11426
+ export declare const WSAuthMessageProductsEnum: {
11427
+ readonly CHAT: "chat";
11428
+ readonly VIDEO: "video";
11429
+ readonly FEEDS: "feeds";
11430
+ };
11431
+ export type WSAuthMessageProductsEnum = (typeof WSAuthMessageProductsEnum)[keyof typeof WSAuthMessageProductsEnum];