@stream-io/node-sdk 0.2.5 → 0.3.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 (66) hide show
  1. package/dist/index.cjs.js +2550 -2124
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.es.js +2535 -2109
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/src/StreamCall.d.ts +5 -3
  6. package/dist/src/StreamChannel.d.ts +7 -9
  7. package/dist/src/StreamChatClient.d.ts +2 -5
  8. package/dist/src/StreamClient.d.ts +15 -26
  9. package/dist/src/gen/chat/apis/ProductchatApi.d.ts +1750 -0
  10. package/dist/src/gen/chat/apis/index.d.ts +1 -27
  11. package/dist/src/gen/chat/models/index.d.ts +5101 -5891
  12. package/dist/src/gen/chat/runtime.d.ts +2 -2
  13. package/dist/src/gen/video/apis/ProductvideoApi.d.ts +17 -2
  14. package/dist/src/gen/video/models/index.d.ts +323 -39
  15. package/dist/src/gen/video/runtime.d.ts +1 -1
  16. package/package.json +1 -1
  17. package/src/StreamCall.ts +14 -2
  18. package/src/StreamChannel.ts +44 -49
  19. package/src/StreamChatClient.ts +23 -35
  20. package/src/StreamClient.ts +71 -232
  21. package/src/gen/chat/.openapi-generator/FILES +1 -19
  22. package/src/gen/chat/apis/ProductchatApi.ts +7007 -0
  23. package/src/gen/chat/apis/index.ts +1 -27
  24. package/src/gen/chat/models/index.ts +5758 -6564
  25. package/src/gen/chat/runtime.ts +3 -3
  26. package/src/gen/video/apis/ProductvideoApi.ts +64 -1
  27. package/src/gen/video/models/index.ts +328 -40
  28. package/src/gen/video/runtime.ts +1 -1
  29. package/dist/src/gen/chat/apis/ChannelTypesApi.d.ts +0 -81
  30. package/dist/src/gen/chat/apis/ChannelsApi.d.ts +0 -280
  31. package/dist/src/gen/chat/apis/CustomCommandsApi.d.ts +0 -81
  32. package/dist/src/gen/chat/apis/DefaultApi.d.ts +0 -60
  33. package/dist/src/gen/chat/apis/DevicesApi.d.ts +0 -58
  34. package/dist/src/gen/chat/apis/EventsApi.d.ts +0 -47
  35. package/dist/src/gen/chat/apis/FilesApi.d.ts +0 -85
  36. package/dist/src/gen/chat/apis/GDPRApi.d.ts +0 -114
  37. package/dist/src/gen/chat/apis/ImportsApi.d.ts +0 -67
  38. package/dist/src/gen/chat/apis/MessagesApi.d.ts +0 -374
  39. package/dist/src/gen/chat/apis/ModerationApi.d.ts +0 -271
  40. package/dist/src/gen/chat/apis/PermissionsV2Api.d.ts +0 -77
  41. package/dist/src/gen/chat/apis/PushApi.d.ts +0 -65
  42. package/dist/src/gen/chat/apis/ReactionsApi.d.ts +0 -62
  43. package/dist/src/gen/chat/apis/ServerSideApi.d.ts +0 -31
  44. package/dist/src/gen/chat/apis/SettingsApi.d.ts +0 -257
  45. package/dist/src/gen/chat/apis/TasksApi.d.ts +0 -31
  46. package/dist/src/gen/chat/apis/TestingApi.d.ts +0 -57
  47. package/dist/src/gen/chat/apis/UsersApi.d.ts +0 -313
  48. package/src/gen/chat/apis/ChannelTypesApi.ts +0 -275
  49. package/src/gen/chat/apis/ChannelsApi.ts +0 -1096
  50. package/src/gen/chat/apis/CustomCommandsApi.ts +0 -276
  51. package/src/gen/chat/apis/DefaultApi.ts +0 -196
  52. package/src/gen/chat/apis/DevicesApi.ts +0 -180
  53. package/src/gen/chat/apis/EventsApi.ts +0 -147
  54. package/src/gen/chat/apis/FilesApi.ts +0 -312
  55. package/src/gen/chat/apis/GDPRApi.ts +0 -418
  56. package/src/gen/chat/apis/ImportsApi.ts +0 -222
  57. package/src/gen/chat/apis/MessagesApi.ts +0 -1475
  58. package/src/gen/chat/apis/ModerationApi.ts +0 -1038
  59. package/src/gen/chat/apis/PermissionsV2Api.ts +0 -259
  60. package/src/gen/chat/apis/PushApi.ts +0 -183
  61. package/src/gen/chat/apis/ReactionsApi.ts +0 -202
  62. package/src/gen/chat/apis/ServerSideApi.ts +0 -79
  63. package/src/gen/chat/apis/SettingsApi.ts +0 -948
  64. package/src/gen/chat/apis/TasksApi.ts +0 -75
  65. package/src/gen/chat/apis/TestingApi.ts +0 -185
  66. package/src/gen/chat/apis/UsersApi.ts +0 -1203
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stream Chat API
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: v92.7.0
7
+ * The version of the OpenAPI document: v122.3.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- export const BASE_PATH = "https://chat.stream-io-api.com".replace(/\/+$/, "");
16
+ export const BASE_PATH = "https://stream-io-api.com".replace(/\/+$/, "");
17
17
 
