@stream-io/node-sdk 0.4.22 → 0.4.24
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 +74 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +74 -21
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChannelApi.d.ts +2 -2
- package/dist/src/gen/chat/ChatApi.d.ts +1 -1
- package/dist/src/gen/models/index.d.ts +116 -182
- package/dist/src/gen/video/CallApi.d.ts +4 -4
- package/dist/src/gen/video/VideoApi.d.ts +6 -6
- package/package.json +1 -1
- package/src/gen/chat/ChannelApi.ts +1 -1
- package/src/gen/chat/ChatApi.ts +8 -4
- package/src/gen/model-decoders/index.ts +53 -2
- package/src/gen/models/index.ts +276 -310
- package/src/gen/moderation/ModerationApi.ts +1 -0
- package/src/gen/video/CallApi.ts +12 -11
- package/src/gen/video/VideoApi.ts +35 -26
package/src/gen/models/index.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface AIImageConfig {
|
|
2
2
|
enabled: boolean;
|
|
3
3
|
|
|
4
|
+
ocr_rules: OCRRule[];
|
|
5
|
+
|
|
4
6
|
rules: AWSRekognitionRule[];
|
|
5
7
|
|
|
6
8
|
async?: boolean;
|
|
@@ -166,12 +168,6 @@ export interface ActionLogResponse {
|
|
|
166
168
|
user?: UserResponse;
|
|
167
169
|
}
|
|
168
170
|
|
|
169
|
-
export interface AggregatedStats {
|
|
170
|
-
publisher_aggregate_stats?: PublisherAggregateStats;
|
|
171
|
-
|
|
172
|
-
turn?: TURNAggregatedStats;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
171
|
export interface AnyEvent {
|
|
176
172
|
created_at: Date;
|
|
177
173
|
|
|
@@ -842,28 +838,6 @@ export interface CallEndedEvent {
|
|
|
842
838
|
user?: UserResponse;
|
|
843
839
|
}
|
|
844
840
|
|
|
845
|
-
export interface CallEvent {
|
|
846
|
-
description: string;
|
|
847
|
-
|
|
848
|
-
end_timestamp: number;
|
|
849
|
-
|
|
850
|
-
internal: boolean;
|
|
851
|
-
|
|
852
|
-
kind: string;
|
|
853
|
-
|
|
854
|
-
severity: number;
|
|
855
|
-
|
|
856
|
-
timestamp: number;
|
|
857
|
-
|
|
858
|
-
type: string;
|
|
859
|
-
|
|
860
|
-
category?: string;
|
|
861
|
-
|
|
862
|
-
component?: string;
|
|
863
|
-
|
|
864
|
-
issue_tags?: string[];
|
|
865
|
-
}
|
|
866
|
-
|
|
867
841
|
export interface CallFrameRecordingFailedEvent {
|
|
868
842
|
call_cid: string;
|
|
869
843
|
|
|
@@ -1151,6 +1125,8 @@ export interface CallReportResponse {
|
|
|
1151
1125
|
}
|
|
1152
1126
|
|
|
1153
1127
|
export interface CallRequest {
|
|
1128
|
+
channel_cid?: string;
|
|
1129
|
+
|
|
1154
1130
|
created_by_id?: string;
|
|
1155
1131
|
|
|
1156
1132
|
starts_at?: Date;
|
|
@@ -1201,6 +1177,8 @@ export interface CallResponse {
|
|
|
1201
1177
|
|
|
1202
1178
|
settings: CallSettingsResponse;
|
|
1203
1179
|
|
|
1180
|
+
channel_cid?: string;
|
|
1181
|
+
|
|
1204
1182
|
ended_at?: Date;
|
|
1205
1183
|
|
|
1206
1184
|
join_ahead_time_seconds?: number;
|
|
@@ -1430,6 +1408,16 @@ export interface CallStateResponseFields {
|
|
|
1430
1408
|
call: CallResponse;
|
|
1431
1409
|
}
|
|
1432
1410
|
|
|
1411
|
+
export interface CallStatsReportReadyEvent {
|
|
1412
|
+
call_cid: string;
|
|
1413
|
+
|
|
1414
|
+
created_at: Date;
|
|
1415
|
+
|
|
1416
|
+
session_id: string;
|
|
1417
|
+
|
|
1418
|
+
type: string;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1433
1421
|
export interface CallStatsReportSummaryResponse {
|
|
1434
1422
|
call_cid: string;
|
|
1435
1423
|
|
|
@@ -1448,10 +1436,6 @@ export interface CallStatsReportSummaryResponse {
|
|
|
1448
1436
|
quality_score?: number;
|
|
1449
1437
|
}
|
|
1450
1438
|
|
|
1451
|
-
export interface CallTimeline {
|
|
1452
|
-
events: CallEvent[];
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
1439
|
export interface CallTranscription {
|
|
1456
1440
|
end_time: Date;
|
|
1457
1441
|
|
|
@@ -1509,6 +1493,8 @@ export interface CallType {
|
|
|
1509
1493
|
|
|
1510
1494
|
created_at: Date;
|
|
1511
1495
|
|
|
1496
|
+
enable_live_insights: boolean;
|
|
1497
|
+
|
|
1512
1498
|
external_storage: string;
|
|
1513
1499
|
|
|
1514
1500
|
name: string;
|
|
@@ -1641,6 +1627,8 @@ export interface CampaignResponse {
|
|
|
1641
1627
|
|
|
1642
1628
|
sender_mode: string;
|
|
1643
1629
|
|
|
1630
|
+
show_channels: boolean;
|
|
1631
|
+
|
|
1644
1632
|
skip_push: boolean;
|
|
1645
1633
|
|
|
1646
1634
|
skip_webhook: boolean;
|
|
@@ -2392,6 +2380,10 @@ export interface ChannelVisibleEvent {
|
|
|
2392
2380
|
user?: User;
|
|
2393
2381
|
}
|
|
2394
2382
|
|
|
2383
|
+
export interface ChatActivityStatsResponse {
|
|
2384
|
+
messages?: MessageStatsResponse;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2395
2387
|
export interface CheckExternalStorageResponse {
|
|
2396
2388
|
duration: string;
|
|
2397
2389
|
|
|
@@ -2608,16 +2600,10 @@ export interface ConfigResponse {
|
|
|
2608
2600
|
velocity_filter_config?: VelocityFilterConfig;
|
|
2609
2601
|
}
|
|
2610
2602
|
|
|
2611
|
-
export interface
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
longitude: number;
|
|
2615
|
-
}
|
|
2616
|
-
|
|
2617
|
-
export interface Count {
|
|
2618
|
-
approximate: boolean;
|
|
2603
|
+
export interface CountByMinuteResponse {
|
|
2604
|
+
count: number;
|
|
2619
2605
|
|
|
2620
|
-
|
|
2606
|
+
start_ts: Date;
|
|
2621
2607
|
}
|
|
2622
2608
|
|
|
2623
2609
|
export interface CreateBlockListRequest {
|
|
@@ -2627,7 +2613,7 @@ export interface CreateBlockListRequest {
|
|
|
2627
2613
|
|
|
2628
2614
|
team?: string;
|
|
2629
2615
|
|
|
2630
|
-
type?: 'regex' | 'domain' | 'email' | 'word';
|
|
2616
|
+
type?: 'regex' | 'domain' | 'domain_allowlist' | 'email' | 'word';
|
|
2631
2617
|
}
|
|
2632
2618
|
|
|
2633
2619
|
export interface CreateBlockListResponse {
|
|
@@ -3562,12 +3548,6 @@ export interface ExternalStorageResponse {
|
|
|
3562
3548
|
type: 's3' | 'gcs' | 'abs';
|
|
3563
3549
|
}
|
|
3564
3550
|
|
|
3565
|
-
export interface FPSStats {
|
|
3566
|
-
average_fps: number;
|
|
3567
|
-
|
|
3568
|
-
tracked: number;
|
|
3569
|
-
}
|
|
3570
|
-
|
|
3571
3551
|
export interface FeedsModerationTemplateConfig {
|
|
3572
3552
|
config_key: string;
|
|
3573
3553
|
|
|
@@ -3842,28 +3822,6 @@ export interface GeofenceSettingsResponse {
|
|
|
3842
3822
|
names: string[];
|
|
3843
3823
|
}
|
|
3844
3824
|
|
|
3845
|
-
export interface GeolocationResult {
|
|
3846
|
-
accuracy_radius: number;
|
|
3847
|
-
|
|
3848
|
-
city: string;
|
|
3849
|
-
|
|
3850
|
-
continent: string;
|
|
3851
|
-
|
|
3852
|
-
continent_code: string;
|
|
3853
|
-
|
|
3854
|
-
country: string;
|
|
3855
|
-
|
|
3856
|
-
country_iso_code: string;
|
|
3857
|
-
|
|
3858
|
-
latitude: number;
|
|
3859
|
-
|
|
3860
|
-
longitude: number;
|
|
3861
|
-
|
|
3862
|
-
subdivision: string;
|
|
3863
|
-
|
|
3864
|
-
subdivision_iso_code: string;
|
|
3865
|
-
}
|
|
3866
|
-
|
|
3867
3825
|
export interface GetApplicationResponse {
|
|
3868
3826
|
duration: string;
|
|
3869
3827
|
|
|
@@ -3888,6 +3846,8 @@ export interface GetCallReportResponse {
|
|
|
3888
3846
|
session_id: string;
|
|
3889
3847
|
|
|
3890
3848
|
report: ReportResponse;
|
|
3849
|
+
|
|
3850
|
+
chat_activity?: ChatActivityStatsResponse;
|
|
3891
3851
|
}
|
|
3892
3852
|
|
|
3893
3853
|
export interface GetCallResponse {
|
|
@@ -3900,42 +3860,6 @@ export interface GetCallResponse {
|
|
|
3900
3860
|
call: CallResponse;
|
|
3901
3861
|
}
|
|
3902
3862
|
|
|
3903
|
-
export interface GetCallStatsResponse {
|
|
3904
|
-
call_duration_seconds: number;
|
|
3905
|
-
|
|
3906
|
-
call_status: string;
|
|
3907
|
-
|
|
3908
|
-
duration: string;
|
|
3909
|
-
|
|
3910
|
-
is_truncated_report: boolean;
|
|
3911
|
-
|
|
3912
|
-
max_freezes_duration_seconds: number;
|
|
3913
|
-
|
|
3914
|
-
max_participants: number;
|
|
3915
|
-
|
|
3916
|
-
max_total_quality_limitation_duration_seconds: number;
|
|
3917
|
-
|
|
3918
|
-
publishing_participants: number;
|
|
3919
|
-
|
|
3920
|
-
quality_score: number;
|
|
3921
|
-
|
|
3922
|
-
sfu_count: number;
|
|
3923
|
-
|
|
3924
|
-
participant_report: UserStats[];
|
|
3925
|
-
|
|
3926
|
-
sfus: SFULocationResponse[];
|
|
3927
|
-
|
|
3928
|
-
average_connection_time?: number;
|
|
3929
|
-
|
|
3930
|
-
aggregated?: AggregatedStats;
|
|
3931
|
-
|
|
3932
|
-
call_timeline?: CallTimeline;
|
|
3933
|
-
|
|
3934
|
-
jitter?: TimeStats;
|
|
3935
|
-
|
|
3936
|
-
latency?: TimeStats;
|
|
3937
|
-
}
|
|
3938
|
-
|
|
3939
3863
|
export interface GetCallTypeResponse {
|
|
3940
3864
|
created_at: Date;
|
|
3941
3865
|
|
|
@@ -4195,8 +4119,6 @@ export interface GetRepliesResponse {
|
|
|
4195
4119
|
export interface GetReviewQueueItemResponse {
|
|
4196
4120
|
duration: string;
|
|
4197
4121
|
|
|
4198
|
-
history: ReviewQueueItemResponse[];
|
|
4199
|
-
|
|
4200
4122
|
item?: ReviewQueueItemResponse;
|
|
4201
4123
|
}
|
|
4202
4124
|
|
|
@@ -4252,6 +4174,12 @@ export interface GoogleVisionConfig {
|
|
|
4252
4174
|
enabled?: boolean;
|
|
4253
4175
|
}
|
|
4254
4176
|
|
|
4177
|
+
export interface GroupedStatsResponse {
|
|
4178
|
+
name: string;
|
|
4179
|
+
|
|
4180
|
+
unique: number;
|
|
4181
|
+
}
|
|
4182
|
+
|
|
4255
4183
|
export interface HLSSettings {
|
|
4256
4184
|
auto_on: boolean;
|
|
4257
4185
|
|
|
@@ -4540,14 +4468,6 @@ export interface ListTranscriptionsResponse {
|
|
|
4540
4468
|
transcriptions: CallTranscription[];
|
|
4541
4469
|
}
|
|
4542
4470
|
|
|
4543
|
-
export interface Location {
|
|
4544
|
-
continent_code: string;
|
|
4545
|
-
|
|
4546
|
-
country_iso_code: string;
|
|
4547
|
-
|
|
4548
|
-
subdivision_iso_code: string;
|
|
4549
|
-
}
|
|
4550
|
-
|
|
4551
4471
|
export interface MarkChannelsReadRequest {
|
|
4552
4472
|
user_id?: string;
|
|
4553
4473
|
|
|
@@ -4588,16 +4508,6 @@ export interface MarkUnreadRequest {
|
|
|
4588
4508
|
user?: UserRequest;
|
|
4589
4509
|
}
|
|
4590
4510
|
|
|
4591
|
-
export interface MediaPubSubHint {
|
|
4592
|
-
audio_published: boolean;
|
|
4593
|
-
|
|
4594
|
-
audio_subscribed: boolean;
|
|
4595
|
-
|
|
4596
|
-
video_published: boolean;
|
|
4597
|
-
|
|
4598
|
-
video_subscribed: boolean;
|
|
4599
|
-
}
|
|
4600
|
-
|
|
4601
4511
|
export interface MemberAddedEvent {
|
|
4602
4512
|
channel_id: string;
|
|
4603
4513
|
|
|
@@ -5070,6 +4980,10 @@ export interface MessageResponse {
|
|
|
5070
4980
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
5071
4981
|
}
|
|
5072
4982
|
|
|
4983
|
+
export interface MessageStatsResponse {
|
|
4984
|
+
count_over_time?: CountByMinuteResponse[];
|
|
4985
|
+
}
|
|
4986
|
+
|
|
5073
4987
|
export interface MessageUnblockedEvent {
|
|
5074
4988
|
cid: string;
|
|
5075
4989
|
|
|
@@ -5228,6 +5142,24 @@ export interface ModerationActionConfig {
|
|
|
5228
5142
|
custom: Record<string, any>;
|
|
5229
5143
|
}
|
|
5230
5144
|
|
|
5145
|
+
export interface ModerationCheckCompletedEvent {
|
|
5146
|
+
created_at: Date;
|
|
5147
|
+
|
|
5148
|
+
entity_id: string;
|
|
5149
|
+
|
|
5150
|
+
entity_type: string;
|
|
5151
|
+
|
|
5152
|
+
recommended_action: string;
|
|
5153
|
+
|
|
5154
|
+
review_queue_item_id: string;
|
|
5155
|
+
|
|
5156
|
+
custom: Record<string, any>;
|
|
5157
|
+
|
|
5158
|
+
type: string;
|
|
5159
|
+
|
|
5160
|
+
received_at?: Date;
|
|
5161
|
+
}
|
|
5162
|
+
|
|
5231
5163
|
export interface ModerationCustomActionEvent {
|
|
5232
5164
|
created_at: Date;
|
|
5233
5165
|
|
|
@@ -5430,6 +5362,18 @@ export interface NotificationSettings {
|
|
|
5430
5362
|
|
|
5431
5363
|
export interface NullTime {}
|
|
5432
5364
|
|
|
5365
|
+
export interface OCRRule {
|
|
5366
|
+
action:
|
|
5367
|
+
| 'flag'
|
|
5368
|
+
| 'shadow'
|
|
5369
|
+
| 'remove'
|
|
5370
|
+
| 'bounce'
|
|
5371
|
+
| 'bounce_flag'
|
|
5372
|
+
| 'bounce_remove';
|
|
5373
|
+
|
|
5374
|
+
label: string;
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5433
5377
|
export interface OnlyUserID {
|
|
5434
5378
|
id: string;
|
|
5435
5379
|
}
|
|
@@ -5594,10 +5538,42 @@ export interface PaginationParams {
|
|
|
5594
5538
|
offset?: number;
|
|
5595
5539
|
}
|
|
5596
5540
|
|
|
5541
|
+
export interface ParticipantCountByMinuteResponse {
|
|
5542
|
+
first: number;
|
|
5543
|
+
|
|
5544
|
+
last: number;
|
|
5545
|
+
|
|
5546
|
+
max: number;
|
|
5547
|
+
|
|
5548
|
+
min: number;
|
|
5549
|
+
|
|
5550
|
+
start_ts: Date;
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
export interface ParticipantCountOverTimeResponse {
|
|
5554
|
+
by_minute?: ParticipantCountByMinuteResponse[];
|
|
5555
|
+
}
|
|
5556
|
+
|
|
5597
5557
|
export interface ParticipantReportResponse {
|
|
5598
5558
|
sum: number;
|
|
5599
5559
|
|
|
5600
5560
|
unique: number;
|
|
5561
|
+
|
|
5562
|
+
max_concurrent?: number;
|
|
5563
|
+
|
|
5564
|
+
by_browser?: GroupedStatsResponse[];
|
|
5565
|
+
|
|
5566
|
+
by_country?: GroupedStatsResponse[];
|
|
5567
|
+
|
|
5568
|
+
by_device?: GroupedStatsResponse[];
|
|
5569
|
+
|
|
5570
|
+
by_operating_system?: GroupedStatsResponse[];
|
|
5571
|
+
|
|
5572
|
+
count_over_time?: ParticipantCountOverTimeResponse;
|
|
5573
|
+
|
|
5574
|
+
publishers?: PublisherStatsResponse;
|
|
5575
|
+
|
|
5576
|
+
subscribers?: SubscriberStatsResponse;
|
|
5601
5577
|
}
|
|
5602
5578
|
|
|
5603
5579
|
export interface PendingMessageResponse {
|
|
@@ -5898,18 +5874,12 @@ export interface PrivacySettingsResponse {
|
|
|
5898
5874
|
typing_indicators?: TypingIndicatorsResponse;
|
|
5899
5875
|
}
|
|
5900
5876
|
|
|
5901
|
-
export interface
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
duration_seconds?: number;
|
|
5905
|
-
|
|
5906
|
-
track_type?: string;
|
|
5907
|
-
}
|
|
5877
|
+
export interface PublisherStatsResponse {
|
|
5878
|
+
total: number;
|
|
5908
5879
|
|
|
5909
|
-
|
|
5910
|
-
by_track_type?: Record<string, Count>;
|
|
5880
|
+
unique: number;
|
|
5911
5881
|
|
|
5912
|
-
|
|
5882
|
+
by_track?: TrackStatsResponse[];
|
|
5913
5883
|
}
|
|
5914
5884
|
|
|
5915
5885
|
export interface PushConfig {
|
|
@@ -6154,6 +6124,24 @@ export interface QueryCallMembersResponse {
|
|
|
6154
6124
|
prev?: string;
|
|
6155
6125
|
}
|
|
6156
6126
|
|
|
6127
|
+
export interface QueryCallParticipantsRequest {
|
|
6128
|
+
filter_conditions?: Record<string, any>;
|
|
6129
|
+
}
|
|
6130
|
+
|
|
6131
|
+
export interface QueryCallParticipantsResponse {
|
|
6132
|
+
duration: string;
|
|
6133
|
+
|
|
6134
|
+
total_participants: number;
|
|
6135
|
+
|
|
6136
|
+
members: MemberResponse[];
|
|
6137
|
+
|
|
6138
|
+
own_capabilities: OwnCapability[];
|
|
6139
|
+
|
|
6140
|
+
participants: CallParticipantResponse[];
|
|
6141
|
+
|
|
6142
|
+
call: CallResponse;
|
|
6143
|
+
}
|
|
6144
|
+
|
|
6157
6145
|
export interface QueryCallStatsRequest {
|
|
6158
6146
|
limit?: number;
|
|
6159
6147
|
|
|
@@ -6563,6 +6551,10 @@ export interface QueryThreadsRequest {
|
|
|
6563
6551
|
|
|
6564
6552
|
user_id?: string;
|
|
6565
6553
|
|
|
6554
|
+
sort?: SortParamRequest[];
|
|
6555
|
+
|
|
6556
|
+
filter?: Record<string, any>;
|
|
6557
|
+
|
|
6566
6558
|
user?: UserRequest;
|
|
6567
6559
|
}
|
|
6568
6560
|
|
|
@@ -6941,6 +6933,8 @@ export interface ReviewQueueItem {
|
|
|
6941
6933
|
|
|
6942
6934
|
bounce_count: number;
|
|
6943
6935
|
|
|
6936
|
+
config_key: string;
|
|
6937
|
+
|
|
6944
6938
|
content_changed: boolean;
|
|
6945
6939
|
|
|
6946
6940
|
created_at: Date;
|
|
@@ -7049,6 +7043,8 @@ export interface ReviewQueueItemResponse {
|
|
|
7049
7043
|
|
|
7050
7044
|
completed_at?: Date;
|
|
7051
7045
|
|
|
7046
|
+
config_key?: string;
|
|
7047
|
+
|
|
7052
7048
|
entity_creator_id?: string;
|
|
7053
7049
|
|
|
7054
7050
|
reviewed_at?: Date;
|
|
@@ -7124,11 +7120,55 @@ export interface Role {
|
|
|
7124
7120
|
scopes: string[];
|
|
7125
7121
|
}
|
|
7126
7122
|
|
|
7123
|
+
export interface RuleBuilderAction {
|
|
7124
|
+
duration?: number;
|
|
7125
|
+
|
|
7126
|
+
ip_ban?: boolean;
|
|
7127
|
+
|
|
7128
|
+
reason?: string;
|
|
7129
|
+
|
|
7130
|
+
shadow_ban?: boolean;
|
|
7131
|
+
|
|
7132
|
+
type?: string;
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
export interface RuleBuilderCondition {
|
|
7136
|
+
provider?: string;
|
|
7137
|
+
|
|
7138
|
+
threshold?: number;
|
|
7139
|
+
|
|
7140
|
+
time_window?: string;
|
|
7141
|
+
|
|
7142
|
+
labels?: string[];
|
|
7143
|
+
}
|
|
7144
|
+
|
|
7145
|
+
export interface RuleBuilderConfig {
|
|
7146
|
+
async?: boolean;
|
|
7147
|
+
|
|
7148
|
+
enabled?: boolean;
|
|
7149
|
+
|
|
7150
|
+
rules?: RuleBuilderRule[];
|
|
7151
|
+
}
|
|
7152
|
+
|
|
7153
|
+
export interface RuleBuilderRule {
|
|
7154
|
+
enabled?: boolean;
|
|
7155
|
+
|
|
7156
|
+
id?: string;
|
|
7157
|
+
|
|
7158
|
+
name?: string;
|
|
7159
|
+
|
|
7160
|
+
conditions?: RuleBuilderCondition[];
|
|
7161
|
+
|
|
7162
|
+
action?: RuleBuilderAction;
|
|
7163
|
+
}
|
|
7164
|
+
|
|
7127
7165
|
export interface S3Request {
|
|
7128
7166
|
s3_region: string;
|
|
7129
7167
|
|
|
7130
7168
|
s3_api_key?: string;
|
|
7131
7169
|
|
|
7170
|
+
s3_custom_endpoint_url?: string;
|
|
7171
|
+
|
|
7132
7172
|
s3_secret?: string;
|
|
7133
7173
|
}
|
|
7134
7174
|
|
|
@@ -7140,16 +7180,6 @@ export interface SDKUsageReportResponse {
|
|
|
7140
7180
|
daily: DailyAggregateSDKUsageReportResponse[];
|
|
7141
7181
|
}
|
|
7142
7182
|
|
|
7143
|
-
export interface SFULocationResponse {
|
|
7144
|
-
datacenter: string;
|
|
7145
|
-
|
|
7146
|
-
id: string;
|
|
7147
|
-
|
|
7148
|
-
coordinates: Coordinates;
|
|
7149
|
-
|
|
7150
|
-
location: Location;
|
|
7151
|
-
}
|
|
7152
|
-
|
|
7153
7183
|
export interface ScreensharingSettings {
|
|
7154
7184
|
access_request_enabled: boolean;
|
|
7155
7185
|
|
|
@@ -7471,7 +7501,44 @@ export interface StartClosedCaptionsRequest {
|
|
|
7471
7501
|
|
|
7472
7502
|
external_storage?: string;
|
|
7473
7503
|
|
|
7474
|
-
language?:
|
|
7504
|
+
language?:
|
|
7505
|
+
| 'auto'
|
|
7506
|
+
| 'en'
|
|
7507
|
+
| 'fr'
|
|
7508
|
+
| 'es'
|
|
7509
|
+
| 'de'
|
|
7510
|
+
| 'it'
|
|
7511
|
+
| 'nl'
|
|
7512
|
+
| 'pt'
|
|
7513
|
+
| 'pl'
|
|
7514
|
+
| 'ca'
|
|
7515
|
+
| 'cs'
|
|
7516
|
+
| 'da'
|
|
7517
|
+
| 'el'
|
|
7518
|
+
| 'fi'
|
|
7519
|
+
| 'id'
|
|
7520
|
+
| 'ja'
|
|
7521
|
+
| 'ru'
|
|
7522
|
+
| 'sv'
|
|
7523
|
+
| 'ta'
|
|
7524
|
+
| 'th'
|
|
7525
|
+
| 'tr'
|
|
7526
|
+
| 'hu'
|
|
7527
|
+
| 'ro'
|
|
7528
|
+
| 'zh'
|
|
7529
|
+
| 'ar'
|
|
7530
|
+
| 'tl'
|
|
7531
|
+
| 'he'
|
|
7532
|
+
| 'hi'
|
|
7533
|
+
| 'hr'
|
|
7534
|
+
| 'ko'
|
|
7535
|
+
| 'ms'
|
|
7536
|
+
| 'no'
|
|
7537
|
+
| 'uk'
|
|
7538
|
+
| 'bg'
|
|
7539
|
+
| 'et'
|
|
7540
|
+
| 'sl'
|
|
7541
|
+
| 'sk';
|
|
7475
7542
|
}
|
|
7476
7543
|
|
|
7477
7544
|
export interface StartClosedCaptionsResponse {
|
|
@@ -7513,7 +7580,44 @@ export interface StartRecordingResponse {
|
|
|
7513
7580
|
export interface StartTranscriptionRequest {
|
|
7514
7581
|
enable_closed_captions?: boolean;
|
|
7515
7582
|
|
|
7516
|
-
language?:
|
|
7583
|
+
language?:
|
|
7584
|
+
| 'auto'
|
|
7585
|
+
| 'en'
|
|
7586
|
+
| 'fr'
|
|
7587
|
+
| 'es'
|
|
7588
|
+
| 'de'
|
|
7589
|
+
| 'it'
|
|
7590
|
+
| 'nl'
|
|
7591
|
+
| 'pt'
|
|
7592
|
+
| 'pl'
|
|
7593
|
+
| 'ca'
|
|
7594
|
+
| 'cs'
|
|
7595
|
+
| 'da'
|
|
7596
|
+
| 'el'
|
|
7597
|
+
| 'fi'
|
|
7598
|
+
| 'id'
|
|
7599
|
+
| 'ja'
|
|
7600
|
+
| 'ru'
|
|
7601
|
+
| 'sv'
|
|
7602
|
+
| 'ta'
|
|
7603
|
+
| 'th'
|
|
7604
|
+
| 'tr'
|
|
7605
|
+
| 'hu'
|
|
7606
|
+
| 'ro'
|
|
7607
|
+
| 'zh'
|
|
7608
|
+
| 'ar'
|
|
7609
|
+
| 'tl'
|
|
7610
|
+
| 'he'
|
|
7611
|
+
| 'hi'
|
|
7612
|
+
| 'hr'
|
|
7613
|
+
| 'ko'
|
|
7614
|
+
| 'ms'
|
|
7615
|
+
| 'no'
|
|
7616
|
+
| 'uk'
|
|
7617
|
+
| 'bg'
|
|
7618
|
+
| 'et'
|
|
7619
|
+
| 'sl'
|
|
7620
|
+
| 'sk';
|
|
7517
7621
|
|
|
7518
7622
|
transcription_external_storage?: string;
|
|
7519
7623
|
}
|
|
@@ -7631,20 +7735,12 @@ export interface SubmitActionResponse {
|
|
|
7631
7735
|
item?: ReviewQueueItem;
|
|
7632
7736
|
}
|
|
7633
7737
|
|
|
7634
|
-
export interface
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
joined_at: number;
|
|
7638
|
-
|
|
7639
|
-
sfu_id: string;
|
|
7640
|
-
|
|
7641
|
-
pub_sub_hint?: MediaPubSubHint;
|
|
7642
|
-
}
|
|
7738
|
+
export interface SubscriberStatsResponse {
|
|
7739
|
+
total: number;
|
|
7643
7740
|
|
|
7644
|
-
|
|
7645
|
-
tcp?: Count;
|
|
7741
|
+
total_subscribed_duration_seconds: number;
|
|
7646
7742
|
|
|
7647
|
-
|
|
7743
|
+
unique: number;
|
|
7648
7744
|
}
|
|
7649
7745
|
|
|
7650
7746
|
export interface TargetResolution {
|
|
@@ -7793,10 +7889,10 @@ export interface ThumbnailsSettingsResponse {
|
|
|
7793
7889
|
|
|
7794
7890
|
export interface Time {}
|
|
7795
7891
|
|
|
7796
|
-
export interface
|
|
7797
|
-
|
|
7892
|
+
export interface TrackStatsResponse {
|
|
7893
|
+
duration_seconds: number;
|
|
7798
7894
|
|
|
7799
|
-
|
|
7895
|
+
track_type: string;
|
|
7800
7896
|
}
|
|
7801
7897
|
|
|
7802
7898
|
export interface TranscriptionSettings {
|
|
@@ -7835,7 +7931,11 @@ export interface TranscriptionSettings {
|
|
|
7835
7931
|
| 'ko'
|
|
7836
7932
|
| 'ms'
|
|
7837
7933
|
| 'no'
|
|
7838
|
-
| 'uk'
|
|
7934
|
+
| 'uk'
|
|
7935
|
+
| 'bg'
|
|
7936
|
+
| 'et'
|
|
7937
|
+
| 'sl'
|
|
7938
|
+
| 'sk';
|
|
7839
7939
|
|
|
7840
7940
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
7841
7941
|
}
|
|
@@ -7878,7 +7978,11 @@ export interface TranscriptionSettingsRequest {
|
|
|
7878
7978
|
| 'ko'
|
|
7879
7979
|
| 'ms'
|
|
7880
7980
|
| 'no'
|
|
7881
|
-
| 'uk'
|
|
7981
|
+
| 'uk'
|
|
7982
|
+
| 'bg'
|
|
7983
|
+
| 'et'
|
|
7984
|
+
| 'sl'
|
|
7985
|
+
| 'sk';
|
|
7882
7986
|
}
|
|
7883
7987
|
|
|
7884
7988
|
export interface TranscriptionSettingsResponse {
|
|
@@ -7917,7 +8021,11 @@ export interface TranscriptionSettingsResponse {
|
|
|
7917
8021
|
| 'ko'
|
|
7918
8022
|
| 'ms'
|
|
7919
8023
|
| 'no'
|
|
7920
|
-
| 'uk'
|
|
8024
|
+
| 'uk'
|
|
8025
|
+
| 'bg'
|
|
8026
|
+
| 'et'
|
|
8027
|
+
| 'sl'
|
|
8028
|
+
| 'sk';
|
|
7921
8029
|
|
|
7922
8030
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
7923
8031
|
}
|
|
@@ -8714,6 +8822,8 @@ export interface UpsertConfigRequest {
|
|
|
8714
8822
|
|
|
8715
8823
|
google_vision_config?: GoogleVisionConfig;
|
|
8716
8824
|
|
|
8825
|
+
rule_builder_config?: RuleBuilderConfig;
|
|
8826
|
+
|
|
8717
8827
|
user?: UserRequest;
|
|
8718
8828
|
|
|
8719
8829
|
velocity_filter_config?: VelocityFilterConfig;
|
|
@@ -8902,18 +9012,6 @@ export interface UserFlaggedEvent {
|
|
|
8902
9012
|
user?: User;
|
|
8903
9013
|
}
|
|
8904
9014
|
|
|
8905
|
-
export interface UserInfoResponse {
|
|
8906
|
-
id: string;
|
|
8907
|
-
|
|
8908
|
-
image: string;
|
|
8909
|
-
|
|
8910
|
-
name: string;
|
|
8911
|
-
|
|
8912
|
-
roles: string[];
|
|
8913
|
-
|
|
8914
|
-
custom: Record<string, any>;
|
|
8915
|
-
}
|
|
8916
|
-
|
|
8917
9015
|
export interface UserMute {
|
|
8918
9016
|
created_at: Date;
|
|
8919
9017
|
|
|
@@ -9110,126 +9208,6 @@ export interface UserResponsePrivacyFields {
|
|
|
9110
9208
|
teams_role?: Record<string, string>;
|
|
9111
9209
|
}
|
|
9112
9210
|
|
|
9113
|
-
export interface UserSessionStats {
|
|
9114
|
-
freeze_duration_seconds: number;
|
|
9115
|
-
|
|
9116
|
-
group: string;
|
|
9117
|
-
|
|
9118
|
-
max_freeze_fraction: number;
|
|
9119
|
-
|
|
9120
|
-
max_freezes_duration_seconds: number;
|
|
9121
|
-
|
|
9122
|
-
min_event_ts: number;
|
|
9123
|
-
|
|
9124
|
-
packet_loss_fraction: number;
|
|
9125
|
-
|
|
9126
|
-
publisher_packet_loss_fraction: number;
|
|
9127
|
-
|
|
9128
|
-
publishing_duration_seconds: number;
|
|
9129
|
-
|
|
9130
|
-
quality_score: number;
|
|
9131
|
-
|
|
9132
|
-
receiving_duration_seconds: number;
|
|
9133
|
-
|
|
9134
|
-
session_id: string;
|
|
9135
|
-
|
|
9136
|
-
total_pixels_in: number;
|
|
9137
|
-
|
|
9138
|
-
total_pixels_out: number;
|
|
9139
|
-
|
|
9140
|
-
average_connection_time?: number;
|
|
9141
|
-
|
|
9142
|
-
browser?: string;
|
|
9143
|
-
|
|
9144
|
-
browser_version?: string;
|
|
9145
|
-
|
|
9146
|
-
current_ip?: string;
|
|
9147
|
-
|
|
9148
|
-
current_sfu?: string;
|
|
9149
|
-
|
|
9150
|
-
device_model?: string;
|
|
9151
|
-
|
|
9152
|
-
device_version?: string;
|
|
9153
|
-
|
|
9154
|
-
distance_to_sfu_kilometers?: number;
|
|
9155
|
-
|
|
9156
|
-
max_fir_per_second?: number;
|
|
9157
|
-
|
|
9158
|
-
max_freezes_per_second?: number;
|
|
9159
|
-
|
|
9160
|
-
max_nack_per_second?: number;
|
|
9161
|
-
|
|
9162
|
-
max_pli_per_second?: number;
|
|
9163
|
-
|
|
9164
|
-
os?: string;
|
|
9165
|
-
|
|
9166
|
-
os_version?: string;
|
|
9167
|
-
|
|
9168
|
-
publisher_noise_cancellation_seconds?: number;
|
|
9169
|
-
|
|
9170
|
-
publisher_quality_limitation_fraction?: number;
|
|
9171
|
-
|
|
9172
|
-
publishing_audio_codec?: string;
|
|
9173
|
-
|
|
9174
|
-
publishing_video_codec?: string;
|
|
9175
|
-
|
|
9176
|
-
receiving_audio_codec?: string;
|
|
9177
|
-
|
|
9178
|
-
receiving_video_codec?: string;
|
|
9179
|
-
|
|
9180
|
-
sdk?: string;
|
|
9181
|
-
|
|
9182
|
-
sdk_version?: string;
|
|
9183
|
-
|
|
9184
|
-
subscriber_video_quality_throttled_duration_seconds?: number;
|
|
9185
|
-
|
|
9186
|
-
truncated?: boolean;
|
|
9187
|
-
|
|
9188
|
-
webrtc_version?: string;
|
|
9189
|
-
|
|
9190
|
-
published_tracks?: PublishedTrackInfo[];
|
|
9191
|
-
|
|
9192
|
-
subsessions?: Subsession[];
|
|
9193
|
-
|
|
9194
|
-
fps?: FPSStats;
|
|
9195
|
-
|
|
9196
|
-
geolocation?: GeolocationResult;
|
|
9197
|
-
|
|
9198
|
-
jitter?: TimeStats;
|
|
9199
|
-
|
|
9200
|
-
latency?: TimeStats;
|
|
9201
|
-
|
|
9202
|
-
max_publishing_video_quality?: VideoQuality;
|
|
9203
|
-
|
|
9204
|
-
max_receiving_video_quality?: VideoQuality;
|
|
9205
|
-
|
|
9206
|
-
pub_sub_hints?: MediaPubSubHint;
|
|
9207
|
-
|
|
9208
|
-
publisher_jitter?: TimeStats;
|
|
9209
|
-
|
|
9210
|
-
publisher_latency?: TimeStats;
|
|
9211
|
-
|
|
9212
|
-
publisher_video_quality_limitation_duration_seconds?: Record<string, number>;
|
|
9213
|
-
|
|
9214
|
-
subscriber_jitter?: TimeStats;
|
|
9215
|
-
|
|
9216
|
-
subscriber_latency?: TimeStats;
|
|
9217
|
-
|
|
9218
|
-
timeline?: CallTimeline;
|
|
9219
|
-
}
|
|
9220
|
-
|
|
9221
|
-
export interface UserStats {
|
|
9222
|
-
min_event_ts: number;
|
|
9223
|
-
|
|
9224
|
-
session_stats: UserSessionStats[];
|
|
9225
|
-
|
|
9226
|
-
info: UserInfoResponse;
|
|
9227
|
-
|
|
9228
|
-
feedback?: string;
|
|
9229
|
-
|
|
9230
|
-
rating?: number;
|
|
9231
|
-
}
|
|
9232
|
-
|
|
9233
9211
|
export interface UserUnbannedEvent {
|
|
9234
9212
|
channel_id: string;
|
|
9235
9213
|
|
|
@@ -9328,18 +9306,6 @@ export interface VelocityFilterConfigRule {
|
|
|
9328
9306
|
slow_spam_ban_duration?: number;
|
|
9329
9307
|
}
|
|
9330
9308
|
|
|
9331
|
-
export interface VideoDimension {
|
|
9332
|
-
height: number;
|
|
9333
|
-
|
|
9334
|
-
width: number;
|
|
9335
|
-
}
|
|
9336
|
-
|
|
9337
|
-
export interface VideoQuality {
|
|
9338
|
-
usage_type?: string;
|
|
9339
|
-
|
|
9340
|
-
resolution?: VideoDimension;
|
|
9341
|
-
}
|
|
9342
|
-
|
|
9343
9309
|
export interface VideoSettings {
|
|
9344
9310
|
access_request_enabled: boolean;
|
|
9345
9311
|
|