@stream-io/node-sdk 0.7.34 → 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 -8
- 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 -14
- 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';
|
|
@@ -332,7 +334,6 @@ export interface ActivityResponse {
|
|
|
332
334
|
expires_at?: Date;
|
|
333
335
|
is_watched?: boolean;
|
|
334
336
|
moderation_action?: string;
|
|
335
|
-
selector_source?: string;
|
|
336
337
|
text?: string;
|
|
337
338
|
visibility_tag?: string;
|
|
338
339
|
current_feed?: FeedResponse;
|
|
@@ -383,12 +384,14 @@ export interface ActivityUpdatedEvent {
|
|
|
383
384
|
export interface AddActivityRequest {
|
|
384
385
|
type: string;
|
|
385
386
|
feeds: string[];
|
|
387
|
+
create_notification_activity?: boolean;
|
|
386
388
|
expires_at?: string;
|
|
387
389
|
id?: string;
|
|
388
390
|
parent_id?: string;
|
|
389
391
|
poll_id?: string;
|
|
390
392
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
391
393
|
skip_enrich_url?: boolean;
|
|
394
|
+
skip_push?: boolean;
|
|
392
395
|
text?: string;
|
|
393
396
|
user_id?: string;
|
|
394
397
|
visibility?: 'public' | 'private' | 'tag';
|
|
@@ -405,6 +408,7 @@ export interface AddActivityRequest {
|
|
|
405
408
|
export interface AddActivityResponse {
|
|
406
409
|
duration: string;
|
|
407
410
|
activity: ActivityResponse;
|
|
411
|
+
mention_notifications_created?: number;
|
|
408
412
|
}
|
|
409
413
|
export interface AddBookmarkRequest {
|
|
410
414
|
folder_id?: string;
|
|
@@ -450,6 +454,7 @@ export interface AddCommentRequest {
|
|
|
450
454
|
export interface AddCommentResponse {
|
|
451
455
|
duration: string;
|
|
452
456
|
comment: CommentResponse;
|
|
457
|
+
mention_notifications_created?: number;
|
|
453
458
|
notification_created?: boolean;
|
|
454
459
|
}
|
|
455
460
|
export interface AddCommentsBatchRequest {
|
|
@@ -550,6 +555,52 @@ export interface AppResponseFields {
|
|
|
550
555
|
datadog_info?: DataDogInfo;
|
|
551
556
|
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
552
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
|
+
}
|
|
553
604
|
export interface AsyncBulkImageModerationEvent {
|
|
554
605
|
created_at: Date;
|
|
555
606
|
finished_at: Date;
|
|
@@ -1132,12 +1183,14 @@ export interface CallRecordingFailedEvent {
|
|
|
1132
1183
|
call_cid: string;
|
|
1133
1184
|
created_at: Date;
|
|
1134
1185
|
egress_id: string;
|
|
1186
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1135
1187
|
type: string;
|
|
1136
1188
|
}
|
|
1137
1189
|
export interface CallRecordingReadyEvent {
|
|
1138
1190
|
call_cid: string;
|
|
1139
1191
|
created_at: Date;
|
|
1140
1192
|
egress_id: string;
|
|
1193
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1141
1194
|
call_recording: CallRecording;
|
|
1142
1195
|
type: string;
|
|
1143
1196
|
}
|
|
@@ -1145,12 +1198,14 @@ export interface CallRecordingStartedEvent {
|
|
|
1145
1198
|
call_cid: string;
|
|
1146
1199
|
created_at: Date;
|
|
1147
1200
|
egress_id: string;
|
|
1201
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1148
1202
|
type: string;
|
|
1149
1203
|
}
|
|
1150
1204
|
export interface CallRecordingStoppedEvent {
|
|
1151
1205
|
call_cid: string;
|
|
1152
1206
|
created_at: Date;
|
|
1153
1207
|
egress_id: string;
|
|
1208
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
1154
1209
|
type: string;
|
|
1155
1210
|
}
|
|
1156
1211
|
export interface CallRejectedEvent {
|
|
@@ -1198,6 +1253,7 @@ export interface CallResponse {
|
|
|
1198
1253
|
channel_cid?: string;
|
|
1199
1254
|
ended_at?: Date;
|
|
1200
1255
|
join_ahead_time_seconds?: number;
|
|
1256
|
+
routing_number?: string;
|
|
1201
1257
|
starts_at?: Date;
|
|
1202
1258
|
team?: string;
|
|
1203
1259
|
session?: CallSessionResponse;
|
|
@@ -1289,8 +1345,10 @@ export interface CallSettings {
|
|
|
1289
1345
|
broadcasting?: BroadcastSettings;
|
|
1290
1346
|
frame_recording?: FrameRecordSettings;
|
|
1291
1347
|
geofencing?: GeofenceSettings;
|
|
1348
|
+
individual_recording?: IndividualRecordSettings;
|
|
1292
1349
|
ingress?: IngressSettings;
|
|
1293
1350
|
limits?: LimitsSettings;
|
|
1351
|
+
raw_recording?: RawRecordSettings;
|
|
1294
1352
|
recording?: RecordSettings;
|
|
1295
1353
|
ring?: RingSettings;
|
|
1296
1354
|
screensharing?: ScreensharingSettings;
|
|
@@ -1305,8 +1363,10 @@ export interface CallSettingsRequest {
|
|
|
1305
1363
|
broadcasting?: BroadcastSettingsRequest;
|
|
1306
1364
|
frame_recording?: FrameRecordingSettingsRequest;
|
|
1307
1365
|
geofencing?: GeofenceSettingsRequest;
|
|
1366
|
+
individual_recording?: IndividualRecordingSettingsRequest;
|
|
1308
1367
|
ingress?: IngressSettingsRequest;
|
|
1309
1368
|
limits?: LimitsSettingsRequest;
|
|
1369
|
+
raw_recording?: RawRecordingSettingsRequest;
|
|
1310
1370
|
recording?: RecordSettingsRequest;
|
|
1311
1371
|
ring?: RingSettingsRequest;
|
|
1312
1372
|
screensharing?: ScreensharingSettingsRequest;
|
|
@@ -1321,7 +1381,9 @@ export interface CallSettingsResponse {
|
|
|
1321
1381
|
broadcasting: BroadcastSettingsResponse;
|
|
1322
1382
|
frame_recording: FrameRecordingSettingsResponse;
|
|
1323
1383
|
geofencing: GeofenceSettingsResponse;
|
|
1384
|
+
individual_recording: IndividualRecordingSettingsResponse;
|
|
1324
1385
|
limits: LimitsSettingsResponse;
|
|
1386
|
+
raw_recording: RawRecordingSettingsResponse;
|
|
1325
1387
|
recording: RecordSettingsResponse;
|
|
1326
1388
|
ring: RingSettingsResponse;
|
|
1327
1389
|
screensharing: ScreensharingSettingsResponse;
|
|
@@ -1391,6 +1453,7 @@ export interface CallStatsParticipantCounts {
|
|
|
1391
1453
|
peak_concurrent_users: number;
|
|
1392
1454
|
publishers: number;
|
|
1393
1455
|
sessions: number;
|
|
1456
|
+
total_participant_duration?: number;
|
|
1394
1457
|
}
|
|
1395
1458
|
export interface CallStatsParticipantSession {
|
|
1396
1459
|
is_live: boolean;
|
|
@@ -1615,7 +1678,7 @@ export interface Channel {
|
|
|
1615
1678
|
members_lookup?: Record<string, ChannelMemberLookup>;
|
|
1616
1679
|
truncated_by?: User;
|
|
1617
1680
|
}
|
|
1618
|
-
export interface
|
|
1681
|
+
export interface ChannelBatchCompletedEvent {
|
|
1619
1682
|
batch_created_at: Date;
|
|
1620
1683
|
created_at: Date;
|
|
1621
1684
|
finished_at: Date;
|
|
@@ -1628,7 +1691,7 @@ export interface ChannelBatchUpdatedCompletedEvent {
|
|
|
1628
1691
|
type: string;
|
|
1629
1692
|
received_at?: Date;
|
|
1630
1693
|
}
|
|
1631
|
-
export interface
|
|
1694
|
+
export interface ChannelBatchStartedEvent {
|
|
1632
1695
|
batch_created_at: Date;
|
|
1633
1696
|
created_at: Date;
|
|
1634
1697
|
finished_at: Date;
|
|
@@ -2266,6 +2329,9 @@ export interface CommentUpdatedEvent {
|
|
|
2266
2329
|
}
|
|
2267
2330
|
export interface CommitMessageRequest {
|
|
2268
2331
|
}
|
|
2332
|
+
export interface CompositeRecordingResponse {
|
|
2333
|
+
status: string;
|
|
2334
|
+
}
|
|
2269
2335
|
export interface ConfigOverrides {
|
|
2270
2336
|
blocklist?: string;
|
|
2271
2337
|
blocklist_behavior?: 'flag' | 'block';
|
|
@@ -2509,6 +2575,22 @@ export interface CreateImportURLResponse {
|
|
|
2509
2575
|
path: string;
|
|
2510
2576
|
upload_url: string;
|
|
2511
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
|
+
}
|
|
2512
2594
|
export interface CreateMembershipLevelRequest {
|
|
2513
2595
|
id: string;
|
|
2514
2596
|
name: string;
|
|
@@ -2763,6 +2845,9 @@ export interface DeleteFeedsBatchResponse {
|
|
|
2763
2845
|
duration: string;
|
|
2764
2846
|
task_id: string;
|
|
2765
2847
|
}
|
|
2848
|
+
export interface DeleteImportV2TaskResponse {
|
|
2849
|
+
duration: string;
|
|
2850
|
+
}
|
|
2766
2851
|
export interface DeleteMessageRequest {
|
|
2767
2852
|
hard_delete?: boolean;
|
|
2768
2853
|
reason?: string;
|
|
@@ -2929,8 +3014,11 @@ export interface EgressRTMPResponse {
|
|
|
2929
3014
|
export interface EgressResponse {
|
|
2930
3015
|
broadcasting: boolean;
|
|
2931
3016
|
rtmps: EgressRTMPResponse[];
|
|
3017
|
+
composite_recording?: CompositeRecordingResponse;
|
|
2932
3018
|
frame_recording?: FrameRecordingResponse;
|
|
2933
3019
|
hls?: EgressHLSResponse;
|
|
3020
|
+
individual_recording?: IndividualRecordingResponse;
|
|
3021
|
+
raw_recording?: RawRecordingResponse;
|
|
2934
3022
|
}
|
|
2935
3023
|
export interface EndCallRequest {
|
|
2936
3024
|
}
|
|
@@ -3037,6 +3125,7 @@ export interface EventHook {
|
|
|
3037
3125
|
product?: string;
|
|
3038
3126
|
should_send_custom_events?: boolean;
|
|
3039
3127
|
sns_auth_type?: string;
|
|
3128
|
+
sns_event_based_message_group_id_enabled?: boolean;
|
|
3040
3129
|
sns_key?: string;
|
|
3041
3130
|
sns_region?: string;
|
|
3042
3131
|
sns_role_arn?: string;
|
|
@@ -3603,6 +3692,14 @@ export interface FullUserResponse {
|
|
|
3603
3692
|
privacy_settings?: PrivacySettingsResponse;
|
|
3604
3693
|
teams_role?: Record<string, string>;
|
|
3605
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
|
+
}
|
|
3606
3703
|
export interface GeofenceResponse {
|
|
3607
3704
|
name: string;
|
|
3608
3705
|
description?: string;
|
|
@@ -3629,6 +3726,10 @@ export interface GetActivityResponse {
|
|
|
3629
3726
|
duration: string;
|
|
3630
3727
|
activity: ActivityResponse;
|
|
3631
3728
|
}
|
|
3729
|
+
export interface GetAppealResponse {
|
|
3730
|
+
duration: string;
|
|
3731
|
+
item?: AppealItemResponse;
|
|
3732
|
+
}
|
|
3632
3733
|
export interface GetApplicationResponse {
|
|
3633
3734
|
duration: string;
|
|
3634
3735
|
app: AppResponseFields;
|
|
@@ -3790,6 +3891,16 @@ export interface GetImportResponse {
|
|
|
3790
3891
|
duration: string;
|
|
3791
3892
|
import_task?: ImportTask;
|
|
3792
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
|
+
}
|
|
3793
3904
|
export interface GetManyMessagesResponse {
|
|
3794
3905
|
duration: string;
|
|
3795
3906
|
messages: MessageResponse[];
|
|
@@ -3946,7 +4057,10 @@ export interface GetThreadResponse {
|
|
|
3946
4057
|
export interface GoLiveRequest {
|
|
3947
4058
|
recording_storage_name?: string;
|
|
3948
4059
|
start_closed_caption?: boolean;
|
|
4060
|
+
start_composite_recording?: boolean;
|
|
3949
4061
|
start_hls?: boolean;
|
|
4062
|
+
start_individual_recording?: boolean;
|
|
4063
|
+
start_raw_recording?: boolean;
|
|
3950
4064
|
start_recording?: boolean;
|
|
3951
4065
|
start_transcription?: boolean;
|
|
3952
4066
|
transcription_storage_name?: string;
|
|
@@ -4061,6 +4175,36 @@ export interface ImportTaskHistory {
|
|
|
4061
4175
|
next_state: string;
|
|
4062
4176
|
prev_state: string;
|
|
4063
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
|
+
}
|
|
4064
4208
|
export interface IngressAudioEncodingOptions {
|
|
4065
4209
|
bitrate: number;
|
|
4066
4210
|
channels: '1' | '2';
|
|
@@ -4076,6 +4220,15 @@ export interface IngressAudioEncodingResponse {
|
|
|
4076
4220
|
channels: number;
|
|
4077
4221
|
enable_dtx: boolean;
|
|
4078
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
|
+
}
|
|
4079
4232
|
export interface IngressSettings {
|
|
4080
4233
|
enabled: boolean;
|
|
4081
4234
|
audio_encoding_options?: IngressAudioEncodingOptions;
|
|
@@ -4106,6 +4259,24 @@ export interface IngressSourceResponse {
|
|
|
4106
4259
|
height: number;
|
|
4107
4260
|
width: number;
|
|
4108
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
|
+
}
|
|
4109
4280
|
export interface IngressVideoEncodingOptions {
|
|
4110
4281
|
layers: IngressVideoLayer[];
|
|
4111
4282
|
source?: IngressSource;
|
|
@@ -4262,6 +4433,12 @@ export interface ListFeedVisibilitiesResponse {
|
|
|
4262
4433
|
duration: string;
|
|
4263
4434
|
feed_visibilities: Record<string, FeedVisibilityResponse>;
|
|
4264
4435
|
}
|
|
4436
|
+
export interface ListImportV2TasksResponse {
|
|
4437
|
+
duration: string;
|
|
4438
|
+
import_tasks: ImportV2TaskItem[];
|
|
4439
|
+
next?: string;
|
|
4440
|
+
prev?: string;
|
|
4441
|
+
}
|
|
4265
4442
|
export interface ListImportsResponse {
|
|
4266
4443
|
duration: string;
|
|
4267
4444
|
import_tasks: ImportTask[];
|
|
@@ -4331,6 +4508,7 @@ export interface MarkReadResponse {
|
|
|
4331
4508
|
}
|
|
4332
4509
|
export interface MarkReviewedRequest {
|
|
4333
4510
|
content_to_mark_as_reviewed_limit?: number;
|
|
4511
|
+
decision_reason?: string;
|
|
4334
4512
|
disable_marking_content_as_reviewed?: boolean;
|
|
4335
4513
|
}
|
|
4336
4514
|
export interface MarkUnreadRequest {
|
|
@@ -5025,11 +5203,15 @@ export declare const OwnCapability: {
|
|
|
5025
5203
|
readonly START_BROADCAST_CALL: "start-broadcast-call";
|
|
5026
5204
|
readonly START_CLOSED_CAPTIONS_CALL: "start-closed-captions-call";
|
|
5027
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";
|
|
5028
5208
|
readonly START_RECORD_CALL: "start-record-call";
|
|
5029
5209
|
readonly START_TRANSCRIPTION_CALL: "start-transcription-call";
|
|
5030
5210
|
readonly STOP_BROADCAST_CALL: "stop-broadcast-call";
|
|
5031
5211
|
readonly STOP_CLOSED_CAPTIONS_CALL: "stop-closed-captions-call";
|
|
5032
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";
|
|
5033
5215
|
readonly STOP_RECORD_CALL: "stop-record-call";
|
|
5034
5216
|
readonly STOP_TRANSCRIPTION_CALL: "stop-transcription-call";
|
|
5035
5217
|
readonly UPDATE_CALL: "update-call";
|
|
@@ -5178,6 +5360,15 @@ export interface ParticipantSeriesUserStats {
|
|
|
5178
5360
|
metrics_meta?: Record<string, MetricDescriptor>;
|
|
5179
5361
|
thresholds?: Record<string, MetricThreshold[]>;
|
|
5180
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
|
+
}
|
|
5181
5372
|
export interface PendingMessageEvent {
|
|
5182
5373
|
created_at: Date;
|
|
5183
5374
|
method: string;
|
|
@@ -5566,6 +5757,21 @@ export interface QueryAggregateCallStatsResponse {
|
|
|
5566
5757
|
sdk_usage_report?: SDKUsageReportResponse;
|
|
5567
5758
|
user_feedback_report?: UserFeedbackReportResponse;
|
|
5568
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
|
+
}
|
|
5569
5775
|
export interface QueryBannedUsersPayload {
|
|
5570
5776
|
filter_conditions: Record<string, any>;
|
|
5571
5777
|
exclude_expired_bans?: boolean;
|
|
@@ -5620,6 +5826,18 @@ export interface QueryCallMembersResponse {
|
|
|
5620
5826
|
next?: string;
|
|
5621
5827
|
prev?: string;
|
|
5622
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
|
+
}
|
|
5623
5841
|
export interface QueryCallParticipantsRequest {
|
|
5624
5842
|
filter_conditions?: Record<string, any>;
|
|
5625
5843
|
}
|
|
@@ -5714,10 +5932,13 @@ export interface QueryChannelsRequest {
|
|
|
5714
5932
|
member_limit?: number;
|
|
5715
5933
|
message_limit?: number;
|
|
5716
5934
|
offset?: number;
|
|
5935
|
+
predefined_filter?: string;
|
|
5717
5936
|
state?: boolean;
|
|
5718
5937
|
user_id?: string;
|
|
5719
5938
|
sort?: SortParamRequest[];
|
|
5720
5939
|
filter_conditions?: Record<string, any>;
|
|
5940
|
+
filter_values?: Record<string, any>;
|
|
5941
|
+
sort_values?: Record<string, any>;
|
|
5721
5942
|
user?: UserRequest;
|
|
5722
5943
|
}
|
|
5723
5944
|
export interface QueryChannelsResponse {
|
|
@@ -5826,6 +6047,18 @@ export interface QueryFollowsResponse {
|
|
|
5826
6047
|
next?: string;
|
|
5827
6048
|
prev?: string;
|
|
5828
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
|
+
}
|
|
5829
6062
|
export interface QueryMembersPayload {
|
|
5830
6063
|
type: string;
|
|
5831
6064
|
filter_conditions: Record<string, any>;
|
|
@@ -6252,6 +6485,9 @@ export interface RecordSettingsResponse {
|
|
|
6252
6485
|
quality: string;
|
|
6253
6486
|
layout: LayoutSettingsResponse;
|
|
6254
6487
|
}
|
|
6488
|
+
export interface RejectAppealRequest {
|
|
6489
|
+
decision_reason: string;
|
|
6490
|
+
}
|
|
6255
6491
|
export interface RejectFeedMemberInviteRequest {
|
|
6256
6492
|
user_id?: string;
|
|
6257
6493
|
user?: UserRequest;
|
|
@@ -6345,6 +6581,7 @@ export interface ResolveSipInboundRequest {
|
|
|
6345
6581
|
sip_caller_number: string;
|
|
6346
6582
|
sip_trunk_number: string;
|
|
6347
6583
|
challenge: SIPChallenge;
|
|
6584
|
+
routing_number?: string;
|
|
6348
6585
|
sip_headers?: Record<string, string>;
|
|
6349
6586
|
}
|
|
6350
6587
|
export interface ResolveSipInboundResponse {
|
|
@@ -6357,6 +6594,7 @@ export interface Response {
|
|
|
6357
6594
|
duration: string;
|
|
6358
6595
|
}
|
|
6359
6596
|
export interface RestoreActionRequest {
|
|
6597
|
+
decision_reason?: string;
|
|
6360
6598
|
}
|
|
6361
6599
|
export interface RestoreUsersRequest {
|
|
6362
6600
|
user_ids: string[];
|
|
@@ -6393,6 +6631,7 @@ export interface ReviewQueueItemResponse {
|
|
|
6393
6631
|
reviewed_at?: Date;
|
|
6394
6632
|
teams?: string[];
|
|
6395
6633
|
activity?: EnrichedActivity;
|
|
6634
|
+
appeal?: AppealItemResponse;
|
|
6396
6635
|
assigned_to?: UserResponse;
|
|
6397
6636
|
call?: CallResponse;
|
|
6398
6637
|
entity_creator?: EntityCreatorResponse;
|
|
@@ -6460,6 +6699,8 @@ export interface RuleBuilderCondition {
|
|
|
6460
6699
|
user_created_within_params?: UserCreatedWithinParameters;
|
|
6461
6700
|
user_custom_property_params?: UserCustomPropertyParameters;
|
|
6462
6701
|
user_flag_count_rule_params?: FlagCountRuleParameters;
|
|
6702
|
+
user_identical_content_count_params?: UserIdenticalContentCountParameters;
|
|
6703
|
+
user_role_params?: UserRoleParameters;
|
|
6463
6704
|
user_rule_params?: UserRuleParameters;
|
|
6464
6705
|
video_content_params?: VideoContentParameters;
|
|
6465
6706
|
video_rule_params?: VideoRuleParameters;
|
|
@@ -6622,6 +6863,8 @@ export interface ScreensharingSettingsResponse {
|
|
|
6622
6863
|
}
|
|
6623
6864
|
export interface SearchPayload {
|
|
6624
6865
|
filter_conditions: Record<string, any>;
|
|
6866
|
+
force_default_search?: boolean;
|
|
6867
|
+
force_sql_v2_backend?: boolean;
|
|
6625
6868
|
limit?: number;
|
|
6626
6869
|
next?: string;
|
|
6627
6870
|
offset?: number;
|
|
@@ -6850,10 +7093,12 @@ export interface SipInboundCredentials {
|
|
|
6850
7093
|
export interface SortParam {
|
|
6851
7094
|
direction?: number;
|
|
6852
7095
|
field?: string;
|
|
7096
|
+
type?: string;
|
|
6853
7097
|
}
|
|
6854
7098
|
export interface SortParamRequest {
|
|
6855
7099
|
direction?: number;
|
|
6856
7100
|
field?: string;
|
|
7101
|
+
type?: '' | 'number' | 'boolean';
|
|
6857
7102
|
}
|
|
6858
7103
|
export interface SpeechSegmentConfig {
|
|
6859
7104
|
max_speech_caption_ms?: number;
|
|
@@ -6934,7 +7179,10 @@ export interface StopHLSBroadcastingResponse {
|
|
|
6934
7179
|
}
|
|
6935
7180
|
export interface StopLiveRequest {
|
|
6936
7181
|
continue_closed_caption?: boolean;
|
|
7182
|
+
continue_composite_recording?: boolean;
|
|
6937
7183
|
continue_hls?: boolean;
|
|
7184
|
+
continue_individual_recording?: boolean;
|
|
7185
|
+
continue_raw_recording?: boolean;
|
|
6938
7186
|
continue_recording?: boolean;
|
|
6939
7187
|
continue_rtmp_broadcasts?: boolean;
|
|
6940
7188
|
continue_transcription?: boolean;
|
|
@@ -6975,8 +7223,9 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
6975
7223
|
user?: UserResponseCommonFields;
|
|
6976
7224
|
}
|
|
6977
7225
|
export interface SubmitActionRequest {
|
|
6978
|
-
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';
|
|
6979
|
-
|
|
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;
|
|
6980
7229
|
user_id?: string;
|
|
6981
7230
|
ban?: BanActionRequest;
|
|
6982
7231
|
block?: BlockActionRequest;
|
|
@@ -6987,12 +7236,16 @@ export interface SubmitActionRequest {
|
|
|
6987
7236
|
delete_reaction?: DeleteReactionRequest;
|
|
6988
7237
|
delete_user?: DeleteUserRequest;
|
|
6989
7238
|
mark_reviewed?: MarkReviewedRequest;
|
|
7239
|
+
reject_appeal?: RejectAppealRequest;
|
|
7240
|
+
restore?: RestoreActionRequest;
|
|
6990
7241
|
shadow_block?: ShadowBlockActionRequest;
|
|
6991
7242
|
unban?: UnbanActionRequest;
|
|
7243
|
+
unblock?: UnblockActionRequest;
|
|
6992
7244
|
user?: UserRequest;
|
|
6993
7245
|
}
|
|
6994
7246
|
export interface SubmitActionResponse {
|
|
6995
7247
|
duration: string;
|
|
7248
|
+
appeal_item?: AppealItemResponse;
|
|
6996
7249
|
item?: ReviewQueueItemResponse;
|
|
6997
7250
|
}
|
|
6998
7251
|
export interface SubscriberAllMetrics {
|
|
@@ -7032,11 +7285,13 @@ export interface TextContentParameters {
|
|
|
7032
7285
|
}
|
|
7033
7286
|
export interface TextRuleParameters {
|
|
7034
7287
|
contains_url?: boolean;
|
|
7288
|
+
semantic_filter_min_threshold?: number;
|
|
7035
7289
|
severity?: string;
|
|
7036
7290
|
threshold?: number;
|
|
7037
7291
|
time_window?: string;
|
|
7038
7292
|
blocklist_match?: string[];
|
|
7039
7293
|
harm_labels?: string[];
|
|
7294
|
+
semantic_filter_names?: string[];
|
|
7040
7295
|
llm_harm_labels?: Record<string, string>;
|
|
7041
7296
|
}
|
|
7042
7297
|
export interface ThreadParticipant {
|
|
@@ -7199,6 +7454,7 @@ export interface TypingIndicatorsResponse {
|
|
|
7199
7454
|
enabled?: boolean;
|
|
7200
7455
|
}
|
|
7201
7456
|
export interface UnbanActionRequest {
|
|
7457
|
+
decision_reason?: string;
|
|
7202
7458
|
}
|
|
7203
7459
|
export interface UnbanRequest {
|
|
7204
7460
|
unbanned_by_id?: string;
|
|
@@ -7208,6 +7464,7 @@ export interface UnbanResponse {
|
|
|
7208
7464
|
duration: string;
|
|
7209
7465
|
}
|
|
7210
7466
|
export interface UnblockActionRequest {
|
|
7467
|
+
decision_reason?: string;
|
|
7211
7468
|
}
|
|
7212
7469
|
export interface UnblockUserRequest {
|
|
7213
7470
|
user_id: string;
|
|
@@ -7231,6 +7488,7 @@ export interface UnblockedUserEvent {
|
|
|
7231
7488
|
}
|
|
7232
7489
|
export interface UnfollowBatchRequest {
|
|
7233
7490
|
follows: FollowPair[];
|
|
7491
|
+
delete_notification_activity?: boolean;
|
|
7234
7492
|
}
|
|
7235
7493
|
export interface UnfollowBatchResponse {
|
|
7236
7494
|
duration: string;
|
|
@@ -7300,6 +7558,7 @@ export interface UnreadCountsThread {
|
|
|
7300
7558
|
unread_count: number;
|
|
7301
7559
|
}
|
|
7302
7560
|
export interface UpdateActivityPartialRequest {
|
|
7561
|
+
handle_mention_notifications?: boolean;
|
|
7303
7562
|
user_id?: string;
|
|
7304
7563
|
unset?: string[];
|
|
7305
7564
|
set?: Record<string, any>;
|
|
@@ -7311,12 +7570,14 @@ export interface UpdateActivityPartialResponse {
|
|
|
7311
7570
|
}
|
|
7312
7571
|
export interface UpdateActivityRequest {
|
|
7313
7572
|
expires_at?: Date;
|
|
7573
|
+
handle_mention_notifications?: boolean;
|
|
7314
7574
|
poll_id?: string;
|
|
7315
7575
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
7316
7576
|
skip_enrich_url?: boolean;
|
|
7317
7577
|
text?: string;
|
|
7318
7578
|
user_id?: string;
|
|
7319
|
-
visibility?:
|
|
7579
|
+
visibility?: 'public' | 'private' | 'tag';
|
|
7580
|
+
visibility_tag?: string;
|
|
7320
7581
|
attachments?: Attachment[];
|
|
7321
7582
|
collection_refs?: string[];
|
|
7322
7583
|
feeds?: string[];
|
|
@@ -7583,10 +7844,12 @@ export interface UpdateCommandResponse {
|
|
|
7583
7844
|
}
|
|
7584
7845
|
export interface UpdateCommentRequest {
|
|
7585
7846
|
comment?: string;
|
|
7847
|
+
handle_mention_notifications?: boolean;
|
|
7586
7848
|
skip_enrich_url?: boolean;
|
|
7587
7849
|
skip_push?: boolean;
|
|
7588
7850
|
user_id?: string;
|
|
7589
7851
|
attachments?: Attachment[];
|
|
7852
|
+
mentioned_user_ids?: string[];
|
|
7590
7853
|
custom?: Record<string, any>;
|
|
7591
7854
|
user?: UserRequest;
|
|
7592
7855
|
}
|
|
@@ -7853,6 +8116,7 @@ export interface UpsertActivitiesRequest {
|
|
|
7853
8116
|
export interface UpsertActivitiesResponse {
|
|
7854
8117
|
duration: string;
|
|
7855
8118
|
activities: ActivityResponse[];
|
|
8119
|
+
mention_notifications_created?: number;
|
|
7856
8120
|
}
|
|
7857
8121
|
export interface UpsertCollectionsRequest {
|
|
7858
8122
|
collections: CollectionRequest[];
|
|
@@ -8016,6 +8280,10 @@ export interface UserFlaggedEvent {
|
|
|
8016
8280
|
target_users?: string[];
|
|
8017
8281
|
user?: User;
|
|
8018
8282
|
}
|
|
8283
|
+
export interface UserIdenticalContentCountParameters {
|
|
8284
|
+
threshold?: number;
|
|
8285
|
+
time_window?: string;
|
|
8286
|
+
}
|
|
8019
8287
|
export interface UserMessagesDeletedEvent {
|
|
8020
8288
|
created_at: Date;
|
|
8021
8289
|
custom: Record<string, any>;
|
|
@@ -8141,6 +8409,10 @@ export interface UserResponsePrivacyFields {
|
|
|
8141
8409
|
privacy_settings?: PrivacySettingsResponse;
|
|
8142
8410
|
teams_role?: Record<string, string>;
|
|
8143
8411
|
}
|
|
8412
|
+
export interface UserRoleParameters {
|
|
8413
|
+
operator?: string;
|
|
8414
|
+
role?: string;
|
|
8415
|
+
}
|
|
8144
8416
|
export interface UserRuleParameters {
|
|
8145
8417
|
max_age?: string;
|
|
8146
8418
|
}
|
|
@@ -8285,6 +8557,12 @@ export type WebhookEvent = ({
|
|
|
8285
8557
|
} & AnyEvent) | ({
|
|
8286
8558
|
type: 'activity.marked';
|
|
8287
8559
|
} & ActivityMarkedEvent) | ({
|
|
8560
|
+
type: 'appeal.accepted';
|
|
8561
|
+
} & AppealAcceptedEvent) | ({
|
|
8562
|
+
type: 'appeal.created';
|
|
8563
|
+
} & AppealCreatedEvent) | ({
|
|
8564
|
+
type: 'appeal.rejected';
|
|
8565
|
+
} & AppealRejectedEvent) | ({
|
|
8288
8566
|
type: 'call.accepted';
|
|
8289
8567
|
} & CallAcceptedEvent) | ({
|
|
8290
8568
|
type: 'call.blocked_user';
|
|
@@ -8414,9 +8692,9 @@ export type WebhookEvent = ({
|
|
|
8414
8692
|
type: 'channel.visible';
|
|
8415
8693
|
} & ChannelVisibleEvent) | ({
|
|
8416
8694
|
type: 'channel_batch_update.completed';
|
|
8417
|
-
} &
|
|
8695
|
+
} & ChannelBatchCompletedEvent) | ({
|
|
8418
8696
|
type: 'channel_batch_update.started';
|
|
8419
|
-
} &
|
|
8697
|
+
} & ChannelBatchStartedEvent) | ({
|
|
8420
8698
|
type: 'custom';
|
|
8421
8699
|
} & CustomVideoEvent) | ({
|
|
8422
8700
|
type: 'export.bulk_image_moderation.error';
|
|
@@ -8507,6 +8785,12 @@ export type WebhookEvent = ({
|
|
|
8507
8785
|
} & StoriesFeedUpdatedEvent) | ({
|
|
8508
8786
|
type: 'flag.updated';
|
|
8509
8787
|
} & FlagUpdatedEvent) | ({
|
|
8788
|
+
type: 'ingress.error';
|
|
8789
|
+
} & IngressErrorEvent) | ({
|
|
8790
|
+
type: 'ingress.started';
|
|
8791
|
+
} & IngressStartedEvent) | ({
|
|
8792
|
+
type: 'ingress.stopped';
|
|
8793
|
+
} & IngressStoppedEvent) | ({
|
|
8510
8794
|
type: 'member.added';
|
|
8511
8795
|
} & MemberAddedEvent) | ({
|
|
8512
8796
|
type: 'member.removed';
|