18
18
  export interface ConfigurationParameters {
19
19
  basePath?: string; // override base path
@@ -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: v116.0.0
7
+ * The version of the OpenAPI document: v122.3.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,6 +28,8 @@ import type {
28
28
  VideoCreateExternalStorageResponse,
29
29
  VideoCreateGuestRequest,
30
30
  VideoCreateGuestResponse,
31
+ VideoDeleteCallRequest,
32
+ VideoDeleteCallResponse,
31
33
  VideoDeleteExternalStorageResponse,
32
34
  VideoDeleteRecordingResponse,
33
35
  VideoDeleteTranscriptionResponse,
@@ -116,6 +118,12 @@ export interface CreateGuestRequest {
116
118
  videoCreateGuestRequest: VideoCreateGuestRequest | null;
117
119
  }
118
120
 
121
+ export interface DeleteCallRequest {
122
+ type: string;
123
+ id: string;
124
+ videoDeleteCallRequest: VideoDeleteCallRequest | null;
125
+ }
126
+
119
127
  export interface DeleteCallTypeRequest {
120
128
  name: string;
121
129
  }
@@ -650,6 +658,61 @@ export class ProductvideoApi extends runtime.BaseAPI {
650
658
  return await response.value();
651
659
  }
652
660
 
661
+ /**
662
+ * Sends events: - call.deleted Required permissions: - DeleteCall
663
+ * Delete Call
664
+ */
665
+ async deleteCallRaw(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoDeleteCallResponse>> {
666
+ if (requestParameters.type === null || requestParameters.type === undefined) {
667
+ throw new runtime.RequiredError('type','Required parameter requestParameters.type was null or undefined when calling deleteCall.');
668
+ }
669
+
670
+ if (requestParameters.id === null || requestParameters.id === undefined) {
671
+ throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling deleteCall.');
672
+ }
673
+
674
+ if (requestParameters.videoDeleteCallRequest === null || requestParameters.videoDeleteCallRequest === undefined) {
675
+ throw new runtime.RequiredError('videoDeleteCallRequest','Required parameter requestParameters.videoDeleteCallRequest was null or undefined when calling deleteCall.');
676
+ }
677
+
678
+ const queryParameters: any = {};
679
+
680
+ const headerParameters: runtime.HTTPHeaders = {};
681
+
682
+ headerParameters['Content-Type'] = 'application/json';
683
+
684
+ if (this.configuration && this.configuration.apiKey) {
685
+ headerParameters["Stream-Auth-Type"] = this.configuration.apiKey("Stream-Auth-Type"); // stream-auth-type authentication
686
+ }
687
+
688
+ if (this.configuration && this.configuration.apiKey) {
689
+ queryParameters["api_key"] = this.configuration.apiKey("api_key"); // api_key authentication
690
+ }
691
+
692
+ if (this.configuration && this.configuration.apiKey) {
693
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // JWT authentication
694
+ }
695
+
696
+ const response = await this.request({
697
+ path: `/video/call/{type}/{id}/delete`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters.type))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
698
+ method: 'POST',
699
+ headers: headerParameters,
700
+ query: queryParameters,
701
+ body: requestParameters.videoDeleteCallRequest,
702
+ }, initOverrides);
703
+
704
+ return new runtime.JSONApiResponse(response);
705
+ }
706
+
707
+ /**
708
+ * Sends events: - call.deleted Required permissions: - DeleteCall
709
+ * Delete Call
710
+ */
711
+ async deleteCall(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoDeleteCallResponse> {
712
+ const response = await this.deleteCallRaw(requestParameters, initOverrides);
713
+ return await response.value();
714
+ }
715
+
653
716
  /**
654
717
  *
655
718
  * Delete Call Type
@@ -68,6 +68,31 @@ export interface VideoAPNS {
68
68
  */
69
69
  title?: string;
70
70
  }
71
+ /**
72
+ *
73
+ * @export
74
+ * @interface VideoAggregatedStats
75
+ */
76
+ export interface VideoAggregatedStats {
77
+ /**
78
+ *
79
+ * @type {{ [key: string]: VideoCountrywiseAggregateStats; }}
80
+ * @memberof VideoAggregatedStats
81
+ */
82
+ countrywise_aggregate_stats?: { [key: string]: VideoCountrywiseAggregateStats; };
83
+ /**
84
+ *
85
+ * @type {VideoPublisherAggregateStats}
86
+ * @memberof VideoAggregatedStats
87
+ */
88
+ publisher_aggregate_stats?: VideoPublisherAggregateStats;
89
+ /**
90
+ *
91
+ * @type {VideoTURNAggregatedStats}
92
+ * @memberof VideoAggregatedStats
93
+ */
94
+ turn?: VideoTURNAggregatedStats;
95
+ }
71
96
  /**
72
97
  *
73
98
  * @export
@@ -231,6 +256,12 @@ export interface VideoBackstageSettingsRequest {
231
256
  * @memberof VideoBackstageSettingsRequest
232
257
  */
233
258
  enabled?: boolean;
259
+ /**
260
+ *
261
+ * @type {number}
262
+ * @memberof VideoBackstageSettingsRequest
263
+ */
264
+ join_ahead_time_seconds?: number;
234
265
  }
