@stream-io/node-sdk 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +8 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8 -8
- package/dist/index.es.js.map +1 -1
- package/dist/src/StreamCall.d.ts +2 -2
- package/dist/src/gen/video/apis/ProductvideoApi.d.ts +5 -5
- package/dist/src/gen/video/models/index.d.ts +91 -6
- package/dist/src/gen/video/runtime.d.ts +1 -1
- package/package.json +1 -1
- package/src/StreamCall.ts +3 -2
- package/src/gen/video/apis/ProductvideoApi.ts +9 -9
- package/src/gen/video/models/index.ts +91 -6
- package/src/gen/video/runtime.ts +1 -1
package/dist/src/StreamCall.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StreamClient } from './StreamClient';
|
|
2
|
-
import { DeleteRecordingRequest, DeleteTranscriptionRequest, GetCallRequest, VideoBlockUserRequest, VideoGetOrCreateCallRequest, VideoGoLiveRequest, VideoMuteUsersRequest, VideoPinRequest, VideoQueryCallMembersRequest, VideoStartRecordingRequest, VideoStartTranscriptionRequest, VideoUnblockUserRequest, VideoUnpinRequest, VideoUpdateCallMembersRequest, VideoUpdateCallRequest, VideoUpdateUserPermissionsRequest } from './gen/video';
|
|
2
|
+
import { DeleteRecordingRequest, DeleteTranscriptionRequest, GetCallRequest, VideoBlockUserRequest, VideoGetOrCreateCallRequest, VideoGoLiveRequest, VideoMuteUsersRequest, VideoPinRequest, VideoQueryCallMembersRequest, VideoSendCallEventRequest, VideoStartRecordingRequest, VideoStartTranscriptionRequest, VideoUnblockUserRequest, VideoUnpinRequest, VideoUpdateCallMembersRequest, VideoUpdateCallRequest, VideoUpdateUserPermissionsRequest } from './gen/video';
|
|
3
3
|
import { OmitTypeId } from './types';
|
|
4
4
|
export declare class StreamCall {
|
|
5
5
|
private readonly streamClient;
|
|
@@ -19,7 +19,7 @@ export declare class StreamCall {
|
|
|
19
19
|
listTranscriptions: () => Promise<import("./gen/video").VideoListTranscriptionsResponse>;
|
|
20
20
|
muteUsers: (videoMuteUsersRequest: VideoMuteUsersRequest) => Promise<import("./gen/video").VideoMuteUsersResponse>;
|
|
21
21
|
queryMembers: (request?: OmitTypeId<VideoQueryCallMembersRequest>) => Promise<import("./gen/video").VideoQueryCallMembersResponse>;
|
|
22
|
-
sendCustomEvent: (
|
|
22
|
+
sendCustomEvent: (videoSendCallEventRequest: VideoSendCallEventRequest) => Promise<import("./gen/video").VideoSendCallEventResponse>;
|
|
23
23
|
startHLSBroadcasting: () => Promise<import("./gen/video").VideoStartHLSBroadcastingResponse>;
|
|
24
24
|
startRecording: (request?: VideoStartRecordingRequest) => Promise<import("./gen/video").VideoStartRecordingResponse>;
|
|
25
25
|
startTranscription: (videoStartTranscriptionRequest?: VideoStartTranscriptionRequest) => Promise<import("./gen/video").VideoStartTranscriptionResponse>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Stream API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: v113.
|
|
5
|
+
* The version of the OpenAPI document: v113.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { VideoBlockUserRequest, VideoBlockUserResponse, VideoCheckExternalStorageResponse, VideoCollectUserFeedbackRequest, VideoCollectUserFeedbackResponse, VideoCreateCallTypeRequest, VideoCreateCallTypeResponse, VideoCreateDeviceRequest, VideoCreateExternalStorageRequest, VideoCreateExternalStorageResponse, VideoCreateGuestRequest, VideoCreateGuestResponse, VideoDeleteExternalStorageResponse, VideoDeleteRecordingResponse, VideoDeleteTranscriptionResponse, VideoEndCallResponse, VideoGetCallResponse, VideoGetCallStatsResponse, VideoGetCallTypeResponse, VideoGetEdgesResponse, VideoGetOrCreateCallRequest, VideoGetOrCreateCallResponse, VideoGoLiveRequest, VideoGoLiveResponse, VideoListCallTypeResponse, VideoListDevicesResponse, VideoListExternalStorageResponse, VideoListRecordingsResponse, VideoListTranscriptionsResponse, VideoMuteUsersRequest, VideoMuteUsersResponse, VideoPinRequest, VideoPinResponse, VideoQueryCallMembersRequest, VideoQueryCallMembersResponse, VideoQueryCallStatsRequest, VideoQueryCallStatsResponse, VideoQueryCallsRequest, VideoQueryCallsResponse, VideoResponse,
|
|
13
|
+
import type { VideoBlockUserRequest, VideoBlockUserResponse, VideoCheckExternalStorageResponse, VideoCollectUserFeedbackRequest, VideoCollectUserFeedbackResponse, VideoCreateCallTypeRequest, VideoCreateCallTypeResponse, VideoCreateDeviceRequest, VideoCreateExternalStorageRequest, VideoCreateExternalStorageResponse, VideoCreateGuestRequest, VideoCreateGuestResponse, VideoDeleteExternalStorageResponse, VideoDeleteRecordingResponse, VideoDeleteTranscriptionResponse, VideoEndCallResponse, VideoGetCallResponse, VideoGetCallStatsResponse, VideoGetCallTypeResponse, VideoGetEdgesResponse, VideoGetOrCreateCallRequest, VideoGetOrCreateCallResponse, VideoGoLiveRequest, VideoGoLiveResponse, VideoListCallTypeResponse, VideoListDevicesResponse, VideoListExternalStorageResponse, VideoListRecordingsResponse, VideoListTranscriptionsResponse, VideoMuteUsersRequest, VideoMuteUsersResponse, VideoPinRequest, VideoPinResponse, VideoQueryCallMembersRequest, VideoQueryCallMembersResponse, VideoQueryCallStatsRequest, VideoQueryCallStatsResponse, VideoQueryCallsRequest, VideoQueryCallsResponse, VideoResponse, VideoSendCallEventRequest, VideoSendCallEventResponse, VideoStartHLSBroadcastingResponse, VideoStartRecordingRequest, VideoStartRecordingResponse, VideoStartTranscriptionRequest, VideoStartTranscriptionResponse, VideoStopHLSBroadcastingResponse, VideoStopLiveResponse, VideoStopRecordingResponse, VideoStopTranscriptionResponse, VideoUnblockUserRequest, VideoUnblockUserResponse, VideoUnpinRequest, VideoUnpinResponse, VideoUpdateCallMembersRequest, VideoUpdateCallMembersResponse, VideoUpdateCallRequest, VideoUpdateCallResponse, VideoUpdateCallTypeRequest, VideoUpdateCallTypeResponse, VideoUpdateExternalStorageRequest, VideoUpdateExternalStorageResponse, VideoUpdateUserPermissionsRequest, VideoUpdateUserPermissionsResponse } from '../models';
|
|
14
14
|
export interface BlockUserRequest {
|
|
15
15
|
type: string;
|
|
16
16
|
id: string;
|
|
@@ -116,7 +116,7 @@ export interface QueryCallsRequest {
|
|
|
116
116
|
export interface SendCallEventRequest {
|
|
117
117
|
type: string;
|
|
118
118
|
id: string;
|
|
119
|
-
|
|
119
|
+
videoSendCallEventRequest: VideoSendCallEventRequest | null;
|
|
120
120
|
}
|
|
121
121
|
export interface StartHLSBroadcastingRequest {
|
|
122
122
|
type: string;
|
|
@@ -474,12 +474,12 @@ export declare class ProductvideoApi extends runtime.BaseAPI {
|
|
|
474
474
|
* Sends custom event to the call Sends events: - custom Required permissions: - SendEvent
|
|
475
475
|
* Send custom event
|
|
476
476
|
*/
|
|
477
|
-
sendCallEventRaw(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
477
|
+
sendCallEventRaw(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoSendCallEventResponse>>;
|
|
478
478
|
/**
|
|
479
479
|
* Sends custom event to the call Sends events: - custom Required permissions: - SendEvent
|
|
480
480
|
* Send custom event
|
|
481
481
|
*/
|
|
482
|
-
sendCallEvent(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
482
|
+
sendCallEvent(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoSendCallEventResponse>;
|
|
483
483
|
/**
|
|
484
484
|
* Starts HLS broadcasting Required permissions: - StartBroadcasting
|
|
485
485
|
* Start HLS broadcasting
|
|
@@ -1737,6 +1737,12 @@ export interface VideoGetCallStatsResponse {
|
|
|
1737
1737
|
* @memberof VideoGetCallStatsResponse
|
|
1738
1738
|
*/
|
|
1739
1739
|
call_duration_seconds: number;
|
|
1740
|
+
/**
|
|
1741
|
+
*
|
|
1742
|
+
* @type {string}
|
|
1743
|
+
* @memberof VideoGetCallStatsResponse
|
|
1744
|
+
*/
|
|
1745
|
+
call_status: string;
|
|
1740
1746
|
/**
|
|
1741
1747
|
*
|
|
1742
1748
|
* @type {VideoCallTimeline}
|
|
@@ -2672,6 +2678,31 @@ export interface VideoPrivacySettings {
|
|
|
2672
2678
|
*/
|
|
2673
2679
|
typing_indicators?: VideoTypingIndicators;
|
|
2674
2680
|
}
|
|
2681
|
+
/**
|
|
2682
|
+
*
|
|
2683
|
+
* @export
|
|
2684
|
+
* @interface VideoPublishedTrackInfo
|
|
2685
|
+
*/
|
|
2686
|
+
export interface VideoPublishedTrackInfo {
|
|
2687
|
+
/**
|
|
2688
|
+
*
|
|
2689
|
+
* @type {string}
|
|
2690
|
+
* @memberof VideoPublishedTrackInfo
|
|
2691
|
+
*/
|
|
2692
|
+
codec_mime_type?: string;
|
|
2693
|
+
/**
|
|
2694
|
+
*
|
|
2695
|
+
* @type {number}
|
|
2696
|
+
* @memberof VideoPublishedTrackInfo
|
|
2697
|
+
*/
|
|
2698
|
+
duration_seconds?: number;
|
|
2699
|
+
/**
|
|
2700
|
+
*
|
|
2701
|
+
* @type {string}
|
|
2702
|
+
* @memberof VideoPublishedTrackInfo
|
|
2703
|
+
*/
|
|
2704
|
+
track_type?: string;
|
|
2705
|
+
}
|
|
2675
2706
|
/**
|
|
2676
2707
|
*
|
|
2677
2708
|
* @export
|
|
@@ -3200,28 +3231,40 @@ export interface VideoScreensharingSettingsResponse {
|
|
|
3200
3231
|
/**
|
|
3201
3232
|
*
|
|
3202
3233
|
* @export
|
|
3203
|
-
* @interface
|
|
3234
|
+
* @interface VideoSendCallEventRequest
|
|
3204
3235
|
*/
|
|
3205
|
-
export interface
|
|
3236
|
+
export interface VideoSendCallEventRequest {
|
|
3206
3237
|
/**
|
|
3207
3238
|
*
|
|
3208
3239
|
* @type {{ [key: string]: any; }}
|
|
3209
|
-
* @memberof
|
|
3240
|
+
* @memberof VideoSendCallEventRequest
|
|
3210
3241
|
*/
|
|
3211
3242
|
custom?: {
|
|
3212
3243
|
[key: string]: any;
|
|
3213
3244
|
};
|
|
3245
|
+
/**
|
|
3246
|
+
*
|
|
3247
|
+
* @type {VideoUserRequest}
|
|
3248
|
+
* @memberof VideoSendCallEventRequest
|
|
3249
|
+
*/
|
|
3250
|
+
user?: VideoUserRequest;
|
|
3251
|
+
/**
|
|
3252
|
+
*
|
|
3253
|
+
* @type {string}
|
|
3254
|
+
* @memberof VideoSendCallEventRequest
|
|
3255
|
+
*/
|
|
3256
|
+
user_id?: string;
|
|
3214
3257
|
}
|
|
3215
3258
|
/**
|
|
3216
3259
|
*
|
|
3217
3260
|
* @export
|
|
3218
|
-
* @interface
|
|
3261
|
+
* @interface VideoSendCallEventResponse
|
|
3219
3262
|
*/
|
|
3220
|
-
export interface
|
|
3263
|
+
export interface VideoSendCallEventResponse {
|
|
3221
3264
|
/**
|
|
3222
3265
|
*
|
|
3223
3266
|
* @type {string}
|
|
3224
|
-
* @memberof
|
|
3267
|
+
* @memberof VideoSendCallEventResponse
|
|
3225
3268
|
*/
|
|
3226
3269
|
duration: string;
|
|
3227
3270
|
}
|
|
@@ -4299,6 +4342,12 @@ export interface VideoUserSessionStats {
|
|
|
4299
4342
|
* @memberof VideoUserSessionStats
|
|
4300
4343
|
*/
|
|
4301
4344
|
pub_sub_hints?: VideoMediaPubSubHint;
|
|
4345
|
+
/**
|
|
4346
|
+
*
|
|
4347
|
+
* @type {Array<VideoPublishedTrackInfo>}
|
|
4348
|
+
* @memberof VideoUserSessionStats
|
|
4349
|
+
*/
|
|
4350
|
+
published_tracks?: Array<VideoPublishedTrackInfo>;
|
|
4302
4351
|
/**
|
|
4303
4352
|
*
|
|
4304
4353
|
* @type {VideoMOSStats}
|
|
@@ -4317,12 +4366,24 @@ export interface VideoUserSessionStats {
|
|
|
4317
4366
|
* @memberof VideoUserSessionStats
|
|
4318
4367
|
*/
|
|
4319
4368
|
publisher_latency?: VideoStats;
|
|
4369
|
+
/**
|
|
4370
|
+
*
|
|
4371
|
+
* @type {number}
|
|
4372
|
+
* @memberof VideoUserSessionStats
|
|
4373
|
+
*/
|
|
4374
|
+
publisher_noise_cancellation_seconds?: number;
|
|
4320
4375
|
/**
|
|
4321
4376
|
*
|
|
4322
4377
|
* @type {number}
|
|
4323
4378
|
* @memberof VideoUserSessionStats
|
|
4324
4379
|
*/
|
|
4325
4380
|
publisher_packet_loss_fraction: number;
|
|
4381
|
+
/**
|
|
4382
|
+
*
|
|
4383
|
+
* @type {number}
|
|
4384
|
+
* @memberof VideoUserSessionStats
|
|
4385
|
+
*/
|
|
4386
|
+
publisher_quality_limitation_fraction?: number;
|
|
4326
4387
|
/**
|
|
4327
4388
|
*
|
|
4328
4389
|
* @type {{ [key: string]: number; }}
|
|
@@ -4343,6 +4404,12 @@ export interface VideoUserSessionStats {
|
|
|
4343
4404
|
* @memberof VideoUserSessionStats
|
|
4344
4405
|
*/
|
|
4345
4406
|
publishing_duration_seconds: number;
|
|
4407
|
+
/**
|
|
4408
|
+
*
|
|
4409
|
+
* @type {string}
|
|
4410
|
+
* @memberof VideoUserSessionStats
|
|
4411
|
+
*/
|
|
4412
|
+
publishing_video_codec?: string;
|
|
4346
4413
|
/**
|
|
4347
4414
|
*
|
|
4348
4415
|
* @type {number}
|
|
@@ -4361,6 +4428,12 @@ export interface VideoUserSessionStats {
|
|
|
4361
4428
|
* @memberof VideoUserSessionStats
|
|
4362
4429
|
*/
|
|
4363
4430
|
receiving_duration_seconds: number;
|
|
4431
|
+
/**
|
|
4432
|
+
*
|
|
4433
|
+
* @type {string}
|
|
4434
|
+
* @memberof VideoUserSessionStats
|
|
4435
|
+
*/
|
|
4436
|
+
receiving_video_codec?: string;
|
|
4364
4437
|
/**
|
|
4365
4438
|
*
|
|
4366
4439
|
* @type {string}
|
|
@@ -4397,6 +4470,12 @@ export interface VideoUserSessionStats {
|
|
|
4397
4470
|
* @memberof VideoUserSessionStats
|
|
4398
4471
|
*/
|
|
4399
4472
|
subscriber_latency?: VideoStats;
|
|
4473
|
+
/**
|
|
4474
|
+
*
|
|
4475
|
+
* @type {number}
|
|
4476
|
+
* @memberof VideoUserSessionStats
|
|
4477
|
+
*/
|
|
4478
|
+
subscriber_video_quality_throttled_duration_seconds?: number;
|
|
4400
4479
|
/**
|
|
4401
4480
|
*
|
|
4402
4481
|
* @type {Array<VideoSubsession>}
|
|
@@ -4440,6 +4519,12 @@ export interface VideoUserStats {
|
|
|
4440
4519
|
* @memberof VideoUserStats
|
|
4441
4520
|
*/
|
|
4442
4521
|
info: VideoUserInfoResponse;
|
|
4522
|
+
/**
|
|
4523
|
+
*
|
|
4524
|
+
* @type {number}
|
|
4525
|
+
* @memberof VideoUserStats
|
|
4526
|
+
*/
|
|
4527
|
+
rating?: number;
|
|
4443
4528
|
/**
|
|
4444
4529
|
*
|
|
4445
4530
|
* @type {Array<VideoUserSessionStats>}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Stream API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: v113.
|
|
5
|
+
* The version of the OpenAPI document: v113.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
package/src/StreamCall.ts
CHANGED
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
VideoMuteUsersRequest,
|
|
11
11
|
VideoPinRequest,
|
|
12
12
|
VideoQueryCallMembersRequest,
|
|
13
|
+
VideoSendCallEventRequest,
|
|
13
14
|
VideoStartRecordingRequest,
|
|
14
15
|
VideoStartTranscriptionRequest,
|
|
15
16
|
VideoUnblockUserRequest,
|
|
@@ -96,9 +97,9 @@ export class StreamCall {
|
|
|
96
97
|
});
|
|
97
98
|
};
|
|
98
99
|
|
|
99
|
-
sendCustomEvent = (
|
|
100
|
+
sendCustomEvent = (videoSendCallEventRequest: VideoSendCallEventRequest) => {
|
|
100
101
|
return this.apiClient.sendCallEvent({
|
|
101
|
-
|
|
102
|
+
videoSendCallEventRequest,
|
|
102
103
|
...this.baseRequest,
|
|
103
104
|
});
|
|
104
105
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Stream API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: v113.
|
|
7
|
+
* The version of the OpenAPI document: v113.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -56,8 +56,8 @@ import type {
|
|
|
56
56
|
VideoQueryCallsRequest,
|
|
57
57
|
VideoQueryCallsResponse,
|
|
58
58
|
VideoResponse,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
VideoSendCallEventRequest,
|
|
60
|
+
VideoSendCallEventResponse,
|
|
61
61
|
VideoStartHLSBroadcastingResponse,
|
|
62
62
|
VideoStartRecordingRequest,
|
|
63
63
|
VideoStartRecordingResponse,
|
|
@@ -213,7 +213,7 @@ export interface QueryCallsRequest {
|
|
|
213
213
|
export interface SendCallEventRequest {
|
|
214
214
|
type: string;
|
|
215
215
|
id: string;
|
|
216
|
-
|
|
216
|
+
videoSendCallEventRequest: VideoSendCallEventRequest | null;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
export interface StartHLSBroadcastingRequest {
|
|
@@ -1676,7 +1676,7 @@ export class ProductvideoApi extends runtime.BaseAPI {
|
|
|
1676
1676
|
* Sends custom event to the call Sends events: - custom Required permissions: - SendEvent
|
|
1677
1677
|
* Send custom event
|
|
1678
1678
|
*/
|
|
1679
|
-
async sendCallEventRaw(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
1679
|
+
async sendCallEventRaw(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoSendCallEventResponse>> {
|
|
1680
1680
|
if (requestParameters.type === null || requestParameters.type === undefined) {
|
|
1681
1681
|
throw new runtime.RequiredError('type','Required parameter requestParameters.type was null or undefined when calling sendCallEvent.');
|
|
1682
1682
|
}
|
|
@@ -1685,8 +1685,8 @@ export class ProductvideoApi extends runtime.BaseAPI {
|
|
|
1685
1685
|
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling sendCallEvent.');
|
|
1686
1686
|
}
|
|
1687
1687
|
|
|
1688
|
-
if (requestParameters.
|
|
1689
|
-
throw new runtime.RequiredError('
|
|
1688
|
+
if (requestParameters.videoSendCallEventRequest === null || requestParameters.videoSendCallEventRequest === undefined) {
|
|
1689
|
+
throw new runtime.RequiredError('videoSendCallEventRequest','Required parameter requestParameters.videoSendCallEventRequest was null or undefined when calling sendCallEvent.');
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
1692
|
const queryParameters: any = {};
|
|
@@ -1712,7 +1712,7 @@ export class ProductvideoApi extends runtime.BaseAPI {
|
|
|
1712
1712
|
method: 'POST',
|
|
1713
1713
|
headers: headerParameters,
|
|
1714
1714
|
query: queryParameters,
|
|
1715
|
-
body: requestParameters.
|
|
1715
|
+
body: requestParameters.videoSendCallEventRequest,
|
|
1716
1716
|
}, initOverrides);
|
|
1717
1717
|
|
|
1718
1718
|
return new runtime.JSONApiResponse(response);
|
|
@@ -1722,7 +1722,7 @@ export class ProductvideoApi extends runtime.BaseAPI {
|
|
|
1722
1722
|
* Sends custom event to the call Sends events: - custom Required permissions: - SendEvent
|
|
1723
1723
|
* Send custom event
|
|
1724
1724
|
*/
|
|
1725
|
-
async sendCallEvent(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
1725
|
+
async sendCallEvent(requestParameters: SendCallEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoSendCallEventResponse> {
|
|
1726
1726
|
const response = await this.sendCallEventRaw(requestParameters, initOverrides);
|
|
1727
1727
|
return await response.value();
|
|
1728
1728
|
}
|
|
@@ -1731,6 +1731,12 @@ export interface VideoGetCallStatsResponse {
|
|
|
1731
1731
|
* @memberof VideoGetCallStatsResponse
|
|
1732
1732
|
*/
|
|
1733
1733
|
call_duration_seconds: number;
|
|
1734
|
+
/**
|
|
1735
|
+
*
|
|
1736
|
+
* @type {string}
|
|
1737
|
+
* @memberof VideoGetCallStatsResponse
|
|
1738
|
+
*/
|
|
1739
|
+
call_status: string;
|
|
1734
1740
|
/**
|
|
1735
1741
|
*
|
|
1736
1742
|
* @type {VideoCallTimeline}
|
|
@@ -2663,6 +2669,31 @@ export interface VideoPrivacySettings {
|
|
|
2663
2669
|
*/
|
|
2664
2670
|
typing_indicators?: VideoTypingIndicators;
|
|
2665
2671
|
}
|
|
2672
|
+
/**
|
|
2673
|
+
*
|
|
2674
|
+
* @export
|
|
2675
|
+
* @interface VideoPublishedTrackInfo
|
|
2676
|
+
*/
|
|
2677
|
+
export interface VideoPublishedTrackInfo {
|
|
2678
|
+
/**
|
|
2679
|
+
*
|
|
2680
|
+
* @type {string}
|
|
2681
|
+
* @memberof VideoPublishedTrackInfo
|
|
2682
|
+
*/
|
|
2683
|
+
codec_mime_type?: string;
|
|
2684
|
+
/**
|
|
2685
|
+
*
|
|
2686
|
+
* @type {number}
|
|
2687
|
+
* @memberof VideoPublishedTrackInfo
|
|
2688
|
+
*/
|
|
2689
|
+
duration_seconds?: number;
|
|
2690
|
+
/**
|
|
2691
|
+
*
|
|
2692
|
+
* @type {string}
|
|
2693
|
+
* @memberof VideoPublishedTrackInfo
|
|
2694
|
+
*/
|
|
2695
|
+
track_type?: string;
|
|
2696
|
+
}
|
|
2666
2697
|
/**
|
|
2667
2698
|
*
|
|
2668
2699
|
* @export
|
|
@@ -3189,26 +3220,38 @@ export interface VideoScreensharingSettingsResponse {
|
|
|
3189
3220
|
/**
|
|
3190
3221
|
*
|
|
3191
3222
|
* @export
|
|
3192
|
-
* @interface
|
|
3223
|
+
* @interface VideoSendCallEventRequest
|
|
3193
3224
|
*/
|
|
3194
|
-
export interface
|
|
3225
|
+
export interface VideoSendCallEventRequest {
|
|
3195
3226
|
/**
|
|
3196
3227
|
*
|
|
3197
3228
|
* @type {{ [key: string]: any; }}
|
|
3198
|
-
* @memberof
|
|
3229
|
+
* @memberof VideoSendCallEventRequest
|
|
3199
3230
|
*/
|
|
3200
3231
|
custom?: { [key: string]: any; };
|
|
3232
|
+
/**
|
|
3233
|
+
*
|
|
3234
|
+
* @type {VideoUserRequest}
|
|
3235
|
+
* @memberof VideoSendCallEventRequest
|
|
3236
|
+
*/
|
|
3237
|
+
user?: VideoUserRequest;
|
|
3238
|
+
/**
|
|
3239
|
+
*
|
|
3240
|
+
* @type {string}
|
|
3241
|
+
* @memberof VideoSendCallEventRequest
|
|
3242
|
+
*/
|
|
3243
|
+
user_id?: string;
|
|
3201
3244
|
}
|
|
3202
3245
|
/**
|
|
3203
3246
|
*
|
|
3204
3247
|
* @export
|
|
3205
|
-
* @interface
|
|
3248
|
+
* @interface VideoSendCallEventResponse
|
|
3206
3249
|
*/
|
|
3207
|
-
export interface
|
|
3250
|
+
export interface VideoSendCallEventResponse {
|
|
3208
3251
|
/**
|
|
3209
3252
|
*
|
|
3210
3253
|
* @type {string}
|
|
3211
|
-
* @memberof
|
|
3254
|
+
* @memberof VideoSendCallEventResponse
|
|
3212
3255
|
*/
|
|
3213
3256
|
duration: string;
|
|
3214
3257
|
}
|
|
@@ -4280,6 +4323,12 @@ export interface VideoUserSessionStats {
|
|
|
4280
4323
|
* @memberof VideoUserSessionStats
|
|
4281
4324
|
*/
|
|
4282
4325
|
pub_sub_hints?: VideoMediaPubSubHint;
|
|
4326
|
+
/**
|
|
4327
|
+
*
|
|
4328
|
+
* @type {Array<VideoPublishedTrackInfo>}
|
|
4329
|
+
* @memberof VideoUserSessionStats
|
|
4330
|
+
*/
|
|
4331
|
+
published_tracks?: Array<VideoPublishedTrackInfo>;
|
|
4283
4332
|
/**
|
|
4284
4333
|
*
|
|
4285
4334
|
* @type {VideoMOSStats}
|
|
@@ -4298,12 +4347,24 @@ export interface VideoUserSessionStats {
|
|
|
4298
4347
|
* @memberof VideoUserSessionStats
|
|
4299
4348
|
*/
|
|
4300
4349
|
publisher_latency?: VideoStats;
|
|
4350
|
+
/**
|
|
4351
|
+
*
|
|
4352
|
+
* @type {number}
|
|
4353
|
+
* @memberof VideoUserSessionStats
|
|
4354
|
+
*/
|
|
4355
|
+
publisher_noise_cancellation_seconds?: number;
|
|
4301
4356
|
/**
|
|
4302
4357
|
*
|
|
4303
4358
|
* @type {number}
|
|
4304
4359
|
* @memberof VideoUserSessionStats
|
|
4305
4360
|
*/
|
|
4306
4361
|
publisher_packet_loss_fraction: number;
|
|
4362
|
+
/**
|
|
4363
|
+
*
|
|
4364
|
+
* @type {number}
|
|
4365
|
+
* @memberof VideoUserSessionStats
|
|
4366
|
+
*/
|
|
4367
|
+
publisher_quality_limitation_fraction?: number;
|
|
4307
4368
|
/**
|
|
4308
4369
|
*
|
|
4309
4370
|
* @type {{ [key: string]: number; }}
|
|
@@ -4322,6 +4383,12 @@ export interface VideoUserSessionStats {
|
|
|
4322
4383
|
* @memberof VideoUserSessionStats
|
|
4323
4384
|
*/
|
|
4324
4385
|
publishing_duration_seconds: number;
|
|
4386
|
+
/**
|
|
4387
|
+
*
|
|
4388
|
+
* @type {string}
|
|
4389
|
+
* @memberof VideoUserSessionStats
|
|
4390
|
+
*/
|
|
4391
|
+
publishing_video_codec?: string;
|
|
4325
4392
|
/**
|
|
4326
4393
|
*
|
|
4327
4394
|
* @type {number}
|
|
@@ -4340,6 +4407,12 @@ export interface VideoUserSessionStats {
|
|
|
4340
4407
|
* @memberof VideoUserSessionStats
|
|
4341
4408
|
*/
|
|
4342
4409
|
receiving_duration_seconds: number;
|
|
4410
|
+
/**
|
|
4411
|
+
*
|
|
4412
|
+
* @type {string}
|
|
4413
|
+
* @memberof VideoUserSessionStats
|
|
4414
|
+
*/
|
|
4415
|
+
receiving_video_codec?: string;
|
|
4343
4416
|
/**
|
|
4344
4417
|
*
|
|
4345
4418
|
* @type {string}
|
|
@@ -4376,6 +4449,12 @@ export interface VideoUserSessionStats {
|
|
|
4376
4449
|
* @memberof VideoUserSessionStats
|
|
4377
4450
|
*/
|
|
4378
4451
|
subscriber_latency?: VideoStats;
|
|
4452
|
+
/**
|
|
4453
|
+
*
|
|
4454
|
+
* @type {number}
|
|
4455
|
+
* @memberof VideoUserSessionStats
|
|
4456
|
+
*/
|
|
4457
|
+
subscriber_video_quality_throttled_duration_seconds?: number;
|
|
4379
4458
|
/**
|
|
4380
4459
|
*
|
|
4381
4460
|
* @type {Array<VideoSubsession>}
|
|
@@ -4419,6 +4498,12 @@ export interface VideoUserStats {
|
|
|
4419
4498
|
* @memberof VideoUserStats
|
|
4420
4499
|
*/
|
|
4421
4500
|
info: VideoUserInfoResponse;
|
|
4501
|
+
/**
|
|
4502
|
+
*
|
|
4503
|
+
* @type {number}
|
|
4504
|
+
* @memberof VideoUserStats
|
|
4505
|
+
*/
|
|
4506
|
+
rating?: number;
|
|
4422
4507
|
/**
|
|
4423
4508
|
*
|
|
4424
4509
|
* @type {Array<VideoUserSessionStats>}
|
package/src/gen/video/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Stream API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: v113.
|
|
7
|
+
* The version of the OpenAPI document: v113.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|