@stream-io/node-sdk 0.7.33 → 0.7.35
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 +290 -26
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +290 -26
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +4 -1
- package/dist/src/gen/common/CommonApi.d.ts +11 -1
- package/dist/src/gen/feeds/FeedsApi.d.ts +6 -0
- package/dist/src/gen/models/index.d.ts +292 -7
- package/dist/src/gen/moderation/ModerationApi.d.ts +6 -1
- package/dist/src/gen/video/CallApi.d.ts +9 -2
- package/dist/src/gen/video/VideoApi.d.ts +12 -3
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +21 -0
- package/src/gen/common/CommonApi.ts +79 -0
- package/src/gen/feeds/FeedsApi.ts +24 -1
- package/src/gen/model-decoders/decoders.ts +162 -2
- package/src/gen/models/index.ts +493 -12
- package/src/gen/moderation/ModerationApi.ts +82 -0
- package/src/gen/video/CallApi.ts +24 -2
- package/src/gen/video/VideoApi.ts +89 -38
|
@@ -279,12 +279,14 @@ export interface ActivityRemovedFromFeedEvent {
|
|
|
279
279
|
export interface ActivityRequest {
|
|
280
280
|
type: string;
|
|
281
281
|
feeds: string[];
|
|
282
|
+
create_notification_activity?: boolean;
|
|
282
283
|
expires_at?: string;
|
|
283
284
|
id?: string;
|
|
284
285
|
parent_id?: string;
|
|
285
286
|
poll_id?: string;
|
|
286
287
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
287
288
|
skip_enrich_url?: boolean;
|
|
289
|
+
skip_push?: boolean;
|
|
288
290
|
text?: string;
|
|
289
291
|
user_id?: string;
|
|
290
292
|
visibility?: 'public' | 'private' | 'tag';
|
|
@@ -382,12 +384,14 @@ export interface ActivityUpdatedEvent {
|
|
|
382
384
|
export interface AddActivityRequest {
|
|
383
385
|
type: string;
|
|
384
386
|
feeds: string[];
|
|
387
|
+
create_notification_activity?: boolean;
|
|
385
388
|
expires_at?: string;
|
|
386
389
|
id?: string;
|
|
387
390
|
parent_id?: string;
|
|
388
391
|
poll_id?: string;
|
|
389
392
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
390
393
|
skip_enrich_url?: boolean;
|
|
394
|
+
skip_push?: boolean;
|
|
391
395
|
text?: string;
|
|
392
396
|
user_id?: string;
|
|
393
397
|
visibility?: 'public' | 'private' | 'tag';
|
|
@@ -404,6 +408,7 @@ export interface AddActivityRequest {
|
|
|
404
408
|
export interface AddActivityResponse {
|
|
405
409
|
duration: string;
|
|
406
410
|
activity: ActivityResponse;
|
|
411
|
+
mention_notifications_created?: number;
|
|
407
412
|
}
|
|
408
413
|
export interface AddBookmarkRequest {
|
|
409
414
|
folder_id?: string;
|
|
@@ -449,6 +454,7 @@ export interface AddCommentRequest {
|
|
|
449
454
|
export interface AddCommentResponse {
|
|
450
455
|
duration: string;
|
|
451
456
|
comment: CommentResponse;
|
|
457
|
+
mention_notifications_created?: number;
|
|
452
458
|
notification_created?: boolean;
|
|
453
459
|
}
|
|
454
460
|
export interface AddCommentsBatchRequest {
|
|
@@ -549,6 +555,52 @@ export interface AppResponseFields {
|
|
|
549
555
|
datadog_info?: DataDogInfo;
|
|
550
556
|
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
551
557
|
}
|
|
558
|
+
export interface AppealAcceptedEvent {
|
|
559
|
+
created_at: Date;
|
|
560
|
+
custom: Record<string, any>;
|
|
561
|
+
type: string;
|
|
562
|
+
received_at?: Date;
|
|
563
|
+
appeal?: AppealItemResponse;
|
|
564
|
+
}
|
|
565
|
+
export interface AppealCreatedEvent {
|
|
566
|
+
created_at: Date;
|
|
567
|
+
custom: Record<string, any>;
|
|
568
|
+
type: string;
|
|
569
|
+
received_at?: Date;
|
|
570
|
+
appeal?: AppealItemResponse;
|
|
571
|
+
}
|
|
572
|
+
export interface AppealItemResponse {
|
|
573
|
+
appeal_reason: string;
|
|
574
|
+
created_at: Date;
|
|
575
|
+
entity_id: string;
|
|
576
|
+
entity_type: string;
|
|
577
|
+
id: string;
|
|
578
|
+
status: string;
|
|
579
|
+
updated_at: Date;
|
|
580
|
+
decision_reason?: string;
|
|
581
|
+
attachments?: string[];
|
|
582
|
+
entity_content?: ModerationPayload;
|
|
583
|
+
user?: UserResponse;
|
|
584
|
+
}
|
|
585
|
+
export interface AppealRejectedEvent {
|
|
586
|
+
created_at: Date;
|
|
587
|
+
custom: Record<string, any>;
|
|
588
|
+
type: string;
|
|
589
|
+
received_at?: Date;
|
|
590
|
+
appeal?: AppealItemResponse;
|
|
591
|
+
}
|
|
592
|
+
export interface AppealRequest {
|
|
593
|
+
appeal_reason: string;
|
|
594
|
+
entity_id: string;
|
|
595
|
+
entity_type: string;
|
|
596
|
+
user_id?: string;
|
|
597
|
+
attachments?: string[];
|
|
598
|
+
user?: UserRequest;
|
|
599
|
+
}
|
|
600
|
+
export interface AppealResponse {
|
|
601
|
+
appeal_id: string;
|
|
602
|
+
duration: string;
|
|
603
|
+
}
|
|
552
604
|
export interface AsyncBulkImageModerationEvent {
|
|
553
605
|
created_at: Date;
|
|
554
606
|
finished_at: Date;
|
|
@@ -1131,12 +1183,14 @@ export interface CallRecordingFailedEvent {
|
|
|
1131
1183
|
call_cid: string;
|
|
1132
1184
|
created_at: Date;
|
|
1133
1185
|
egress_id: string;
|
|
1186
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1134
1187
|
type: string;
|
|
1135
1188
|
}
|
|
1136
1189
|
export interface CallRecordingReadyEvent {
|
|
1137
1190
|
call_cid: string;
|
|
1138
1191
|
created_at: Date;
|
|
1139
1192
|
egress_id: string;
|
|
1193
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1140
1194
|
call_recording: CallRecording;
|
|
1141
1195
|
type: string;
|
|
1142
1196
|
}
|
|
@@ -1144,12 +1198,14 @@ export interface CallRecordingStartedEvent {
|
|
|
1144
1198
|
call_cid: string;
|
|
1145
1199
|
created_at: Date;
|
|
1146
1200
|
egress_id: string;
|
|
1201
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1147
1202
|
type: string;
|
|
1148
1203
|
}
|
|
1149
1204
|
export interface CallRecordingStoppedEvent {
|
|
1150
1205
|
call_cid: string;
|
|
1151
1206
|
created_at: Date;
|
|
1152
1207
|
egress_id: string;
|
|
1208
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1153
1209
|
type: string;
|
|
1154
1210
|
}
|
|
1155
1211
|
export interface CallRejectedEvent {
|
|
@@ -1197,6 +1253,7 @@ export interface CallResponse {
|
|
|
1197
1253
|
channel_cid?: string;
|
|
1198
1254
|
ended_at?: Date;
|
|
1199
1255
|
join_ahead_time_seconds?: number;
|
|
1256
|
+
routing_number?: string;
|
|
1200
1257
|
starts_at?: Date;
|
|
1201
1258
|
team?: string;
|
|
1202
1259
|
session?: CallSessionResponse;
|
|
@@ -1288,8 +1345,10 @@ export interface CallSettings {
|
|
|
1288
1345
|
broadcasting?: BroadcastSettings;
|
|
1289
1346
|
frame_recording?: FrameRecordSettings;
|
|
1290
1347
|
geofencing?: GeofenceSettings;
|
|
1348
|
+
individual_recording?: IndividualRecordSettings;
|
|
1291
1349
|
ingress?: IngressSettings;
|
|
1292
1350
|
limits?: LimitsSettings;
|
|
1351
|
+
raw_recording?: RawRecordSettings;
|
|
1293
1352
|
recording?: RecordSettings;
|
|
1294
1353
|
ring?: RingSettings;
|
|
1295
1354
|
screensharing?: ScreensharingSettings;
|
|
@@ -1304,8 +1363,10 @@ export interface CallSettingsRequest {
|
|
|
1304
1363
|
broadcasting?: BroadcastSettingsRequest;
|
|
1305
1364
|
frame_recording?: FrameRecordingSettingsRequest;
|
|
1306
1365
|
geofencing?: GeofenceSettingsRequest;
|
|
1366
|
+
individual_recording?: IndividualRecordingSettingsRequest;
|
|
1307
1367
|
ingress?: IngressSettingsRequest;
|
|
1308
1368
|
limits?: LimitsSettingsRequest;
|
|
1369
|
+
raw_recording?: RawRecordingSettingsRequest;
|
|
1309
1370
|
recording?: RecordSettingsRequest;
|
|
1310
1371
|
ring?: RingSettingsRequest;
|
|
1311
1372
|
screensharing?: ScreensharingSettingsRequest;
|
|
@@ -1320,7 +1381,9 @@ export interface CallSettingsResponse {
|
|
|
1320
1381
|
broadcasting: BroadcastSettingsResponse;
|
|
1321
1382
|
frame_recording: FrameRecordingSettingsResponse;
|
|
1322
1383
|
geofencing: GeofenceSettingsResponse;
|
|
1384
|
+
individual_recording: IndividualRecordingSettingsResponse;
|
|
1323
1385
|
limits: LimitsSettingsResponse;
|
|
1386
|
+
raw_recording: RawRecordingSettingsResponse;
|
|
1324
1387
|
recording: RecordSettingsResponse;
|
|
1325
1388
|
ring: RingSettingsResponse;
|
|
1326
1389
|
screensharing: ScreensharingSettingsResponse;
|
|
@@ -1390,6 +1453,7 @@ export interface CallStatsParticipantCounts {
|
|
|
1390
1453
|
peak_concurrent_users: number;
|
|
1391
1454
|
publishers: number;
|
|
1392
1455
|
sessions: number;
|
|
1456
|
+
total_participant_duration?: number;
|
|
1393
1457
|
}
|
|
1394
1458
|
export interface CallStatsParticipantSession {
|
|
1395
1459
|
is_live: boolean;
|
|
@@ -1614,7 +1678,7 @@ export interface Channel {
|
|
|
1614
1678
|
members_lookup?: Record<string, ChannelMemberLookup>;
|
|
1615
1679
|
truncated_by?: User;
|
|
1616
1680
|
}
|
|
1617
|
-
export interface
|
|
1681
|
+
export interface ChannelBatchCompletedEvent {
|
|
1618
1682
|
batch_created_at: Date;
|
|
1619
1683
|
created_at: Date;
|
|
1620
1684
|
finished_at: Date;
|
|
@@ -1627,7 +1691,7 @@ export interface ChannelBatchUpdatedCompletedEvent {
|
|
|
1627
1691
|
type: string;
|
|
1628
1692
|
received_at?: Date;
|
|
1629
1693
|
}
|
|
1630
|
-
export interface
|
|
1694
|
+
export interface ChannelBatchStartedEvent {
|
|
1631
1695
|
batch_created_at: Date;
|
|
1632
1696
|
created_at: Date;
|
|
1633
1697
|
finished_at: Date;
|
|
@@ -2265,6 +2329,9 @@ export interface CommentUpdatedEvent {
|
|
|
2265
2329
|
}
|
|
2266
2330
|
export interface CommitMessageRequest {
|
|
2267
2331
|
}
|
|
2332
|
+
export interface CompositeRecordingResponse {
|
|
2333
|
+
status: string;
|
|
2334
|
+
}
|
|
2268
2335
|
export interface ConfigOverrides {
|
|
2269
2336
|
blocklist?: string;
|
|
2270
2337
|
blocklist_behavior?: 'flag' | 'block';
|
|
@@ -2508,6 +2575,22 @@ export interface CreateImportURLResponse {
|
|
|
2508
2575
|
path: string;
|
|
2509
2576
|
upload_url: string;
|
|
2510
2577
|
}
|
|
2578
|
+
export interface CreateImportV2TaskRequest {
|
|
2579
|
+
product: 'chat' | 'feeds';
|
|
2580
|
+
settings: ImportV2TaskSettings;
|
|
2581
|
+
user_id?: string;
|
|
2582
|
+
user?: UserRequest;
|
|
2583
|
+
}
|
|
2584
|
+
export interface CreateImportV2TaskResponse {
|
|
2585
|
+
app_pk: number;
|
|
2586
|
+
created_at: Date;
|
|
2587
|
+
duration: string;
|
|
2588
|
+
id: string;
|
|
2589
|
+
product: string;
|
|
2590
|
+
state: number;
|
|
2591
|
+
updated_at: Date;
|
|
2592
|
+
settings: ImportV2TaskSettings;
|
|
2593
|
+
}
|
|
2511
2594
|
export interface CreateMembershipLevelRequest {
|
|
2512
2595
|
id: string;
|
|
2513
2596
|
name: string;
|
|
@@ -2762,6 +2845,9 @@ export interface DeleteFeedsBatchResponse {
|
|
|
2762
2845
|
duration: string;
|
|
2763
2846
|
task_id: string;
|
|
2764
2847
|
}
|
|
2848
|
+
export interface DeleteImportV2TaskResponse {
|
|
2849
|
+
duration: string;
|
|
2850
|
+
}
|
|
2765
2851
|
export interface DeleteMessageRequest {
|
|
2766
2852
|
hard_delete?: boolean;
|
|
2767
2853
|
reason?: string;
|
|
@@ -2928,8 +3014,11 @@ export interface EgressRTMPResponse {
|
|
|
2928
3014
|
export interface EgressResponse {
|
|
2929
3015
|
broadcasting: boolean;
|
|
2930
3016
|
rtmps: EgressRTMPResponse[];
|
|
3017
|
+
composite_recording?: CompositeRecordingResponse;
|
|
2931
3018
|
frame_recording?: FrameRecordingResponse;
|
|
2932
3019
|
hls?: EgressHLSResponse;
|
|
3020
|
+
individual_recording?: IndividualRecordingResponse;
|
|
3021
|
+
raw_recording?: RawRecordingResponse;
|
|
2933
3022
|
}
|
|
2934
3023
|
export interface EndCallRequest {
|
|
2935
3024
|
}
|
|
@@ -3036,6 +3125,7 @@ export interface EventHook {
|
|
|
3036
3125
|
product?: string;
|
|
3037
3126
|
should_send_custom_events?: boolean;
|
|
3038
3127
|
sns_auth_type?: string;
|
|
3128
|
+
sns_event_based_message_group_id_enabled?: boolean;
|
|
3039
3129
|
sns_key?: string;
|
|
3040
3130
|
sns_region?: string;
|
|
3041
3131
|
sns_role_arn?: string;
|
|
@@ -3602,6 +3692,14 @@ export interface FullUserResponse {
|
|
|
3602
3692
|
privacy_settings?: PrivacySettingsResponse;
|
|
3603
3693
|
teams_role?: Record<string, string>;
|
|
3604
3694
|
}
|
|
3695
|
+
export interface FutureChannelBanResponse {
|
|
3696
|
+
created_at: Date;
|
|
3697
|
+
expires?: Date;
|
|
3698
|
+
reason?: string;
|
|
3699
|
+
shadow?: boolean;
|
|
3700
|
+
banned_by?: UserResponse;
|
|
3701
|
+
user?: UserResponse;
|
|
3702
|
+
}
|
|
3605
3703
|
export interface GeofenceResponse {
|
|
3606
3704
|
name: string;
|
|
3607
3705
|
description?: string;
|
|
@@ -3628,6 +3726,10 @@ export interface GetActivityResponse {
|
|
|
3628
3726
|
duration: string;
|
|
3629
3727
|
activity: ActivityResponse;
|
|
3630
3728
|
}
|
|
3729
|
+
export interface GetAppealResponse {
|
|
3730
|
+
duration: string;
|
|
3731
|
+
item?: AppealItemResponse;
|
|
3732
|
+
}
|
|
3631
3733
|
export interface GetApplicationResponse {
|
|
3632
3734
|
duration: string;
|
|
3633
3735
|
app: AppResponseFields;
|
|
@@ -3789,6 +3891,16 @@ export interface GetImportResponse {
|
|
|
3789
3891
|
duration: string;
|
|
3790
3892
|
import_task?: ImportTask;
|
|
3791
3893
|
}
|
|
3894
|
+
export interface GetImportV2TaskResponse {
|
|
3895
|
+
app_pk: number;
|
|
3896
|
+
created_at: Date;
|
|
3897
|
+
duration: string;
|
|
3898
|
+
id: string;
|
|
3899
|
+
product: string;
|
|
3900
|
+
state: number;
|
|
3901
|
+
updated_at: Date;
|
|
3902
|
+
settings: ImportV2TaskSettings;
|
|
3903
|
+
}
|
|
3792
3904
|
export interface GetManyMessagesResponse {
|
|
3793
3905
|
duration: string;
|
|
3794
3906
|
messages: MessageResponse[];
|
|
@@ -3945,7 +4057,10 @@ export interface GetThreadResponse {
|
|
|
3945
4057
|
export interface GoLiveRequest {
|
|
3946
4058
|
recording_storage_name?: string;
|
|
3947
4059
|
start_closed_caption?: boolean;
|
|
4060
|
+
start_composite_recording?: boolean;
|
|
3948
4061
|
start_hls?: boolean;
|
|
4062
|
+
start_individual_recording?: boolean;
|
|
4063
|
+
start_raw_recording?: boolean;
|
|
3949
4064
|
start_recording?: boolean;
|
|
3950
4065
|
start_transcription?: boolean;
|
|
3951
4066
|
transcription_storage_name?: string;
|
|
@@ -4060,6 +4175,36 @@ export interface ImportTaskHistory {
|
|
|
4060
4175
|
next_state: string;
|
|
4061
4176
|
prev_state: string;
|
|
4062
4177
|
}
|
|
4178
|
+
export interface ImportV2TaskItem {
|
|
4179
|
+
app_pk: number;
|
|
4180
|
+
created_at: Date;
|
|
4181
|
+
id: string;
|
|
4182
|
+
product: string;
|
|
4183
|
+
state: number;
|
|
4184
|
+
updated_at: Date;
|
|
4185
|
+
settings: ImportV2TaskSettings;
|
|
4186
|
+
}
|
|
4187
|
+
export interface ImportV2TaskSettings {
|
|
4188
|
+
skip_references_check?: boolean;
|
|
4189
|
+
s3?: ImportV2TaskSettingsS3;
|
|
4190
|
+
}
|
|
4191
|
+
export interface ImportV2TaskSettingsS3 {
|
|
4192
|
+
bucket?: string;
|
|
4193
|
+
dir?: string;
|
|
4194
|
+
region?: string;
|
|
4195
|
+
}
|
|
4196
|
+
export interface IndividualRecordSettings {
|
|
4197
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
4198
|
+
}
|
|
4199
|
+
export interface IndividualRecordingResponse {
|
|
4200
|
+
status: string;
|
|
4201
|
+
}
|
|
4202
|
+
export interface IndividualRecordingSettingsRequest {
|
|
4203
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
4204
|
+
}
|
|
4205
|
+
export interface IndividualRecordingSettingsResponse {
|
|
4206
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
4207
|
+
}
|
|
4063
4208
|
export interface IngressAudioEncodingOptions {
|
|
4064
4209
|
bitrate: number;
|
|
4065
4210
|
channels: '1' | '2';
|
|
@@ -4075,6 +4220,15 @@ export interface IngressAudioEncodingResponse {
|
|
|
4075
4220
|
channels: number;
|
|
4076
4221
|
enable_dtx: boolean;
|
|
4077
4222
|
}
|
|
4223
|
+
export interface IngressErrorEvent {
|
|
4224
|
+
call_cid: string;
|
|
4225
|
+
created_at: Date;
|
|
4226
|
+
error: string;
|
|
4227
|
+
ingress_stream_id: string;
|
|
4228
|
+
user_id: string;
|
|
4229
|
+
type: string;
|
|
4230
|
+
code?: string;
|
|
4231
|
+
}
|
|
4078
4232
|
export interface IngressSettings {
|
|
4079
4233
|
enabled: boolean;
|
|
4080
4234
|
audio_encoding_options?: IngressAudioEncodingOptions;
|
|
@@ -4105,6 +4259,24 @@ export interface IngressSourceResponse {
|
|
|
4105
4259
|
height: number;
|
|
4106
4260
|
width: number;
|
|
4107
4261
|
}
|
|
4262
|
+
export interface IngressStartedEvent {
|
|
4263
|
+
call_cid: string;
|
|
4264
|
+
created_at: Date;
|
|
4265
|
+
ingress_stream_id: string;
|
|
4266
|
+
publisher_type: string;
|
|
4267
|
+
user_id: string;
|
|
4268
|
+
type: string;
|
|
4269
|
+
client_ip?: string;
|
|
4270
|
+
client_name?: string;
|
|
4271
|
+
version?: string;
|
|
4272
|
+
}
|
|
4273
|
+
export interface IngressStoppedEvent {
|
|
4274
|
+
call_cid: string;
|
|
4275
|
+
created_at: Date;
|
|
4276
|
+
ingress_stream_id: string;
|
|
4277
|
+
user_id: string;
|
|
4278
|
+
type: string;
|
|
4279
|
+
}
|
|
4108
4280
|
export interface IngressVideoEncodingOptions {
|
|
4109
4281
|
layers: IngressVideoLayer[];
|
|
4110
4282
|
source?: IngressSource;
|
|
@@ -4261,6 +4433,12 @@ export interface ListFeedVisibilitiesResponse {
|
|
|
4261
4433
|
duration: string;
|
|
4262
4434
|
feed_visibilities: Record<string, FeedVisibilityResponse>;
|
|
4263
4435
|
}
|
|
4436
|
+
export interface ListImportV2TasksResponse {
|
|
4437
|
+
duration: string;
|
|
4438
|
+
import_tasks: ImportV2TaskItem[];
|
|
4439
|
+
next?: string;
|
|
4440
|
+
prev?: string;
|
|
4441
|
+
}
|
|
4264
4442
|
export interface ListImportsResponse {
|
|
4265
4443
|
duration: string;
|
|
4266
4444
|
import_tasks: ImportTask[];
|
|
@@ -4330,6 +4508,7 @@ export interface MarkReadResponse {
|
|
|
4330
4508
|
}
|
|
4331
4509
|
export interface MarkReviewedRequest {
|
|
4332
4510
|
content_to_mark_as_reviewed_limit?: number;
|
|
4511
|
+
decision_reason?: string;
|
|
4333
4512
|
disable_marking_content_as_reviewed?: boolean;
|
|
4334
4513
|
}
|
|
4335
4514
|
export interface MarkUnreadRequest {
|
|
@@ -5024,11 +5203,15 @@ export declare const OwnCapability: {
|
|
|
5024
5203
|
readonly START_BROADCAST_CALL: "start-broadcast-call";
|
|
5025
5204
|
readonly START_CLOSED_CAPTIONS_CALL: "start-closed-captions-call";
|
|
5026
5205
|
readonly START_FRAME_RECORD_CALL: "start-frame-record-call";
|
|
5206
|
+
readonly START_INDIVIDUAL_RECORD_CALL: "start-individual-record-call";
|
|
5207
|
+
readonly START_RAW_RECORD_CALL: "start-raw-record-call";
|
|
5027
5208
|
readonly START_RECORD_CALL: "start-record-call";
|
|
5028
5209
|
readonly START_TRANSCRIPTION_CALL: "start-transcription-call";
|
|
5029
5210
|
readonly STOP_BROADCAST_CALL: "stop-broadcast-call";
|
|
5030
5211
|
readonly STOP_CLOSED_CAPTIONS_CALL: "stop-closed-captions-call";
|
|
5031
5212
|
readonly STOP_FRAME_RECORD_CALL: "stop-frame-record-call";
|
|
5213
|
+
readonly STOP_INDIVIDUAL_RECORD_CALL: "stop-individual-record-call";
|
|
5214
|
+
readonly STOP_RAW_RECORD_CALL: "stop-raw-record-call";
|
|
5032
5215
|
readonly STOP_RECORD_CALL: "stop-record-call";
|
|
5033
5216
|
readonly STOP_TRANSCRIPTION_CALL: "stop-transcription-call";
|
|
5034
5217
|
readonly UPDATE_CALL: "update-call";
|
|
@@ -5177,6 +5360,15 @@ export interface ParticipantSeriesUserStats {
|
|
|
5177
5360
|
metrics_meta?: Record<string, MetricDescriptor>;
|
|
5178
5361
|
thresholds?: Record<string, MetricThreshold[]>;
|
|
5179
5362
|
}
|
|
5363
|
+
export interface ParticipantSessionDetails {
|
|
5364
|
+
publisher_type: string;
|
|
5365
|
+
user_id: string;
|
|
5366
|
+
user_session_id: string;
|
|
5367
|
+
roles: string[];
|
|
5368
|
+
duration_in_seconds?: number;
|
|
5369
|
+
joined_at?: Date;
|
|
5370
|
+
left_at?: Date;
|
|
5371
|
+
}
|
|
5180
5372
|
export interface PendingMessageEvent {
|
|
5181
5373
|
created_at: Date;
|
|
5182
5374
|
method: string;
|
|
@@ -5565,6 +5757,21 @@ export interface QueryAggregateCallStatsResponse {
|
|
|
5565
5757
|
sdk_usage_report?: SDKUsageReportResponse;
|
|
5566
5758
|
user_feedback_report?: UserFeedbackReportResponse;
|
|
5567
5759
|
}
|
|
5760
|
+
export interface QueryAppealsRequest {
|
|
5761
|
+
limit?: number;
|
|
5762
|
+
next?: string;
|
|
5763
|
+
prev?: string;
|
|
5764
|
+
user_id?: string;
|
|
5765
|
+
sort?: SortParamRequest[];
|
|
5766
|
+
filter?: Record<string, any>;
|
|
5767
|
+
user?: UserRequest;
|
|
5768
|
+
}
|
|
5769
|
+
export interface QueryAppealsResponse {
|
|
5770
|
+
duration: string;
|
|
5771
|
+
items: AppealItemResponse[];
|
|
5772
|
+
next?: string;
|
|
5773
|
+
prev?: string;
|
|
5774
|
+
}
|
|
5568
5775
|
export interface QueryBannedUsersPayload {
|
|
5569
5776
|
filter_conditions: Record<string, any>;
|
|
5570
5777
|
exclude_expired_bans?: boolean;
|
|
@@ -5619,6 +5826,18 @@ export interface QueryCallMembersResponse {
|
|
|
5619
5826
|
next?: string;
|
|
5620
5827
|
prev?: string;
|
|
5621
5828
|
}
|
|
5829
|
+
export interface QueryCallParticipantSessionsResponse {
|
|
5830
|
+
call_id: string;
|
|
5831
|
+
call_session_id: string;
|
|
5832
|
+
call_type: string;
|
|
5833
|
+
duration: number;
|
|
5834
|
+
total_participant_duration: number;
|
|
5835
|
+
total_participant_sessions: number;
|
|
5836
|
+
participants_sessions: ParticipantSessionDetails[];
|
|
5837
|
+
next?: string;
|
|
5838
|
+
prev?: string;
|
|
5839
|
+
session?: CallSessionResponse;
|
|
5840
|
+
}
|
|
5622
5841
|
export interface QueryCallParticipantsRequest {
|
|
5623
5842
|
filter_conditions?: Record<string, any>;
|
|
5624
5843
|
}
|
|
@@ -5713,10 +5932,13 @@ export interface QueryChannelsRequest {
|
|
|
5713
5932
|
member_limit?: number;
|
|
5714
5933
|
message_limit?: number;
|
|
5715
5934
|
offset?: number;
|
|
5935
|
+
predefined_filter?: string;
|
|
5716
5936
|
state?: boolean;
|
|
5717
5937
|
user_id?: string;
|
|
5718
5938
|
sort?: SortParamRequest[];
|
|
5719
5939
|
filter_conditions?: Record<string, any>;
|
|
5940
|
+
filter_values?: Record<string, any>;
|
|
5941
|
+
sort_values?: Record<string, any>;
|
|
5720
5942
|
user?: UserRequest;
|
|
5721
5943
|
}
|
|
5722
5944
|
export interface QueryChannelsResponse {
|
|
@@ -5825,6 +6047,18 @@ export interface QueryFollowsResponse {
|
|
|
5825
6047
|
next?: string;
|
|
5826
6048
|
prev?: string;
|
|
5827
6049
|
}
|
|
6050
|
+
export interface QueryFutureChannelBansPayload {
|
|
6051
|
+
exclude_expired_bans?: boolean;
|
|
6052
|
+
limit?: number;
|
|
6053
|
+
offset?: number;
|
|
6054
|
+
target_user_id?: string;
|
|
6055
|
+
user_id?: string;
|
|
6056
|
+
user?: UserRequest;
|
|
6057
|
+
}
|
|
6058
|
+
export interface QueryFutureChannelBansResponse {
|
|
6059
|
+
duration: string;
|
|
6060
|
+
bans: FutureChannelBanResponse[];
|
|
6061
|
+
}
|
|
5828
6062
|
export interface QueryMembersPayload {
|
|
5829
6063
|
type: string;
|
|
5830
6064
|
filter_conditions: Record<string, any>;
|
|
@@ -6251,6 +6485,9 @@ export interface RecordSettingsResponse {
|
|
|
6251
6485
|
quality: string;
|
|
6252
6486
|
layout: LayoutSettingsResponse;
|
|
6253
6487
|
}
|
|
6488
|
+
export interface RejectAppealRequest {
|
|
6489
|
+
decision_reason: string;
|
|
6490
|
+
}
|
|
6254
6491
|
export interface RejectFeedMemberInviteRequest {
|
|
6255
6492
|
user_id?: string;
|
|
6256
6493
|
user?: UserRequest;
|
|
@@ -6344,6 +6581,7 @@ export interface ResolveSipInboundRequest {
|
|
|
6344
6581
|
sip_caller_number: string;
|
|
6345
6582
|
sip_trunk_number: string;
|
|
6346
6583
|
challenge: SIPChallenge;
|
|
6584
|
+
routing_number?: string;
|
|
6347
6585
|
sip_headers?: Record<string, string>;
|
|
6348
6586
|
}
|
|
6349
6587
|
export interface ResolveSipInboundResponse {
|
|
@@ -6356,6 +6594,7 @@ export interface Response {
|
|
|
6356
6594
|
duration: string;
|
|
6357
6595
|
}
|
|
6358
6596
|
export interface RestoreActionRequest {
|
|
6597
|
+
decision_reason?: string;
|
|
6359
6598
|
}
|
|
6360
6599
|
export interface RestoreUsersRequest {
|
|
6361
6600
|
user_ids: string[];
|
|
@@ -6392,6 +6631,7 @@ export interface ReviewQueueItemResponse {
|
|
|
6392
6631
|
reviewed_at?: Date;
|
|
6393
6632
|
teams?: string[];
|
|
6394
6633
|
activity?: EnrichedActivity;
|
|
6634
|
+
appeal?: AppealItemResponse;
|
|
6395
6635
|
assigned_to?: UserResponse;
|
|
6396
6636
|
call?: CallResponse;
|
|
6397
6637
|
entity_creator?: EntityCreatorResponse;
|
|
@@ -6459,6 +6699,8 @@ export interface RuleBuilderCondition {
|
|
|
6459
6699
|
user_created_within_params?: UserCreatedWithinParameters;
|
|
6460
6700
|
user_custom_property_params?: UserCustomPropertyParameters;
|
|
6461
6701
|
user_flag_count_rule_params?: FlagCountRuleParameters;
|
|
6702
|
+
user_identical_content_count_params?: UserIdenticalContentCountParameters;
|
|
6703
|
+
user_role_params?: UserRoleParameters;
|
|
6462
6704
|
user_rule_params?: UserRuleParameters;
|
|
6463
6705
|
video_content_params?: VideoContentParameters;
|
|
6464
6706
|
video_rule_params?: VideoRuleParameters;
|
|
@@ -6621,6 +6863,8 @@ export interface ScreensharingSettingsResponse {
|
|
|
6621
6863
|
}
|
|
6622
6864
|
export interface SearchPayload {
|
|
6623
6865
|
filter_conditions: Record<string, any>;
|
|
6866
|
+
force_default_search?: boolean;
|
|
6867
|
+
force_sql_v2_backend?: boolean;
|
|
6624
6868
|
limit?: number;
|
|
6625
6869
|
next?: string;
|
|
6626
6870
|
offset?: number;
|
|
@@ -6849,10 +7093,12 @@ export interface SipInboundCredentials {
|
|
|
6849
7093
|
export interface SortParam {
|
|
6850
7094
|
direction?: number;
|
|
6851
7095
|
field?: string;
|
|
7096
|
+
type?: string;
|
|
6852
7097
|
}
|
|
6853
7098
|
export interface SortParamRequest {
|
|
6854
7099
|
direction?: number;
|
|
6855
7100
|
field?: string;
|
|
7101
|
+
type?: '' | 'number' | 'boolean';
|
|
6856
7102
|
}
|
|
6857
7103
|
export interface SpeechSegmentConfig {
|
|
6858
7104
|
max_speech_caption_ms?: number;
|
|
@@ -6933,7 +7179,10 @@ export interface StopHLSBroadcastingResponse {
|
|
|
6933
7179
|
}
|
|
6934
7180
|
export interface StopLiveRequest {
|
|
6935
7181
|
continue_closed_caption?: boolean;
|
|
7182
|
+
continue_composite_recording?: boolean;
|
|
6936
7183
|
continue_hls?: boolean;
|
|
7184
|
+
continue_individual_recording?: boolean;
|
|
7185
|
+
continue_raw_recording?: boolean;
|
|
6937
7186
|
continue_recording?: boolean;
|
|
6938
7187
|
continue_rtmp_broadcasts?: boolean;
|
|
6939
7188
|
continue_transcription?: boolean;
|
|
@@ -6974,8 +7223,9 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
6974
7223
|
user?: UserResponseCommonFields;
|
|
6975
7224
|
}
|
|
6976
7225
|
export interface SubmitActionRequest {
|
|
6977
|
-
action_type: 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_comment' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'block' | 'shadow_block' | 'unmask' | 'kick_user' | 'end_call';
|
|
6978
|
-
|
|
7226
|
+
action_type: 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_comment' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'block' | 'shadow_block' | 'unmask' | 'kick_user' | 'end_call' | 'reject_appeal';
|
|
7227
|
+
appeal_id?: string;
|
|
7228
|
+
item_id?: string;
|
|
6979
7229
|
user_id?: string;
|
|
6980
7230
|
ban?: BanActionRequest;
|
|
6981
7231
|
block?: BlockActionRequest;
|
|
@@ -6986,12 +7236,16 @@ export interface SubmitActionRequest {
|
|
|
6986
7236
|
delete_reaction?: DeleteReactionRequest;
|
|
6987
7237
|
delete_user?: DeleteUserRequest;
|
|
6988
7238
|
mark_reviewed?: MarkReviewedRequest;
|
|
7239
|
+
reject_appeal?: RejectAppealRequest;
|
|
7240
|
+
restore?: RestoreActionRequest;
|
|
6989
7241
|
shadow_block?: ShadowBlockActionRequest;
|
|
6990
7242
|
unban?: UnbanActionRequest;
|
|
7243
|
+
unblock?: UnblockActionRequest;
|
|
6991
7244
|
user?: UserRequest;
|
|
6992
7245
|
}
|
|
6993
7246
|
export interface SubmitActionResponse {
|
|
6994
7247
|
duration: string;
|
|
7248
|
+
appeal_item?: AppealItemResponse;
|
|
6995
7249
|
item?: ReviewQueueItemResponse;
|
|
6996
7250
|
}
|
|
6997
7251
|
export interface SubscriberAllMetrics {
|
|
@@ -7031,11 +7285,13 @@ export interface TextContentParameters {
|
|
|
7031
7285
|
}
|
|
7032
7286
|
export interface TextRuleParameters {
|
|
7033
7287
|
contains_url?: boolean;
|
|
7288
|
+
semantic_filter_min_threshold?: number;
|
|
7034
7289
|
severity?: string;
|
|
7035
7290
|
threshold?: number;
|
|
7036
7291
|
time_window?: string;
|
|
7037
7292
|
blocklist_match?: string[];
|
|
7038
7293
|
harm_labels?: string[];
|
|
7294
|
+
semantic_filter_names?: string[];
|
|
7039
7295
|
llm_harm_labels?: Record<string, string>;
|
|
7040
7296
|
}
|
|
7041
7297
|
export interface ThreadParticipant {
|
|
@@ -7198,6 +7454,7 @@ export interface TypingIndicatorsResponse {
|
|
|
7198
7454
|
enabled?: boolean;
|
|
7199
7455
|
}
|
|
7200
7456
|
export interface UnbanActionRequest {
|
|
7457
|
+
decision_reason?: string;
|
|
7201
7458
|
}
|
|
7202
7459
|
export interface UnbanRequest {
|
|
7203
7460
|
unbanned_by_id?: string;
|
|
@@ -7207,6 +7464,7 @@ export interface UnbanResponse {
|
|
|
7207
7464
|
duration: string;
|
|
7208
7465
|
}
|
|
7209
7466
|
export interface UnblockActionRequest {
|
|
7467
|
+
decision_reason?: string;
|
|
7210
7468
|
}
|
|
7211
7469
|
export interface UnblockUserRequest {
|
|
7212
7470
|
user_id: string;
|
|
@@ -7230,6 +7488,7 @@ export interface UnblockedUserEvent {
|
|
|
7230
7488
|
}
|
|
7231
7489
|
export interface UnfollowBatchRequest {
|
|
7232
7490
|
follows: FollowPair[];
|
|
7491
|
+
delete_notification_activity?: boolean;
|
|
7233
7492
|
}
|
|
7234
7493
|
export interface UnfollowBatchResponse {
|
|
7235
7494
|
duration: string;
|
|
@@ -7299,6 +7558,7 @@ export interface UnreadCountsThread {
|
|
|
7299
7558
|
unread_count: number;
|
|
7300
7559
|
}
|
|
7301
7560
|
export interface UpdateActivityPartialRequest {
|
|
7561
|
+
handle_mention_notifications?: boolean;
|
|
7302
7562
|
user_id?: string;
|
|
7303
7563
|
unset?: string[];
|
|
7304
7564
|
set?: Record<string, any>;
|
|
@@ -7310,12 +7570,14 @@ export interface UpdateActivityPartialResponse {
|
|
|
7310
7570
|
}
|
|
7311
7571
|
export interface UpdateActivityRequest {
|
|
7312
7572
|
expires_at?: Date;
|
|
7573
|
+
handle_mention_notifications?: boolean;
|
|
7313
7574
|
poll_id?: string;
|
|
7314
7575
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
7315
7576
|
skip_enrich_url?: boolean;
|
|
7316
7577
|
text?: string;
|
|
7317
7578
|
user_id?: string;
|
|
7318
|
-
visibility?:
|
|
7579
|
+
visibility?: 'public' | 'private' | 'tag';
|
|
7580
|
+
visibility_tag?: string;
|
|
7319
7581
|
attachments?: Attachment[];
|
|
7320
7582
|
collection_refs?: string[];
|
|
7321
7583
|
feeds?: string[];
|
|
@@ -7582,10 +7844,12 @@ export interface UpdateCommandResponse {
|
|
|
7582
7844
|
}
|
|
7583
7845
|
export interface UpdateCommentRequest {
|
|
7584
7846
|
comment?: string;
|
|
7847
|
+
handle_mention_notifications?: boolean;
|
|
7585
7848
|
skip_enrich_url?: boolean;
|
|
7586
7849
|
skip_push?: boolean;
|
|
7587
7850
|
user_id?: string;
|
|
7588
7851
|
attachments?: Attachment[];
|
|
7852
|
+
mentioned_user_ids?: string[];
|
|
7589
7853
|
custom?: Record<string, any>;
|
|
7590
7854
|
user?: UserRequest;
|
|
7591
7855
|
}
|
|
@@ -7852,6 +8116,7 @@ export interface UpsertActivitiesRequest {
|
|
|
7852
8116
|
export interface UpsertActivitiesResponse {
|
|
7853
8117
|
duration: string;
|
|
7854
8118
|
activities: ActivityResponse[];
|
|
8119
|
+
mention_notifications_created?: number;
|
|
7855
8120
|
}
|
|
7856
8121
|
export interface UpsertCollectionsRequest {
|
|
7857
8122
|
collections: CollectionRequest[];
|
|
@@ -8015,6 +8280,10 @@ export interface UserFlaggedEvent {
|
|
|
8015
8280
|
target_users?: string[];
|
|
8016
8281
|
user?: User;
|
|
8017
8282
|
}
|
|
8283
|
+
export interface UserIdenticalContentCountParameters {
|
|
8284
|
+
threshold?: number;
|
|
8285
|
+
time_window?: string;
|
|
8286
|
+
}
|
|
8018
8287
|
export interface UserMessagesDeletedEvent {
|
|
8019
8288
|
created_at: Date;
|
|
8020
8289
|
custom: Record<string, any>;
|
|
@@ -8140,6 +8409,10 @@ export interface UserResponsePrivacyFields {
|
|
|
8140
8409
|
privacy_settings?: PrivacySettingsResponse;
|
|
8141
8410
|
teams_role?: Record<string, string>;
|
|
8142
8411
|
}
|
|
8412
|
+
export interface UserRoleParameters {
|
|
8413
|
+
operator?: string;
|
|
8414
|
+
role?: string;
|
|
8415
|
+
}
|
|
8143
8416
|
export interface UserRuleParameters {
|
|
8144
8417
|
max_age?: string;
|
|
8145
8418
|
}
|
|
@@ -8284,6 +8557,12 @@ export type WebhookEvent = ({
|
|
|
8284
8557
|
} & AnyEvent) | ({
|
|
8285
8558
|
type: 'activity.marked';
|
|
8286
8559
|
} & ActivityMarkedEvent) | ({
|
|
8560
|
+
type: 'appeal.accepted';
|
|
8561
|
+
} & AppealAcceptedEvent) | ({
|
|
8562
|
+
type: 'appeal.created';
|
|
8563
|
+
} & AppealCreatedEvent) | ({
|
|
8564
|
+
type: 'appeal.rejected';
|
|
8565
|
+
} & AppealRejectedEvent) | ({
|
|
8287
8566
|
type: 'call.accepted';
|
|
8288
8567
|
} & CallAcceptedEvent) | ({
|
|
8289
8568
|
type: 'call.blocked_user';
|
|
@@ -8413,9 +8692,9 @@ export type WebhookEvent = ({
|
|
|
8413
8692
|
type: 'channel.visible';
|
|
8414
8693
|
} & ChannelVisibleEvent) | ({
|
|
8415
8694
|
type: 'channel_batch_update.completed';
|
|
8416
|
-
} &
|
|
8695
|
+
} & ChannelBatchCompletedEvent) | ({
|
|
8417
8696
|
type: 'channel_batch_update.started';
|
|
8418
|
-
} &
|
|
8697
|
+
} & ChannelBatchStartedEvent) | ({
|
|
8419
8698
|
type: 'custom';
|
|
8420
8699
|
} & CustomVideoEvent) | ({
|
|
8421
8700
|
type: 'export.bulk_image_moderation.error';
|
|
@@ -8506,6 +8785,12 @@ export type WebhookEvent = ({
|
|
|
8506
8785
|
} & StoriesFeedUpdatedEvent) | ({
|
|
8507
8786
|
type: 'flag.updated';
|
|
8508
8787
|
} & FlagUpdatedEvent) | ({
|
|
8788
|
+
type: 'ingress.error';
|
|
8789
|
+
} & IngressErrorEvent) | ({
|
|
8790
|
+
type: 'ingress.started';
|
|
8791
|
+
} & IngressStartedEvent) | ({
|
|
8792
|
+
type: 'ingress.stopped';
|
|
8793
|
+
} & IngressStoppedEvent) | ({
|
|
8509
8794
|
type: 'member.added';
|
|
8510
8795
|
} & MemberAddedEvent) | ({
|
|
8511
8796
|
type: 'member.removed';
|