235
266
  /**
236
267
  *
@@ -244,6 +275,12 @@ export interface VideoBackstageSettingsResponse {
244
275
  * @memberof VideoBackstageSettingsResponse
245
276
  */
246
277
  enabled: boolean;
278
+ /**
279
+ *
280
+ * @type {number}
281
+ * @memberof VideoBackstageSettingsResponse
282
+ */
283
+ join_ahead_time_seconds?: number;
247
284
  }
248
285
  /**
249
286
  *
@@ -315,6 +352,18 @@ export interface VideoBroadcastSettingsResponse {
315
352
  * @interface VideoCallEvent
316
353
  */
317
354
  export interface VideoCallEvent {
355
+ /**
356
+ *
357
+ * @type {{ [key: string]: any; }}
358
+ * @memberof VideoCallEvent
359
+ */
360
+ additional?: { [key: string]: any; };
361
+ /**
362
+ *
363
+ * @type {string}
364
+ * @memberof VideoCallEvent
365
+ */
366
+ component?: string;
318
367
  /**
319
368
  *
320
369
  * @type {string}
@@ -542,6 +591,12 @@ export interface VideoCallResponse {
542
591
  * @memberof VideoCallResponse
543
592
  */
544
593
  ingress: VideoCallIngressResponse;
594
+ /**
595
+ *
596
+ * @type {number}
597
+ * @memberof VideoCallResponse
598
+ */
599
+ join_ahead_time_seconds?: number;
545
600
  /**
546
601
  *
547
602
  * @type {boolean}
@@ -633,6 +688,12 @@ export interface VideoCallSessionResponse {
633
688
  * @memberof VideoCallSessionResponse
634
689
  */
635
690
  live_started_at?: string;
691
+ /**
692
+ *
693
+ * @type {{ [key: string]: string; }}
694
+ * @memberof VideoCallSessionResponse
695
+ */
696
+ missed_by: { [key: string]: string; };
636
697
  /**
637
698
  *
638
699
  * @type {Array<VideoCallParticipantResponse>}
@@ -989,6 +1050,12 @@ export interface VideoCheckExternalStorageResponse {
989
1050
  * @memberof VideoCheckExternalStorageResponse
990
1051
  */
991
1052
  duration: string;
1053
+ /**
1054
+ *
1055
+ * @type {string}
1056
+ * @memberof VideoCheckExternalStorageResponse
1057
+ */
1058
+ file_url: string;
992
1059
  }
