@stream-io/node-sdk 0.2.4 → 0.2.6
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 +93 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +90 -4
- package/dist/index.es.js.map +1 -1
- package/dist/src/StreamCall.d.ts +5 -3
- package/dist/src/gen/video/apis/ProductvideoApi.d.ts +17 -2
- package/dist/src/gen/video/models/index.d.ts +197 -4
- package/dist/src/gen/video/runtime.d.ts +1 -1
- package/package.json +1 -1
- package/src/StreamCall.ts +14 -2
- package/src/gen/video/apis/ProductvideoApi.ts +64 -1
- package/src/gen/video/models/index.ts +207 -4
- package/src/gen/video/runtime.ts +1 -1
|
@@ -231,6 +231,12 @@ export interface VideoBackstageSettingsRequest {
|
|
|
231
231
|
* @memberof VideoBackstageSettingsRequest
|
|
232
232
|
*/
|
|
233
233
|
enabled?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {number}
|
|
237
|
+
* @memberof VideoBackstageSettingsRequest
|
|
238
|
+
*/
|
|
239
|
+
join_ahead_time_seconds?: number;
|
|
234
240
|
}
|
|
235
241
|
/**
|
|
236
242
|
*
|
|
@@ -244,6 +250,12 @@ export interface VideoBackstageSettingsResponse {
|
|
|
244
250
|
* @memberof VideoBackstageSettingsResponse
|
|
245
251
|
*/
|
|
246
252
|
enabled: boolean;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {number}
|
|
256
|
+
* @memberof VideoBackstageSettingsResponse
|
|
257
|
+
*/
|
|
258
|
+
join_ahead_time_seconds?: number;
|
|
247
259
|
}
|
|
248
260
|
/**
|
|
249
261
|
*
|
|
@@ -542,6 +554,12 @@ export interface VideoCallResponse {
|
|
|
542
554
|
* @memberof VideoCallResponse
|
|
543
555
|
*/
|
|
544
556
|
ingress: VideoCallIngressResponse;
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {number}
|
|
560
|
+
* @memberof VideoCallResponse
|
|
561
|
+
*/
|
|
562
|
+
join_ahead_time_seconds?: number;
|
|
545
563
|
/**
|
|
546
564
|
*
|
|
547
565
|
* @type {boolean}
|
|
@@ -633,6 +651,12 @@ export interface VideoCallSessionResponse {
|
|
|
633
651
|
* @memberof VideoCallSessionResponse
|
|
634
652
|
*/
|
|
635
653
|
live_started_at?: string;
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @type {{ [key: string]: string; }}
|
|
657
|
+
* @memberof VideoCallSessionResponse
|
|
658
|
+
*/
|
|
659
|
+
missed_by: { [key: string]: string; };
|
|
636
660
|
/**
|
|
637
661
|
*
|
|
638
662
|
* @type {Array<VideoCallParticipantResponse>}
|
|
@@ -657,6 +681,12 @@ export interface VideoCallSessionResponse {
|
|
|
657
681
|
* @memberof VideoCallSessionResponse
|
|
658
682
|
*/
|
|
659
683
|
started_at?: string;
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @type {string}
|
|
687
|
+
* @memberof VideoCallSessionResponse
|
|
688
|
+
*/
|
|
689
|
+
timer_ends_at?: string;
|
|
660
690
|
}
|
|
661
691
|
/**
|
|
662
692
|
*
|
|
@@ -688,6 +718,12 @@ export interface VideoCallSettingsRequest {
|
|
|
688
718
|
* @memberof VideoCallSettingsRequest
|
|
689
719
|
*/
|
|
690
720
|
geofencing?: VideoGeofenceSettingsRequest;
|
|
721
|
+
/**
|
|
722
|
+
*
|
|
723
|
+
* @type {VideoLimitsSettingsRequest}
|
|
724
|
+
* @memberof VideoCallSettingsRequest
|
|
725
|
+
*/
|
|
726
|
+
limits?: VideoLimitsSettingsRequest;
|
|
691
727
|
/**
|
|
692
728
|
*
|
|
693
729
|
* @type {VideoRecordSettingsRequest}
|
|
@@ -755,6 +791,12 @@ export interface VideoCallSettingsResponse {
|
|
|
755
791
|
* @memberof VideoCallSettingsResponse
|
|
756
792
|
*/
|
|
757
793
|
geofencing: VideoGeofenceSettingsResponse;
|
|
794
|
+
/**
|
|
795
|
+
*
|
|
796
|
+
* @type {VideoLimitsSettingsResponse}
|
|
797
|
+
* @memberof VideoCallSettingsResponse
|
|
798
|
+
*/
|
|
799
|
+
limits: VideoLimitsSettingsResponse;
|
|
758
800
|
/**
|
|
759
801
|
*
|
|
760
802
|
* @type {VideoRecordSettingsResponse}
|
|
@@ -971,6 +1013,12 @@ export interface VideoCheckExternalStorageResponse {
|
|
|
971
1013
|
* @memberof VideoCheckExternalStorageResponse
|
|
972
1014
|
*/
|
|
973
1015
|
duration: string;
|
|
1016
|
+
/**
|
|
1017
|
+
*
|
|
1018
|
+
* @type {string}
|
|
1019
|
+
* @memberof VideoCheckExternalStorageResponse
|
|
1020
|
+
*/
|
|
1021
|
+
file_url: string;
|
|
974
1022
|
}
|
|
975
1023
|
/**
|
|
976
1024
|
*
|
|
@@ -1242,8 +1290,20 @@ export interface VideoCreateExternalStorageRequest {
|
|
|
1242
1290
|
* @type {string}
|
|
1243
1291
|
* @memberof VideoCreateExternalStorageRequest
|
|
1244
1292
|
*/
|
|
1245
|
-
storage_type:
|
|
1293
|
+
storage_type: VideoCreateExternalStorageRequestStorageTypeEnum;
|
|
1246
1294
|
}
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* @export
|
|
1299
|
+
*/
|
|
1300
|
+
export const VideoCreateExternalStorageRequestStorageTypeEnum = {
|
|
1301
|
+
S3: 's3',
|
|
1302
|
+
GCS: 'gcs',
|
|
1303
|
+
ABS: 'abs'
|
|
1304
|
+
} as const;
|
|
1305
|
+
export type VideoCreateExternalStorageRequestStorageTypeEnum = typeof VideoCreateExternalStorageRequestStorageTypeEnum[keyof typeof VideoCreateExternalStorageRequestStorageTypeEnum];
|
|
1306
|
+
|
|
1247
1307
|
/**
|
|
1248
1308
|
*
|
|
1249
1309
|
* @export
|
|
@@ -1295,6 +1355,44 @@ export interface VideoCreateGuestResponse {
|
|
|
1295
1355
|
*/
|
|
1296
1356
|
user: VideoUserResponse;
|
|
1297
1357
|
}
|
|
1358
|
+
/**
|
|
1359
|
+
*
|
|
1360
|
+
* @export
|
|
1361
|
+
* @interface VideoDeleteCallRequest
|
|
1362
|
+
*/
|
|
1363
|
+
export interface VideoDeleteCallRequest {
|
|
1364
|
+
/**
|
|
1365
|
+
* if true the call will be hard deleted along with all related data
|
|
1366
|
+
* @type {boolean}
|
|
1367
|
+
* @memberof VideoDeleteCallRequest
|
|
1368
|
+
*/
|
|
1369
|
+
hard?: boolean;
|
|
1370
|
+
}
|
|
1371
|
+
/**
|
|
1372
|
+
*
|
|
1373
|
+
* @export
|
|
1374
|
+
* @interface VideoDeleteCallResponse
|
|
1375
|
+
*/
|
|
1376
|
+
export interface VideoDeleteCallResponse {
|
|
1377
|
+
/**
|
|
1378
|
+
*
|
|
1379
|
+
* @type {VideoCallResponse}
|
|
1380
|
+
* @memberof VideoDeleteCallResponse
|
|
1381
|
+
*/
|
|
1382
|
+
call: VideoCallResponse;
|
|
1383
|
+
/**
|
|
1384
|
+
* Duration of the request in human-readable format
|
|
1385
|
+
* @type {string}
|
|
1386
|
+
* @memberof VideoDeleteCallResponse
|
|
1387
|
+
*/
|
|
1388
|
+
duration: string;
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @type {string}
|
|
1392
|
+
* @memberof VideoDeleteCallResponse
|
|
1393
|
+
*/
|
|
1394
|
+
task_id?: string;
|
|
1395
|
+
}
|
|
1298
1396
|
/**
|
|
1299
1397
|
*
|
|
1300
1398
|
* @export
|
|
@@ -1593,8 +1691,20 @@ export interface VideoExternalStorageResponse {
|
|
|
1593
1691
|
* @type {string}
|
|
1594
1692
|
* @memberof VideoExternalStorageResponse
|
|
1595
1693
|
*/
|
|
1596
|
-
type:
|
|
1694
|
+
type: VideoExternalStorageResponseTypeEnum;
|
|
1597
1695
|
}
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* @export
|
|
1700
|
+
*/
|
|
1701
|
+
export const VideoExternalStorageResponseTypeEnum = {
|
|
1702
|
+
S3: 's3',
|
|
1703
|
+
GCS: 'gcs',
|
|
1704
|
+
ABS: 'abs'
|
|
1705
|
+
} as const;
|
|
1706
|
+
export type VideoExternalStorageResponseTypeEnum = typeof VideoExternalStorageResponseTypeEnum[keyof typeof VideoExternalStorageResponseTypeEnum];
|
|
1707
|
+
|
|
1598
1708
|
/**
|
|
1599
1709
|
*
|
|
1600
1710
|
* @export
|
|
@@ -2160,6 +2270,44 @@ export const VideoLayoutSettingsResponseNameEnum = {
|
|
|
2160
2270
|
} as const;
|
|
2161
2271
|
export type VideoLayoutSettingsResponseNameEnum = typeof VideoLayoutSettingsResponseNameEnum[keyof typeof VideoLayoutSettingsResponseNameEnum];
|
|
2162
2272
|
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @export
|
|
2276
|
+
* @interface VideoLimitsSettingsRequest
|
|
2277
|
+
*/
|
|
2278
|
+
export interface VideoLimitsSettingsRequest {
|
|
2279
|
+
/**
|
|
2280
|
+
*
|
|
2281
|
+
* @type {number}
|
|
2282
|
+
* @memberof VideoLimitsSettingsRequest
|
|
2283
|
+
*/
|
|
2284
|
+
max_duration_seconds?: number;
|
|
2285
|
+
/**
|
|
2286
|
+
*
|
|
2287
|
+
* @type {number}
|
|
2288
|
+
* @memberof VideoLimitsSettingsRequest
|
|
2289
|
+
*/
|
|
2290
|
+
max_participants?: number;
|
|
2291
|
+
}
|
|
2292
|
+
/**
|
|
2293
|
+
*
|
|
2294
|
+
* @export
|
|
2295
|
+
* @interface VideoLimitsSettingsResponse
|
|
2296
|
+
*/
|
|
2297
|
+
export interface VideoLimitsSettingsResponse {
|
|
2298
|
+
/**
|
|
2299
|
+
*
|
|
2300
|
+
* @type {number}
|
|
2301
|
+
* @memberof VideoLimitsSettingsResponse
|
|
2302
|
+
*/
|
|
2303
|
+
max_duration_seconds?: number;
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @type {number}
|
|
2307
|
+
* @memberof VideoLimitsSettingsResponse
|
|
2308
|
+
*/
|
|
2309
|
+
max_participants?: number;
|
|
2310
|
+
}
|
|
2163
2311
|
/**
|
|
2164
2312
|
*
|
|
2165
2313
|
* @export
|
|
@@ -2521,6 +2669,12 @@ export interface VideoNotificationSettings {
|
|
|
2521
2669
|
* @memberof VideoNotificationSettings
|
|
2522
2670
|
*/
|
|
2523
2671
|
call_live_started?: VideoEventNotificationSettings;
|
|
2672
|
+
/**
|
|
2673
|
+
*
|
|
2674
|
+
* @type {VideoEventNotificationSettings}
|
|
2675
|
+
* @memberof VideoNotificationSettings
|
|
2676
|
+
*/
|
|
2677
|
+
call_missed?: VideoEventNotificationSettings;
|
|
2524
2678
|
/**
|
|
2525
2679
|
*
|
|
2526
2680
|
* @type {VideoEventNotificationSettings}
|
|
@@ -2591,6 +2745,7 @@ export interface VideoNullTime {
|
|
|
2591
2745
|
*/
|
|
2592
2746
|
export const VideoOwnCapability = {
|
|
2593
2747
|
BLOCK_USERS: 'block-users',
|
|
2748
|
+
CHANGE_MAX_DURATION: 'change-max-duration',
|
|
2594
2749
|
CREATE_CALL: 'create-call',
|
|
2595
2750
|
CREATE_REACTION: 'create-reaction',
|
|
2596
2751
|
ENABLE_NOISE_CANCELLATION: 'enable-noise-cancellation',
|
|
@@ -3091,6 +3246,12 @@ export interface VideoRingSettingsRequest {
|
|
|
3091
3246
|
* @memberof VideoRingSettingsRequest
|
|
3092
3247
|
*/
|
|
3093
3248
|
incoming_call_timeout_ms: number;
|
|
3249
|
+
/**
|
|
3250
|
+
*
|
|
3251
|
+
* @type {number}
|
|
3252
|
+
* @memberof VideoRingSettingsRequest
|
|
3253
|
+
*/
|
|
3254
|
+
missed_call_timeout_ms?: number;
|
|
3094
3255
|
}
|
|
3095
3256
|
/**
|
|
3096
3257
|
*
|
|
@@ -3110,6 +3271,12 @@ export interface VideoRingSettingsResponse {
|
|
|
3110
3271
|
* @memberof VideoRingSettingsResponse
|
|
3111
3272
|
*/
|
|
3112
3273
|
incoming_call_timeout_ms: number;
|
|
3274
|
+
/**
|
|
3275
|
+
*
|
|
3276
|
+
* @type {number}
|
|
3277
|
+
* @memberof VideoRingSettingsResponse
|
|
3278
|
+
*/
|
|
3279
|
+
missed_call_timeout_ms: number;
|
|
3113
3280
|
}
|
|
3114
3281
|
/**
|
|
3115
3282
|
*
|
|
@@ -3883,8 +4050,20 @@ export interface VideoUpdateExternalStorageRequest {
|
|
|
3883
4050
|
* @type {string}
|
|
3884
4051
|
* @memberof VideoUpdateExternalStorageRequest
|
|
3885
4052
|
*/
|
|
3886
|
-
storage_type:
|
|
4053
|
+
storage_type: VideoUpdateExternalStorageRequestStorageTypeEnum;
|
|
3887
4054
|
}
|
|
4055
|
+
|
|
4056
|
+
|
|
4057
|
+
/**
|
|
4058
|
+
* @export
|
|
4059
|
+
*/
|
|
4060
|
+
export const VideoUpdateExternalStorageRequestStorageTypeEnum = {
|
|
4061
|
+
S3: 's3',
|
|
4062
|
+
GCS: 'gcs',
|
|
4063
|
+
ABS: 'abs'
|
|
4064
|
+
} as const;
|
|
4065
|
+
export type VideoUpdateExternalStorageRequestStorageTypeEnum = typeof VideoUpdateExternalStorageRequestStorageTypeEnum[keyof typeof VideoUpdateExternalStorageRequestStorageTypeEnum];
|
|
4066
|
+
|
|
3888
4067
|
/**
|
|
3889
4068
|
*
|
|
3890
4069
|
* @export
|
|
@@ -3920,8 +4099,20 @@ export interface VideoUpdateExternalStorageResponse {
|
|
|
3920
4099
|
* @type {string}
|
|
3921
4100
|
* @memberof VideoUpdateExternalStorageResponse
|
|
3922
4101
|
*/
|
|
3923
|
-
type:
|
|
4102
|
+
type: VideoUpdateExternalStorageResponseTypeEnum;
|
|
3924
4103
|
}
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* @export
|
|
4108
|
+
*/
|
|
4109
|
+
export const VideoUpdateExternalStorageResponseTypeEnum = {
|
|
4110
|
+
S3: 's3',
|
|
4111
|
+
GCS: 'gcs',
|
|
4112
|
+
ABS: 'abs'
|
|
4113
|
+
} as const;
|
|
4114
|
+
export type VideoUpdateExternalStorageResponseTypeEnum = typeof VideoUpdateExternalStorageResponseTypeEnum[keyof typeof VideoUpdateExternalStorageResponseTypeEnum];
|
|
4115
|
+
|
|
3925
4116
|
/**
|
|
3926
4117
|
*
|
|
3927
4118
|
* @export
|
|
@@ -4070,6 +4261,12 @@ export interface VideoUserResponse {
|
|
|
4070
4261
|
* @memberof VideoUserResponse
|
|
4071
4262
|
*/
|
|
4072
4263
|
banned: boolean;
|
|
4264
|
+
/**
|
|
4265
|
+
*
|
|
4266
|
+
* @type {Array<string>}
|
|
4267
|
+
* @memberof VideoUserResponse
|
|
4268
|
+
*/
|
|
4269
|
+
blocked_user_ids: Array<string>;
|
|
4073
4270
|
/**
|
|
4074
4271
|
* Date/time of creation
|
|
4075
4272
|
* @type {string}
|
|
@@ -4498,6 +4695,12 @@ export interface VideoUserStats {
|
|
|
4498
4695
|
* @memberof VideoUserStats
|
|
4499
4696
|
*/
|
|
4500
4697
|
info: VideoUserInfoResponse;
|
|
4698
|
+
/**
|
|
4699
|
+
*
|
|
4700
|
+
* @type {number}
|
|
4701
|
+
* @memberof VideoUserStats
|
|
4702
|
+
*/
|
|
4703
|
+
min_event_ts: number;
|
|
4501
4704
|
/**
|
|
4502
4705
|
*
|
|
4503
4706
|
* @type {number}
|
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:
|
|
7
|
+
* The version of the OpenAPI document: v120.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|