993
1060
  /**
994
1061
  *
@@ -1065,6 +1132,62 @@ export interface VideoCoordinates {
1065
1132
  */
1066
1133
  longitude: number;
1067
1134
  }
1135
+ /**
1136
+ *
1137
+ * @export
1138
+ * @interface VideoCount
1139
+ */
1140
+ export interface VideoCount {
1141
+ /**
1142
+ *
1143
+ * @type {boolean}
1144
+ * @memberof VideoCount
1145
+ */
1146
+ approximate: boolean;
1147
+ /**
1148
+ *
1149
+ * @type {number}
1150
+ * @memberof VideoCount
1151
+ */
1152
+ value: number;
1153
+ }
1154
+ /**
1155
+ *
1156
+ * @export
1157
+ * @interface VideoCountrywiseAggregateStats
1158
+ */
1159
+ export interface VideoCountrywiseAggregateStats {
1160
+ /**
1161
+ *
1162
+ * @type {VideoCount}
1163
+ * @memberof VideoCountrywiseAggregateStats
1164
+ */
1165
+ participant_count?: VideoCount;
1166
+ /**
1167
+ *
1168
+ * @type {VideoTimeStats}
1169
+ * @memberof VideoCountrywiseAggregateStats
1170
+ */
1171
+ publisher_jitter?: VideoTimeStats;
1172
+ /**
1173
+ *
1174
+ * @type {VideoTimeStats}
1175
+ * @memberof VideoCountrywiseAggregateStats
1176
+ */
1177
+ publisher_latency?: VideoTimeStats;
1178
+ /**
1179
+ *
1180
+ * @type {VideoTimeStats}
1181
+ * @memberof VideoCountrywiseAggregateStats
1182
+ */
1183
+ subscriber_jitter?: VideoTimeStats;
1184
+ /**
1185
+ *
1186
+ * @type {VideoTimeStats}
1187
+ * @memberof VideoCountrywiseAggregateStats
1188
+ */
1189
+ subscriber_latency?: VideoTimeStats;
1190
+ }
1068
1191
  /**
1069
1192
  *
1070
1193
  * @export
@@ -1260,8 +1383,20 @@ export interface VideoCreateExternalStorageRequest {
1260
1383
  * @type {string}
1261
1384
  * @memberof VideoCreateExternalStorageRequest
1262
1385
  */
1263
- storage_type: string;
1386
+ storage_type: VideoCreateExternalStorageRequestStorageTypeEnum;
1264
1387
  }
1388
+
1389
+
1390
+ /**
1391
+ * @export
1392
+ */
1393
+ export const VideoCreateExternalStorageRequestStorageTypeEnum = {
1394
+ S3: 's3',
1395
+ GCS: 'gcs',
1396
+ ABS: 'abs'
1397
+ } as const;
1398
+ export type VideoCreateExternalStorageRequestStorageTypeEnum = typeof VideoCreateExternalStorageRequestStorageTypeEnum[keyof typeof VideoCreateExternalStorageRequestStorageTypeEnum];
1399
+
1265
1400
  /**
1266
1401
  *
1267
1402
  * @export
@@ -1313,6 +1448,44 @@ export interface VideoCreateGuestResponse {
1313
1448
  */
1314
1449
  user: VideoUserResponse;
1315
1450
  }
1451
+ /**
1452
+ *
1453
+ * @export
1454
+ * @interface VideoDeleteCallRequest
1455
+ */
1456
+ export interface VideoDeleteCallRequest {
1457
+ /**
1458
+ * if true the call will be hard deleted along with all related data
1459
+ * @type {boolean}
1460
+ * @memberof VideoDeleteCallRequest
1461
+ */
1462
+ hard?: boolean;
1463
+ }
1464
+ /**
1465
+ *
1466
+ * @export
1467
+ * @interface VideoDeleteCallResponse
1468
+ */
1469
+ export interface VideoDeleteCallResponse {
1470
+ /**
1471
+ *
1472
+ * @type {VideoCallResponse}
1473
+ * @memberof VideoDeleteCallResponse
1474
+ */
1475
+ call: VideoCallResponse;
1476
+ /**
1477
+ * Duration of the request in human-readable format
1478
+ * @type {string}
1479
+ * @memberof VideoDeleteCallResponse
1480
+ */
1481
+ duration: string;
1482
+ /**
1483
+ *
1484
+ * @type {string}
1485
+ * @memberof VideoDeleteCallResponse
1486
+ */
1487
+ task_id?: string;
1488
+ }
1316
1489
  /**
1317
1490
  *
1318
1491
  * @export
@@ -1611,8 +1784,20 @@ export interface VideoExternalStorageResponse {
1611
1784
  * @type {string}
1612
1785
  * @memberof VideoExternalStorageResponse
1613
1786
  */
1614
- type: string;
1787
+ type: VideoExternalStorageResponseTypeEnum;
1615
1788
  }
1789
+
1790
+
1791
+ /**
1792
+ * @export
1793
+ */
1794
+ export const VideoExternalStorageResponseTypeEnum = {
1795
+ S3: 's3',
1796
+ GCS: 'gcs',
1797
+ ABS: 'abs'
1798
+ } as const;
1799
+ export type VideoExternalStorageResponseTypeEnum = typeof VideoExternalStorageResponseTypeEnum[keyof typeof VideoExternalStorageResponseTypeEnum];
1800
+
1616
1801
  /**
1617
1802
  *
1618
1803
  * @export
@@ -1743,6 +1928,12 @@ export interface VideoGetCallResponse {
1743
1928
  * @interface VideoGetCallStatsResponse
1744
1929
  */
1745
1930
  export interface VideoGetCallStatsResponse {
1931
+ /**
1932
+ *
1933
+ * @type {VideoAggregatedStats}
1934
+ * @memberof VideoGetCallStatsResponse
1935
+ */
1936
+ aggregated?: VideoAggregatedStats;
1746
1937
  /**
1747
1938
  *
1748
1939
  * @type {number}
@@ -1769,16 +1960,16 @@ export interface VideoGetCallStatsResponse {
1769
1960
  duration: string;
1770
1961
  /**
1771
1962
  *
1772
- * @type {VideoStats}
1963
+ * @type {VideoTimeStats}
1773
1964
  * @memberof VideoGetCallStatsResponse
1774
1965
  */
1775
- jitter?: VideoStats;
1966
+ jitter?: VideoTimeStats;
1776
1967
  /**
1777
1968
  *
1778
- * @type {VideoStats}
1969
+ * @type {VideoTimeStats}
1779
1970
  * @memberof VideoGetCallStatsResponse
1780
1971
  */
1781
- latency?: VideoStats;
1972
+ latency?: VideoTimeStats;
1782
1973
  /**
1783
1974
  *
1784
1975
  * @type {number}
@@ -2577,6 +2768,12 @@ export interface VideoNotificationSettings {
2577
2768
  * @memberof VideoNotificationSettings
2578
2769
  */
2579
2770
  call_live_started?: VideoEventNotificationSettings;
2771
+ /**
2772
+ *
2773
+ * @type {VideoEventNotificationSettings}
2774
+ * @memberof VideoNotificationSettings
2775
+ */
2776
+ call_missed?: VideoEventNotificationSettings;
2580
2777
  /**
2581
2778
  *
2582
2779
  * @type {VideoEventNotificationSettings}
@@ -2751,6 +2948,25 @@ export interface VideoPublishedTrackInfo {
2751
2948
  */
2752
2949
  track_type?: string;
2753
2950
  }
2951
+ /**
2952
+ *
2953
+ * @export
2954
+ * @interface VideoPublisherAggregateStats
2955
+ */
2956
+ export interface VideoPublisherAggregateStats {
2957
+ /**
2958
+ *
2959
+ * @type {{ [key: string]: VideoCount; }}
2960
+ * @memberof VideoPublisherAggregateStats
2961
+ */
2962
+ by_track_type?: { [key: string]: VideoCount; };
2963
+ /**
2964
+ *
2965
+ * @type {VideoCount}
2966
+ * @memberof VideoPublisherAggregateStats
2967
+ */
2968
+ total?: VideoCount;
2969
+ }
2754
2970
  /**
2755
2971
  *
2756
2972
  * @export
@@ -3082,7 +3298,12 @@ export const VideoRecordSettingsRequestQualityEnum = {
3082
3298
  _480P: '480p',
3083
3299
  _720P: '720p',
3084
3300
  _1080P: '1080p',
3085
- _1440P: '1440p'
3301
+ _1440P: '1440p',
3302
+ PORTRAIT_360X640: 'portrait-360x640',
3303
+ PORTRAIT_480X854: 'portrait-480x854',
3304
+ PORTRAIT_720X1280: 'portrait-720x1280',
3305
+ PORTRAIT_1080X1920: 'portrait-1080x1920',
3306
+ PORTRAIT_1440X2560: 'portrait-1440x2560'
3086
3307
  } as const;
3087
3308
  export type VideoRecordSettingsRequestQualityEnum = typeof VideoRecordSettingsRequestQualityEnum[keyof typeof VideoRecordSettingsRequestQualityEnum];
3088
3309
 
@@ -3148,6 +3369,12 @@ export interface VideoRingSettingsRequest {
3148
3369
  * @memberof VideoRingSettingsRequest
3149
3370
  */
3150
3371
  incoming_call_timeout_ms: number;
3372
+ /**
3373
+ *
3374
+ * @type {number}
3375
+ * @memberof VideoRingSettingsRequest
3376
+ */
3377
+ missed_call_timeout_ms?: number;
3151
3378
  }
3152
3379
  /**
3153
3380
  *
@@ -3167,6 +3394,12 @@ export interface VideoRingSettingsResponse {
3167
3394
  * @memberof VideoRingSettingsResponse
3168
3395
  */
3169
3396
  incoming_call_timeout_ms: number;
3397
+ /**
3398
+ *
3399
+ * @type {number}
3400
+ * @memberof VideoRingSettingsResponse
3401
+ */
3402
+ missed_call_timeout_ms: number;
3170
3403
  }
3171
3404
  /**
3172
3405
  *
@@ -3402,25 +3635,6 @@ export interface VideoStartTranscriptionResponse {
3402
3635
  */
3403
3636
  duration: string;
3404
3637
  }
3405
- /**
3406
- *
3407
- * @export
3408
- * @interface VideoStats
3409
- */
3410
- export interface VideoStats {
3411
- /**
3412
- *
3413
- * @type {number}
3414
- * @memberof VideoStats
3415
- */
3416
- average_seconds: number;
3417
- /**
3418
- *
3419
- * @type {number}
3420
- * @memberof VideoStats
3421
- */
3422
- max_seconds: number;
3423
- }
3424
3638
  /**
3425
3639
  *
3426
3640
  * @export
@@ -3510,6 +3724,25 @@ export interface VideoSubsession {
3510
3724
  */
3511
3725
  sfu_id: string;
3512
3726
  }
3727
+ /**
3728
+ *
3729
+ * @export
3730
+ * @interface VideoTURNAggregatedStats
3731
+ */
3732
+ export interface VideoTURNAggregatedStats {
3733
+ /**
3734
+ *
3735
+ * @type {VideoCount}
3736
+ * @memberof VideoTURNAggregatedStats
3737
+ */
3738
+ tcp?: VideoCount;
3739
+ /**
3740
+ *
3741
+ * @type {VideoCount}
3742
+ * @memberof VideoTURNAggregatedStats
3743
+ */
3744
+ total?: VideoCount;
3745
+ }
3513
3746
  /**
3514
3747
  *
3515
3748
  * @export
@@ -3574,6 +3807,25 @@ export interface VideoThumbnailsSettingsResponse {
3574
3807
  */
3575
3808
  enabled: boolean;
3576
3809
  }
3810
+ /**
3811
+ *
3812
+ * @export
3813
+ * @interface VideoTimeStats
3814
+ */
3815
+ export interface VideoTimeStats {
3816
+ /**
3817
+ *
3818
+ * @type {number}
3819
+ * @memberof VideoTimeStats
3820
+ */
3821
+ average_seconds: number;
3822
+ /**
3823
+ *
3824
+ * @type {number}
3825
+ * @memberof VideoTimeStats
3826
+ */
3827
+ max_seconds: number;
3828
+ }
3577
3829
  /**
3578
3830
  *
3579
3831
  * @export
@@ -3940,8 +4192,20 @@ export interface VideoUpdateExternalStorageRequest {
3940
4192
  * @type {string}
3941
4193
  * @memberof VideoUpdateExternalStorageRequest
3942
4194
  */
3943
- storage_type: string;
4195
+ storage_type: VideoUpdateExternalStorageRequestStorageTypeEnum;
3944
4196
  }
4197
+
4198
+
4199
+ /**
4200
+ * @export
4201
+ */
4202
+ export const VideoUpdateExternalStorageRequestStorageTypeEnum = {
4203
+ S3: 's3',
4204
+ GCS: 'gcs',
4205
+ ABS: 'abs'
4206
+ } as const;
4207
+ export type VideoUpdateExternalStorageRequestStorageTypeEnum = typeof VideoUpdateExternalStorageRequestStorageTypeEnum[keyof typeof VideoUpdateExternalStorageRequestStorageTypeEnum];
4208
+
3945
4209
  /**
3946
4210
  *
3947
4211
  * @export
@@ -3977,8 +4241,20 @@ export interface VideoUpdateExternalStorageResponse {
3977
4241
  * @type {string}
3978
4242
  * @memberof VideoUpdateExternalStorageResponse
3979
4243
  */
3980
- type: string;
4244
+ type: VideoUpdateExternalStorageResponseTypeEnum;
3981
4245
  }
4246
+
4247
+
4248
+ /**
4249
+ * @export
4250
+ */
4251
+ export const VideoUpdateExternalStorageResponseTypeEnum = {
4252
+ S3: 's3',
4253
+ GCS: 'gcs',
4254
+ ABS: 'abs'
4255
+ } as const;
4256
+ export type VideoUpdateExternalStorageResponseTypeEnum = typeof VideoUpdateExternalStorageResponseTypeEnum[keyof typeof VideoUpdateExternalStorageResponseTypeEnum];
4257
+
3982
4258
  /**
3983
4259
  *
3984
4260
  * @export
@@ -4127,6 +4403,12 @@ export interface VideoUserResponse {
4127
4403
  * @memberof VideoUserResponse
4128
4404
  */
4129
4405
  banned: boolean;
4406
+ /**
4407
+ *
4408
+ * @type {Array<string>}
4409
+ * @memberof VideoUserResponse
4410
+ */
4411
+ blocked_user_ids: Array<string>;
4130
4412
  /**
4131
4413
  * Date/time of creation
4132
4414
  * @type {string}
@@ -4298,16 +4580,16 @@ export interface VideoUserSessionStats {
4298
4580
  geolocation?: VideoGeolocationResult;
4299
4581
  /**
4300
4582
  *
4301
- * @type {VideoStats}
4583
+ * @type {VideoTimeStats}
4302
4584
  * @memberof VideoUserSessionStats
4303
4585
  */
4304
- jitter?: VideoStats;
4586
+ jitter?: VideoTimeStats;
4305
4587
  /**
4306
4588
  *
4307
- * @type {VideoStats}
4589
+ * @type {VideoTimeStats}
4308
4590
  * @memberof VideoUserSessionStats
4309
4591
  */
4310
- latency?: VideoStats;
4592
+ latency?: VideoTimeStats;
4311
4593
  /**
4312
4594
  *
4313
4595
  * @type {number}
@@ -4394,16 +4676,16 @@ export interface VideoUserSessionStats {
4394
4676
  publisher_audio_mos?: VideoMOSStats;
4395
4677
  /**
4396
4678
  *
4397
- * @type {VideoStats}
4679
+ * @type {VideoTimeStats}
4398
4680
  * @memberof VideoUserSessionStats
4399
4681
  */
4400
- publisher_jitter?: VideoStats;
4682
+ publisher_jitter?: VideoTimeStats;
4401
4683
  /**
4402
4684
  *
4403
- * @type {VideoStats}
4685
+ * @type {VideoTimeStats}
4404
4686
  * @memberof VideoUserSessionStats
4405
4687
  */
4406
- publisher_latency?: VideoStats;
4688
+ publisher_latency?: VideoTimeStats;
4407
4689
  /**
4408
4690
  *
4409
4691
  * @type {number}
@@ -4496,16 +4778,16 @@ export interface VideoUserSessionStats {
4496
4778
  subscriber_audio_mos?: VideoMOSStats;
4497
4779
  /**
4498
4780
  *
4499
- * @type {VideoStats}
4781
+ * @type {VideoTimeStats}
4500
4782
  * @memberof VideoUserSessionStats
4501
4783
  */
4502
- subscriber_jitter?: VideoStats;
4784
+ subscriber_jitter?: VideoTimeStats;
4503
4785
  /**
4504
4786
  *
4505
- * @type {VideoStats}
4787
+ * @type {VideoTimeStats}
4506
4788
  * @memberof VideoUserSessionStats
4507
4789
  */
4508
- subscriber_latency?: VideoStats;
4790
+ subscriber_latency?: VideoTimeStats;
4509
4791
  /**
4510
4792
  *
4511
4793
  * @type {number}
@@ -4536,6 +4818,12 @@ export interface VideoUserSessionStats {
4536
4818
  * @memberof VideoUserSessionStats
4537
4819
  */
4538
4820
  total_pixels_out: number;
4821
+ /**
4822
+ *
4823
+ * @type {boolean}
4824
+ * @memberof VideoUserSessionStats
4825
+ */
4826
+ truncated?: boolean;
4539
4827
  /**
4540
4828
  *
4541
4829
  * @type {string}
@@ -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: v116.0.0
7
+ * The version of the OpenAPI document: v122.3.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).