@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
package/src/gen/models/index.ts
CHANGED
|
@@ -491,6 +491,8 @@ export interface ActivityRequest {
|
|
|
491
491
|
|
|
492
492
|
feeds: string[];
|
|
493
493
|
|
|
494
|
+
create_notification_activity?: boolean;
|
|
495
|
+
|
|
494
496
|
expires_at?: string;
|
|
495
497
|
|
|
496
498
|
id?: string;
|
|
@@ -503,6 +505,8 @@ export interface ActivityRequest {
|
|
|
503
505
|
|
|
504
506
|
skip_enrich_url?: boolean;
|
|
505
507
|
|
|
508
|
+
skip_push?: boolean;
|
|
509
|
+
|
|
506
510
|
text?: string;
|
|
507
511
|
|
|
508
512
|
user_id?: string;
|
|
@@ -692,6 +696,8 @@ export interface AddActivityRequest {
|
|
|
692
696
|
|
|
693
697
|
feeds: string[];
|
|
694
698
|
|
|
699
|
+
create_notification_activity?: boolean;
|
|
700
|
+
|
|
695
701
|
expires_at?: string;
|
|
696
702
|
|
|
697
703
|
id?: string;
|
|
@@ -704,6 +710,8 @@ export interface AddActivityRequest {
|
|
|
704
710
|
|
|
705
711
|
skip_enrich_url?: boolean;
|
|
706
712
|
|
|
713
|
+
skip_push?: boolean;
|
|
714
|
+
|
|
707
715
|
text?: string;
|
|
708
716
|
|
|
709
717
|
user_id?: string;
|
|
@@ -733,6 +741,8 @@ export interface AddActivityResponse {
|
|
|
733
741
|
duration: string;
|
|
734
742
|
|
|
735
743
|
activity: ActivityResponse;
|
|
744
|
+
|
|
745
|
+
mention_notifications_created?: number;
|
|
736
746
|
}
|
|
737
747
|
|
|
738
748
|
export interface AddBookmarkRequest {
|
|
@@ -812,6 +822,8 @@ export interface AddCommentResponse {
|
|
|
812
822
|
|
|
813
823
|
comment: CommentResponse;
|
|
814
824
|
|
|
825
|
+
mention_notifications_created?: number;
|
|
826
|
+
|
|
815
827
|
notification_created?: boolean;
|
|
816
828
|
}
|
|
817
829
|
|
|
@@ -993,6 +1005,86 @@ export interface AppResponseFields {
|
|
|
993
1005
|
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
994
1006
|
}
|
|
995
1007
|
|
|
1008
|
+
export interface AppealAcceptedEvent {
|
|
1009
|
+
created_at: Date;
|
|
1010
|
+
|
|
1011
|
+
custom: Record<string, any>;
|
|
1012
|
+
|
|
1013
|
+
type: string;
|
|
1014
|
+
|
|
1015
|
+
received_at?: Date;
|
|
1016
|
+
|
|
1017
|
+
appeal?: AppealItemResponse;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
export interface AppealCreatedEvent {
|
|
1021
|
+
created_at: Date;
|
|
1022
|
+
|
|
1023
|
+
custom: Record<string, any>;
|
|
1024
|
+
|
|
1025
|
+
type: string;
|
|
1026
|
+
|
|
1027
|
+
received_at?: Date;
|
|
1028
|
+
|
|
1029
|
+
appeal?: AppealItemResponse;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
export interface AppealItemResponse {
|
|
1033
|
+
appeal_reason: string;
|
|
1034
|
+
|
|
1035
|
+
created_at: Date;
|
|
1036
|
+
|
|
1037
|
+
entity_id: string;
|
|
1038
|
+
|
|
1039
|
+
entity_type: string;
|
|
1040
|
+
|
|
1041
|
+
id: string;
|
|
1042
|
+
|
|
1043
|
+
status: string;
|
|
1044
|
+
|
|
1045
|
+
updated_at: Date;
|
|
1046
|
+
|
|
1047
|
+
decision_reason?: string;
|
|
1048
|
+
|
|
1049
|
+
attachments?: string[];
|
|
1050
|
+
|
|
1051
|
+
entity_content?: ModerationPayload;
|
|
1052
|
+
|
|
1053
|
+
user?: UserResponse;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
export interface AppealRejectedEvent {
|
|
1057
|
+
created_at: Date;
|
|
1058
|
+
|
|
1059
|
+
custom: Record<string, any>;
|
|
1060
|
+
|
|
1061
|
+
type: string;
|
|
1062
|
+
|
|
1063
|
+
received_at?: Date;
|
|
1064
|
+
|
|
1065
|
+
appeal?: AppealItemResponse;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
export interface AppealRequest {
|
|
1069
|
+
appeal_reason: string;
|
|
1070
|
+
|
|
1071
|
+
entity_id: string;
|
|
1072
|
+
|
|
1073
|
+
entity_type: string;
|
|
1074
|
+
|
|
1075
|
+
user_id?: string;
|
|
1076
|
+
|
|
1077
|
+
attachments?: string[];
|
|
1078
|
+
|
|
1079
|
+
user?: UserRequest;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
export interface AppealResponse {
|
|
1083
|
+
appeal_id: string;
|
|
1084
|
+
|
|
1085
|
+
duration: string;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
996
1088
|
export interface AsyncBulkImageModerationEvent {
|
|
997
1089
|
created_at: Date;
|
|
998
1090
|
|
|
@@ -2007,6 +2099,8 @@ export interface CallRecordingFailedEvent {
|
|
|
2007
2099
|
|
|
2008
2100
|
egress_id: string;
|
|
2009
2101
|
|
|
2102
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
2103
|
+
|
|
2010
2104
|
type: string;
|
|
2011
2105
|
}
|
|
2012
2106
|
|
|
@@ -2017,6 +2111,8 @@ export interface CallRecordingReadyEvent {
|
|
|
2017
2111
|
|
|
2018
2112
|
egress_id: string;
|
|
2019
2113
|
|
|
2114
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
2115
|
+
|
|
2020
2116
|
call_recording: CallRecording;
|
|
2021
2117
|
|
|
2022
2118
|
type: string;
|
|
@@ -2029,6 +2125,8 @@ export interface CallRecordingStartedEvent {
|
|
|
2029
2125
|
|
|
2030
2126
|
egress_id: string;
|
|
2031
2127
|
|
|
2128
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
2129
|
+
|
|
2032
2130
|
type: string;
|
|
2033
2131
|
}
|
|
2034
2132
|
|
|
@@ -2039,6 +2137,8 @@ export interface CallRecordingStoppedEvent {
|
|
|
2039
2137
|
|
|
2040
2138
|
egress_id: string;
|
|
2041
2139
|
|
|
2140
|
+
recording_type: 'composite' | 'individual' | 'raw';
|
|
2141
|
+
|
|
2042
2142
|
type: string;
|
|
2043
2143
|
}
|
|
2044
2144
|
|
|
@@ -2125,6 +2225,8 @@ export interface CallResponse {
|
|
|
2125
2225
|
|
|
2126
2226
|
join_ahead_time_seconds?: number;
|
|
2127
2227
|
|
|
2228
|
+
routing_number?: string;
|
|
2229
|
+
|
|
2128
2230
|
starts_at?: Date;
|
|
2129
2231
|
|
|
2130
2232
|
team?: string;
|
|
@@ -2285,10 +2387,14 @@ export interface CallSettings {
|
|
|
2285
2387
|
|
|
2286
2388
|
geofencing?: GeofenceSettings;
|
|
2287
2389
|
|
|
2390
|
+
individual_recording?: IndividualRecordSettings;
|
|
2391
|
+
|
|
2288
2392
|
ingress?: IngressSettings;
|
|
2289
2393
|
|
|
2290
2394
|
limits?: LimitsSettings;
|
|
2291
2395
|
|
|
2396
|
+
raw_recording?: RawRecordSettings;
|
|
2397
|
+
|
|
2292
2398
|
recording?: RecordSettings;
|
|
2293
2399
|
|
|
2294
2400
|
ring?: RingSettings;
|
|
@@ -2315,10 +2421,14 @@ export interface CallSettingsRequest {
|
|
|
2315
2421
|
|
|
2316
2422
|
geofencing?: GeofenceSettingsRequest;
|
|
2317
2423
|
|
|
2424
|
+
individual_recording?: IndividualRecordingSettingsRequest;
|
|
2425
|
+
|
|
2318
2426
|
ingress?: IngressSettingsRequest;
|
|
2319
2427
|
|
|
2320
2428
|
limits?: LimitsSettingsRequest;
|
|
2321
2429
|
|
|
2430
|
+
raw_recording?: RawRecordingSettingsRequest;
|
|
2431
|
+
|
|
2322
2432
|
recording?: RecordSettingsRequest;
|
|
2323
2433
|
|
|
2324
2434
|
ring?: RingSettingsRequest;
|
|
@@ -2345,8 +2455,12 @@ export interface CallSettingsResponse {
|
|
|
2345
2455
|
|
|
2346
2456
|
geofencing: GeofenceSettingsResponse;
|
|
2347
2457
|
|
|
2458
|
+
individual_recording: IndividualRecordingSettingsResponse;
|
|
2459
|
+
|
|
2348
2460
|
limits: LimitsSettingsResponse;
|
|
2349
2461
|
|
|
2462
|
+
raw_recording: RawRecordingSettingsResponse;
|
|
2463
|
+
|
|
2350
2464
|
recording: RecordSettingsResponse;
|
|
2351
2465
|
|
|
2352
2466
|
ring: RingSettingsResponse;
|
|
@@ -2464,6 +2578,8 @@ export interface CallStatsParticipantCounts {
|
|
|
2464
2578
|
publishers: number;
|
|
2465
2579
|
|
|
2466
2580
|
sessions: number;
|
|
2581
|
+
|
|
2582
|
+
total_participant_duration?: number;
|
|
2467
2583
|
}
|
|
2468
2584
|
|
|
2469
2585
|
export interface CallStatsParticipantSession {
|
|
@@ -2864,7 +2980,7 @@ export interface Channel {
|
|
|
2864
2980
|
truncated_by?: User;
|
|
2865
2981
|
}
|
|
2866
2982
|
|
|
2867
|
-
export interface
|
|
2983
|
+
export interface ChannelBatchCompletedEvent {
|
|
2868
2984
|
batch_created_at: Date;
|
|
2869
2985
|
|
|
2870
2986
|
created_at: Date;
|
|
@@ -2888,7 +3004,7 @@ export interface ChannelBatchUpdatedCompletedEvent {
|
|
|
2888
3004
|
received_at?: Date;
|
|
2889
3005
|
}
|
|
2890
3006
|
|
|
2891
|
-
export interface
|
|
3007
|
+
export interface ChannelBatchStartedEvent {
|
|
2892
3008
|
batch_created_at: Date;
|
|
2893
3009
|
|
|
2894
3010
|
created_at: Date;
|
|
@@ -4025,6 +4141,10 @@ export interface CommentUpdatedEvent {
|
|
|
4025
4141
|
|
|
4026
4142
|
export interface CommitMessageRequest {}
|
|
4027
4143
|
|
|
4144
|
+
export interface CompositeRecordingResponse {
|
|
4145
|
+
status: string;
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4028
4148
|
export interface ConfigOverrides {
|
|
4029
4149
|
blocklist?: string;
|
|
4030
4150
|
|
|
@@ -4462,6 +4582,34 @@ export interface CreateImportURLResponse {
|
|
|
4462
4582
|
upload_url: string;
|
|
4463
4583
|
}
|
|
4464
4584
|
|
|
4585
|
+
export interface CreateImportV2TaskRequest {
|
|
4586
|
+
product: 'chat' | 'feeds';
|
|
4587
|
+
|
|
4588
|
+
settings: ImportV2TaskSettings;
|
|
4589
|
+
|
|
4590
|
+
user_id?: string;
|
|
4591
|
+
|
|
4592
|
+
user?: UserRequest;
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
export interface CreateImportV2TaskResponse {
|
|
4596
|
+
app_pk: number;
|
|
4597
|
+
|
|
4598
|
+
created_at: Date;
|
|
4599
|
+
|
|
4600
|
+
duration: string;
|
|
4601
|
+
|
|
4602
|
+
id: string;
|
|
4603
|
+
|
|
4604
|
+
product: string;
|
|
4605
|
+
|
|
4606
|
+
state: number;
|
|
4607
|
+
|
|
4608
|
+
updated_at: Date;
|
|
4609
|
+
|
|
4610
|
+
settings: ImportV2TaskSettings;
|
|
4611
|
+
}
|
|
4612
|
+
|
|
4465
4613
|
export interface CreateMembershipLevelRequest {
|
|
4466
4614
|
id: string;
|
|
4467
4615
|
|
|
@@ -4860,6 +5008,10 @@ export interface DeleteFeedsBatchResponse {
|
|
|
4860
5008
|
task_id: string;
|
|
4861
5009
|
}
|
|
4862
5010
|
|
|
5011
|
+
export interface DeleteImportV2TaskResponse {
|
|
5012
|
+
duration: string;
|
|
5013
|
+
}
|
|
5014
|
+
|
|
4863
5015
|
export interface DeleteMessageRequest {
|
|
4864
5016
|
hard_delete?: boolean;
|
|
4865
5017
|
|
|
@@ -5133,9 +5285,15 @@ export interface EgressResponse {
|
|
|
5133
5285
|
|
|
5134
5286
|
rtmps: EgressRTMPResponse[];
|
|
5135
5287
|
|
|
5288
|
+
composite_recording?: CompositeRecordingResponse;
|
|
5289
|
+
|
|
5136
5290
|
frame_recording?: FrameRecordingResponse;
|
|
5137
5291
|
|
|
5138
5292
|
hls?: EgressHLSResponse;
|
|
5293
|
+
|
|
5294
|
+
individual_recording?: IndividualRecordingResponse;
|
|
5295
|
+
|
|
5296
|
+
raw_recording?: RawRecordingResponse;
|
|
5139
5297
|
}
|
|
5140
5298
|
|
|
5141
5299
|
export interface EndCallRequest {}
|
|
@@ -5331,6 +5489,8 @@ export interface EventHook {
|
|
|
5331
5489
|
|
|
5332
5490
|
sns_auth_type?: string;
|
|
5333
5491
|
|
|
5492
|
+
sns_event_based_message_group_id_enabled?: boolean;
|
|
5493
|
+
|
|
5334
5494
|
sns_key?: string;
|
|
5335
5495
|
|
|
5336
5496
|
sns_region?: string;
|
|
@@ -6304,6 +6464,20 @@ export interface FullUserResponse {
|
|
|
6304
6464
|
teams_role?: Record<string, string>;
|
|
6305
6465
|
}
|
|
6306
6466
|
|
|
6467
|
+
export interface FutureChannelBanResponse {
|
|
6468
|
+
created_at: Date;
|
|
6469
|
+
|
|
6470
|
+
expires?: Date;
|
|
6471
|
+
|
|
6472
|
+
reason?: string;
|
|
6473
|
+
|
|
6474
|
+
shadow?: boolean;
|
|
6475
|
+
|
|
6476
|
+
banned_by?: UserResponse;
|
|
6477
|
+
|
|
6478
|
+
user?: UserResponse;
|
|
6479
|
+
}
|
|
6480
|
+
|
|
6307
6481
|
export interface GeofenceResponse {
|
|
6308
6482
|
name: string;
|
|
6309
6483
|
|
|
@@ -6344,6 +6518,12 @@ export interface GetActivityResponse {
|
|
|
6344
6518
|
activity: ActivityResponse;
|
|
6345
6519
|
}
|
|
6346
6520
|
|
|
6521
|
+
export interface GetAppealResponse {
|
|
6522
|
+
duration: string;
|
|
6523
|
+
|
|
6524
|
+
item?: AppealItemResponse;
|
|
6525
|
+
}
|
|
6526
|
+
|
|
6347
6527
|
export interface GetApplicationResponse {
|
|
6348
6528
|
duration: string;
|
|
6349
6529
|
|
|
@@ -6620,6 +6800,24 @@ export interface GetImportResponse {
|
|
|
6620
6800
|
import_task?: ImportTask;
|
|
6621
6801
|
}
|
|
6622
6802
|
|
|
6803
|
+
export interface GetImportV2TaskResponse {
|
|
6804
|
+
app_pk: number;
|
|
6805
|
+
|
|
6806
|
+
created_at: Date;
|
|
6807
|
+
|
|
6808
|
+
duration: string;
|
|
6809
|
+
|
|
6810
|
+
id: string;
|
|
6811
|
+
|
|
6812
|
+
product: string;
|
|
6813
|
+
|
|
6814
|
+
state: number;
|
|
6815
|
+
|
|
6816
|
+
updated_at: Date;
|
|
6817
|
+
|
|
6818
|
+
settings: ImportV2TaskSettings;
|
|
6819
|
+
}
|
|
6820
|
+
|
|
6623
6821
|
export interface GetManyMessagesResponse {
|
|
6624
6822
|
duration: string;
|
|
6625
6823
|
|
|
@@ -6896,8 +7094,14 @@ export interface GoLiveRequest {
|
|
|
6896
7094
|
|
|
6897
7095
|
start_closed_caption?: boolean;
|
|
6898
7096
|
|
|
7097
|
+
start_composite_recording?: boolean;
|
|
7098
|
+
|
|
6899
7099
|
start_hls?: boolean;
|
|
6900
7100
|
|
|
7101
|
+
start_individual_recording?: boolean;
|
|
7102
|
+
|
|
7103
|
+
start_raw_recording?: boolean;
|
|
7104
|
+
|
|
6901
7105
|
start_recording?: boolean;
|
|
6902
7106
|
|
|
6903
7107
|
start_transcription?: boolean;
|
|
@@ -7085,6 +7289,52 @@ export interface ImportTaskHistory {
|
|
|
7085
7289
|
prev_state: string;
|
|
7086
7290
|
}
|
|
7087
7291
|
|
|
7292
|
+
export interface ImportV2TaskItem {
|
|
7293
|
+
app_pk: number;
|
|
7294
|
+
|
|
7295
|
+
created_at: Date;
|
|
7296
|
+
|
|
7297
|
+
id: string;
|
|
7298
|
+
|
|
7299
|
+
product: string;
|
|
7300
|
+
|
|
7301
|
+
state: number;
|
|
7302
|
+
|
|
7303
|
+
updated_at: Date;
|
|
7304
|
+
|
|
7305
|
+
settings: ImportV2TaskSettings;
|
|
7306
|
+
}
|
|
7307
|
+
|
|
7308
|
+
export interface ImportV2TaskSettings {
|
|
7309
|
+
skip_references_check?: boolean;
|
|
7310
|
+
|
|
7311
|
+
s3?: ImportV2TaskSettingsS3;
|
|
7312
|
+
}
|
|
7313
|
+
|
|
7314
|
+
export interface ImportV2TaskSettingsS3 {
|
|
7315
|
+
bucket?: string;
|
|
7316
|
+
|
|
7317
|
+
dir?: string;
|
|
7318
|
+
|
|
7319
|
+
region?: string;
|
|
7320
|
+
}
|
|
7321
|
+
|
|
7322
|
+
export interface IndividualRecordSettings {
|
|
7323
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
7324
|
+
}
|
|
7325
|
+
|
|
7326
|
+
export interface IndividualRecordingResponse {
|
|
7327
|
+
status: string;
|
|
7328
|
+
}
|
|
7329
|
+
|
|
7330
|
+
export interface IndividualRecordingSettingsRequest {
|
|
7331
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
7332
|
+
}
|
|
7333
|
+
|
|
7334
|
+
export interface IndividualRecordingSettingsResponse {
|
|
7335
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
7336
|
+
}
|
|
7337
|
+
|
|
7088
7338
|
export interface IngressAudioEncodingOptions {
|
|
7089
7339
|
bitrate: number;
|
|
7090
7340
|
|
|
@@ -7109,6 +7359,22 @@ export interface IngressAudioEncodingResponse {
|
|
|
7109
7359
|
enable_dtx: boolean;
|
|
7110
7360
|
}
|
|
7111
7361
|
|
|
7362
|
+
export interface IngressErrorEvent {
|
|
7363
|
+
call_cid: string;
|
|
7364
|
+
|
|
7365
|
+
created_at: Date;
|
|
7366
|
+
|
|
7367
|
+
error: string;
|
|
7368
|
+
|
|
7369
|
+
ingress_stream_id: string;
|
|
7370
|
+
|
|
7371
|
+
user_id: string;
|
|
7372
|
+
|
|
7373
|
+
type: string;
|
|
7374
|
+
|
|
7375
|
+
code?: string;
|
|
7376
|
+
}
|
|
7377
|
+
|
|
7112
7378
|
export interface IngressSettings {
|
|
7113
7379
|
enabled: boolean;
|
|
7114
7380
|
|
|
@@ -7157,6 +7423,38 @@ export interface IngressSourceResponse {
|
|
|
7157
7423
|
width: number;
|
|
7158
7424
|
}
|
|
7159
7425
|
|
|
7426
|
+
export interface IngressStartedEvent {
|
|
7427
|
+
call_cid: string;
|
|
7428
|
+
|
|
7429
|
+
created_at: Date;
|
|
7430
|
+
|
|
7431
|
+
ingress_stream_id: string;
|
|
7432
|
+
|
|
7433
|
+
publisher_type: string;
|
|
7434
|
+
|
|
7435
|
+
user_id: string;
|
|
7436
|
+
|
|
7437
|
+
type: string;
|
|
7438
|
+
|
|
7439
|
+
client_ip?: string;
|
|
7440
|
+
|
|
7441
|
+
client_name?: string;
|
|
7442
|
+
|
|
7443
|
+
version?: string;
|
|
7444
|
+
}
|
|
7445
|
+
|
|
7446
|
+
export interface IngressStoppedEvent {
|
|
7447
|
+
call_cid: string;
|
|
7448
|
+
|
|
7449
|
+
created_at: Date;
|
|
7450
|
+
|
|
7451
|
+
ingress_stream_id: string;
|
|
7452
|
+
|
|
7453
|
+
user_id: string;
|
|
7454
|
+
|
|
7455
|
+
type: string;
|
|
7456
|
+
}
|
|
7457
|
+
|
|
7160
7458
|
export interface IngressVideoEncodingOptions {
|
|
7161
7459
|
layers: IngressVideoLayer[];
|
|
7162
7460
|
|
|
@@ -7416,6 +7714,16 @@ export interface ListFeedVisibilitiesResponse {
|
|
|
7416
7714
|
feed_visibilities: Record<string, FeedVisibilityResponse>;
|
|
7417
7715
|
}
|
|
7418
7716
|
|
|
7717
|
+
export interface ListImportV2TasksResponse {
|
|
7718
|
+
duration: string;
|
|
7719
|
+
|
|
7720
|
+
import_tasks: ImportV2TaskItem[];
|
|
7721
|
+
|
|
7722
|
+
next?: string;
|
|
7723
|
+
|
|
7724
|
+
prev?: string;
|
|
7725
|
+
}
|
|
7726
|
+
|
|
7419
7727
|
export interface ListImportsResponse {
|
|
7420
7728
|
duration: string;
|
|
7421
7729
|
|
|
@@ -7523,6 +7831,8 @@ export interface MarkReadResponse {
|
|
|
7523
7831
|
export interface MarkReviewedRequest {
|
|
7524
7832
|
content_to_mark_as_reviewed_limit?: number;
|
|
7525
7833
|
|
|
7834
|
+
decision_reason?: string;
|
|
7835
|
+
|
|
7526
7836
|
disable_marking_content_as_reviewed?: boolean;
|
|
7527
7837
|
}
|
|
7528
7838
|
|
|
@@ -8764,11 +9074,15 @@ export const OwnCapability = {
|
|
|
8764
9074
|
START_BROADCAST_CALL: 'start-broadcast-call',
|
|
8765
9075
|
START_CLOSED_CAPTIONS_CALL: 'start-closed-captions-call',
|
|
8766
9076
|
START_FRAME_RECORD_CALL: 'start-frame-record-call',
|
|
9077
|
+
START_INDIVIDUAL_RECORD_CALL: 'start-individual-record-call',
|
|
9078
|
+
START_RAW_RECORD_CALL: 'start-raw-record-call',
|
|
8767
9079
|
START_RECORD_CALL: 'start-record-call',
|
|
8768
9080
|
START_TRANSCRIPTION_CALL: 'start-transcription-call',
|
|
8769
9081
|
STOP_BROADCAST_CALL: 'stop-broadcast-call',
|
|
8770
9082
|
STOP_CLOSED_CAPTIONS_CALL: 'stop-closed-captions-call',
|
|
8771
9083
|
STOP_FRAME_RECORD_CALL: 'stop-frame-record-call',
|
|
9084
|
+
STOP_INDIVIDUAL_RECORD_CALL: 'stop-individual-record-call',
|
|
9085
|
+
STOP_RAW_RECORD_CALL: 'stop-raw-record-call',
|
|
8772
9086
|
STOP_RECORD_CALL: 'stop-record-call',
|
|
8773
9087
|
STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
|
|
8774
9088
|
UPDATE_CALL: 'update-call',
|
|
@@ -9032,6 +9346,22 @@ export interface ParticipantSeriesUserStats {
|
|
|
9032
9346
|
thresholds?: Record<string, MetricThreshold[]>;
|
|
9033
9347
|
}
|
|
9034
9348
|
|
|
9349
|
+
export interface ParticipantSessionDetails {
|
|
9350
|
+
publisher_type: string;
|
|
9351
|
+
|
|
9352
|
+
user_id: string;
|
|
9353
|
+
|
|
9354
|
+
user_session_id: string;
|
|
9355
|
+
|
|
9356
|
+
roles: string[];
|
|
9357
|
+
|
|
9358
|
+
duration_in_seconds?: number;
|
|
9359
|
+
|
|
9360
|
+
joined_at?: Date;
|
|
9361
|
+
|
|
9362
|
+
left_at?: Date;
|
|
9363
|
+
}
|
|
9364
|
+
|
|
9035
9365
|
export interface PendingMessageEvent {
|
|
9036
9366
|
created_at: Date;
|
|
9037
9367
|
|
|
@@ -9718,6 +10048,32 @@ export interface QueryAggregateCallStatsResponse {
|
|
|
9718
10048
|
user_feedback_report?: UserFeedbackReportResponse;
|
|
9719
10049
|
}
|
|
9720
10050
|
|
|
10051
|
+
export interface QueryAppealsRequest {
|
|
10052
|
+
limit?: number;
|
|
10053
|
+
|
|
10054
|
+
next?: string;
|
|
10055
|
+
|
|
10056
|
+
prev?: string;
|
|
10057
|
+
|
|
10058
|
+
user_id?: string;
|
|
10059
|
+
|
|
10060
|
+
sort?: SortParamRequest[];
|
|
10061
|
+
|
|
10062
|
+
filter?: Record<string, any>;
|
|
10063
|
+
|
|
10064
|
+
user?: UserRequest;
|
|
10065
|
+
}
|
|
10066
|
+
|
|
10067
|
+
export interface QueryAppealsResponse {
|
|
10068
|
+
duration: string;
|
|
10069
|
+
|
|
10070
|
+
items: AppealItemResponse[];
|
|
10071
|
+
|
|
10072
|
+
next?: string;
|
|
10073
|
+
|
|
10074
|
+
prev?: string;
|
|
10075
|
+
}
|
|
10076
|
+
|
|
9721
10077
|
export interface QueryBannedUsersPayload {
|
|
9722
10078
|
filter_conditions: Record<string, any>;
|
|
9723
10079
|
|
|
@@ -9810,6 +10166,28 @@ export interface QueryCallMembersResponse {
|
|
|
9810
10166
|
prev?: string;
|
|
9811
10167
|
}
|
|
9812
10168
|
|
|
10169
|
+
export interface QueryCallParticipantSessionsResponse {
|
|
10170
|
+
call_id: string;
|
|
10171
|
+
|
|
10172
|
+
call_session_id: string;
|
|
10173
|
+
|
|
10174
|
+
call_type: string;
|
|
10175
|
+
|
|
10176
|
+
duration: number;
|
|
10177
|
+
|
|
10178
|
+
total_participant_duration: number;
|
|
10179
|
+
|
|
10180
|
+
total_participant_sessions: number;
|
|
10181
|
+
|
|
10182
|
+
participants_sessions: ParticipantSessionDetails[];
|
|
10183
|
+
|
|
10184
|
+
next?: string;
|
|
10185
|
+
|
|
10186
|
+
prev?: string;
|
|
10187
|
+
|
|
10188
|
+
session?: CallSessionResponse;
|
|
10189
|
+
}
|
|
10190
|
+
|
|
9813
10191
|
export interface QueryCallParticipantsRequest {
|
|
9814
10192
|
filter_conditions?: Record<string, any>;
|
|
9815
10193
|
}
|
|
@@ -9975,6 +10353,8 @@ export interface QueryChannelsRequest {
|
|
|
9975
10353
|
|
|
9976
10354
|
offset?: number;
|
|
9977
10355
|
|
|
10356
|
+
predefined_filter?: string;
|
|
10357
|
+
|
|
9978
10358
|
state?: boolean;
|
|
9979
10359
|
|
|
9980
10360
|
user_id?: string;
|
|
@@ -9983,6 +10363,10 @@ export interface QueryChannelsRequest {
|
|
|
9983
10363
|
|
|
9984
10364
|
filter_conditions?: Record<string, any>;
|
|
9985
10365
|
|
|
10366
|
+
filter_values?: Record<string, any>;
|
|
10367
|
+
|
|
10368
|
+
sort_values?: Record<string, any>;
|
|
10369
|
+
|
|
9986
10370
|
user?: UserRequest;
|
|
9987
10371
|
}
|
|
9988
10372
|
|
|
@@ -10164,6 +10548,26 @@ export interface QueryFollowsResponse {
|
|
|
10164
10548
|
prev?: string;
|
|
10165
10549
|
}
|
|
10166
10550
|
|
|
10551
|
+
export interface QueryFutureChannelBansPayload {
|
|
10552
|
+
exclude_expired_bans?: boolean;
|
|
10553
|
+
|
|
10554
|
+
limit?: number;
|
|
10555
|
+
|
|
10556
|
+
offset?: number;
|
|
10557
|
+
|
|
10558
|
+
target_user_id?: string;
|
|
10559
|
+
|
|
10560
|
+
user_id?: string;
|
|
10561
|
+
|
|
10562
|
+
user?: UserRequest;
|
|
10563
|
+
}
|
|
10564
|
+
|
|
10565
|
+
export interface QueryFutureChannelBansResponse {
|
|
10566
|
+
duration: string;
|
|
10567
|
+
|
|
10568
|
+
bans: FutureChannelBanResponse[];
|
|
10569
|
+
}
|
|
10570
|
+
|
|
10167
10571
|
export interface QueryMembersPayload {
|
|
10168
10572
|
type: string;
|
|
10169
10573
|
|
|
@@ -10920,6 +11324,10 @@ export interface RecordSettingsResponse {
|
|
|
10920
11324
|
layout: LayoutSettingsResponse;
|
|
10921
11325
|
}
|
|
10922
11326
|
|
|
11327
|
+
export interface RejectAppealRequest {
|
|
11328
|
+
decision_reason: string;
|
|
11329
|
+
}
|
|
11330
|
+
|
|
10923
11331
|
export interface RejectFeedMemberInviteRequest {
|
|
10924
11332
|
user_id?: string;
|
|
10925
11333
|
|
|
@@ -11081,6 +11489,8 @@ export interface ResolveSipInboundRequest {
|
|
|
11081
11489
|
|
|
11082
11490
|
challenge: SIPChallenge;
|
|
11083
11491
|
|
|
11492
|
+
routing_number?: string;
|
|
11493
|
+
|
|
11084
11494
|
sip_headers?: Record<string, string>;
|
|
11085
11495
|
}
|
|
11086
11496
|
|
|
@@ -11098,7 +11508,9 @@ export interface Response {
|
|
|
11098
11508
|
duration: string;
|
|
11099
11509
|
}
|
|
11100
11510
|
|
|
11101
|
-
export interface RestoreActionRequest {
|
|
11511
|
+
export interface RestoreActionRequest {
|
|
11512
|
+
decision_reason?: string;
|
|
11513
|
+
}
|
|
11102
11514
|
|
|
11103
11515
|
export interface RestoreUsersRequest {
|
|
11104
11516
|
user_ids: string[];
|
|
@@ -11165,6 +11577,8 @@ export interface ReviewQueueItemResponse {
|
|
|
11165
11577
|
|
|
11166
11578
|
activity?: EnrichedActivity;
|
|
11167
11579
|
|
|
11580
|
+
appeal?: AppealItemResponse;
|
|
11581
|
+
|
|
11168
11582
|
assigned_to?: UserResponse;
|
|
11169
11583
|
|
|
11170
11584
|
call?: CallResponse;
|
|
@@ -11289,6 +11703,10 @@ export interface RuleBuilderCondition {
|
|
|
11289
11703
|
|
|
11290
11704
|
user_flag_count_rule_params?: FlagCountRuleParameters;
|
|
11291
11705
|
|
|
11706
|
+
user_identical_content_count_params?: UserIdenticalContentCountParameters;
|
|
11707
|
+
|
|
11708
|
+
user_role_params?: UserRoleParameters;
|
|
11709
|
+
|
|
11292
11710
|
user_rule_params?: UserRuleParameters;
|
|
11293
11711
|
|
|
11294
11712
|
video_content_params?: VideoContentParameters;
|
|
@@ -11561,6 +11979,10 @@ export interface ScreensharingSettingsResponse {
|
|
|
11561
11979
|
export interface SearchPayload {
|
|
11562
11980
|
filter_conditions: Record<string, any>;
|
|
11563
11981
|
|
|
11982
|
+
force_default_search?: boolean;
|
|
11983
|
+
|
|
11984
|
+
force_sql_v2_backend?: boolean;
|
|
11985
|
+
|
|
11564
11986
|
limit?: number;
|
|
11565
11987
|
|
|
11566
11988
|
next?: string;
|
|
@@ -11956,12 +12378,16 @@ export interface SortParam {
|
|
|
11956
12378
|
direction?: number;
|
|
11957
12379
|
|
|
11958
12380
|
field?: string;
|
|
12381
|
+
|
|
12382
|
+
type?: string;
|
|
11959
12383
|
}
|
|
11960
12384
|
|
|
11961
12385
|
export interface SortParamRequest {
|
|
11962
12386
|
direction?: number;
|
|
11963
12387
|
|
|
11964
12388
|
field?: string;
|
|
12389
|
+
|
|
12390
|
+
type?: '' | 'number' | 'boolean';
|
|
11965
12391
|
}
|
|
11966
12392
|
|
|
11967
12393
|
export interface SpeechSegmentConfig {
|
|
@@ -12147,8 +12573,14 @@ export interface StopHLSBroadcastingResponse {
|
|
|
12147
12573
|
export interface StopLiveRequest {
|
|
12148
12574
|
continue_closed_caption?: boolean;
|
|
12149
12575
|
|
|
12576
|
+
continue_composite_recording?: boolean;
|
|
12577
|
+
|
|
12150
12578
|
continue_hls?: boolean;
|
|
12151
12579
|
|
|
12580
|
+
continue_individual_recording?: boolean;
|
|
12581
|
+
|
|
12582
|
+
continue_raw_recording?: boolean;
|
|
12583
|
+
|
|
12152
12584
|
continue_recording?: boolean;
|
|
12153
12585
|
|
|
12154
12586
|
continue_rtmp_broadcasts?: boolean;
|
|
@@ -12225,9 +12657,12 @@ export interface SubmitActionRequest {
|
|
|
12225
12657
|
| 'shadow_block'
|
|
12226
12658
|
| 'unmask'
|
|
12227
12659
|
| 'kick_user'
|
|
12228
|
-
| 'end_call'
|
|
12660
|
+
| 'end_call'
|
|
12661
|
+
| 'reject_appeal';
|
|
12229
12662
|
|
|
12230
|
-
|
|
12663
|
+
appeal_id?: string;
|
|
12664
|
+
|
|
12665
|
+
item_id?: string;
|
|
12231
12666
|
|
|
12232
12667
|
user_id?: string;
|
|
12233
12668
|
|
|
@@ -12249,16 +12684,24 @@ export interface SubmitActionRequest {
|
|
|
12249
12684
|
|
|
12250
12685
|
mark_reviewed?: MarkReviewedRequest;
|
|
12251
12686
|
|
|
12687
|
+
reject_appeal?: RejectAppealRequest;
|
|
12688
|
+
|
|
12689
|
+
restore?: RestoreActionRequest;
|
|
12690
|
+
|
|
12252
12691
|
shadow_block?: ShadowBlockActionRequest;
|
|
12253
12692
|
|
|
12254
12693
|
unban?: UnbanActionRequest;
|
|
12255
12694
|
|
|
12695
|
+
unblock?: UnblockActionRequest;
|
|
12696
|
+
|
|
12256
12697
|
user?: UserRequest;
|
|
12257
12698
|
}
|
|
12258
12699
|
|
|
12259
12700
|
export interface SubmitActionResponse {
|
|
12260
12701
|
duration: string;
|
|
12261
12702
|
|
|
12703
|
+
appeal_item?: AppealItemResponse;
|
|
12704
|
+
|
|
12262
12705
|
item?: ReviewQueueItemResponse;
|
|
12263
12706
|
}
|
|
12264
12707
|
|
|
@@ -12321,6 +12764,8 @@ export interface TextContentParameters {
|
|
|
12321
12764
|
export interface TextRuleParameters {
|
|
12322
12765
|
contains_url?: boolean;
|
|
12323
12766
|
|
|
12767
|
+
semantic_filter_min_threshold?: number;
|
|
12768
|
+
|
|
12324
12769
|
severity?: string;
|
|
12325
12770
|
|
|
12326
12771
|
threshold?: number;
|
|
@@ -12331,6 +12776,8 @@ export interface TextRuleParameters {
|
|
|
12331
12776
|
|
|
12332
12777
|
harm_labels?: string[];
|
|
12333
12778
|
|
|
12779
|
+
semantic_filter_names?: string[];
|
|
12780
|
+
|
|
12334
12781
|
llm_harm_labels?: Record<string, string>;
|
|
12335
12782
|
}
|
|
12336
12783
|
|
|
@@ -12778,7 +13225,9 @@ export interface TypingIndicatorsResponse {
|
|
|
12778
13225
|
enabled?: boolean;
|
|
12779
13226
|
}
|
|
12780
13227
|
|
|
12781
|
-
export interface UnbanActionRequest {
|
|
13228
|
+
export interface UnbanActionRequest {
|
|
13229
|
+
decision_reason?: string;
|
|
13230
|
+
}
|
|
12782
13231
|
|
|
12783
13232
|
export interface UnbanRequest {
|
|
12784
13233
|
unbanned_by_id?: string;
|
|
@@ -12790,7 +13239,9 @@ export interface UnbanResponse {
|
|
|
12790
13239
|
duration: string;
|
|
12791
13240
|
}
|
|
12792
13241
|
|
|
12793
|
-
export interface UnblockActionRequest {
|
|
13242
|
+
export interface UnblockActionRequest {
|
|
13243
|
+
decision_reason?: string;
|
|
13244
|
+
}
|
|
12794
13245
|
|
|
12795
13246
|
export interface UnblockUserRequest {
|
|
12796
13247
|
user_id: string;
|
|
@@ -12824,6 +13275,8 @@ export interface UnblockedUserEvent {
|
|
|
12824
13275
|
|
|
12825
13276
|
export interface UnfollowBatchRequest {
|
|
12826
13277
|
follows: FollowPair[];
|
|
13278
|
+
|
|
13279
|
+
delete_notification_activity?: boolean;
|
|
12827
13280
|
}
|
|
12828
13281
|
|
|
12829
13282
|
export interface UnfollowBatchResponse {
|
|
@@ -12933,6 +13386,8 @@ export interface UnreadCountsThread {
|
|
|
12933
13386
|
}
|
|
12934
13387
|
|
|
12935
13388
|
export interface UpdateActivityPartialRequest {
|
|
13389
|
+
handle_mention_notifications?: boolean;
|
|
13390
|
+
|
|
12936
13391
|
user_id?: string;
|
|
12937
13392
|
|
|
12938
13393
|
unset?: string[];
|
|
@@ -12951,6 +13406,8 @@ export interface UpdateActivityPartialResponse {
|
|
|
12951
13406
|
export interface UpdateActivityRequest {
|
|
12952
13407
|
expires_at?: Date;
|
|
12953
13408
|
|
|
13409
|
+
handle_mention_notifications?: boolean;
|
|
13410
|
+
|
|
12954
13411
|
poll_id?: string;
|
|
12955
13412
|
|
|
12956
13413
|
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
@@ -12961,7 +13418,9 @@ export interface UpdateActivityRequest {
|
|
|
12961
13418
|
|
|
12962
13419
|
user_id?: string;
|
|
12963
13420
|
|
|
12964
|
-
visibility?:
|
|
13421
|
+
visibility?: 'public' | 'private' | 'tag';
|
|
13422
|
+
|
|
13423
|
+
visibility_tag?: string;
|
|
12965
13424
|
|
|
12966
13425
|
attachments?: Attachment[];
|
|
12967
13426
|
|
|
@@ -13443,6 +13902,8 @@ export interface UpdateCommandResponse {
|
|
|
13443
13902
|
export interface UpdateCommentRequest {
|
|
13444
13903
|
comment?: string;
|
|
13445
13904
|
|
|
13905
|
+
handle_mention_notifications?: boolean;
|
|
13906
|
+
|
|
13446
13907
|
skip_enrich_url?: boolean;
|
|
13447
13908
|
|
|
13448
13909
|
skip_push?: boolean;
|
|
@@ -13451,6 +13912,8 @@ export interface UpdateCommentRequest {
|
|
|
13451
13912
|
|
|
13452
13913
|
attachments?: Attachment[];
|
|
13453
13914
|
|
|
13915
|
+
mentioned_user_ids?: string[];
|
|
13916
|
+
|
|
13454
13917
|
custom?: Record<string, any>;
|
|
13455
13918
|
|
|
13456
13919
|
user?: UserRequest;
|
|
@@ -13891,6 +14354,8 @@ export interface UpsertActivitiesResponse {
|
|
|
13891
14354
|
duration: string;
|
|
13892
14355
|
|
|
13893
14356
|
activities: ActivityResponse[];
|
|
14357
|
+
|
|
14358
|
+
mention_notifications_created?: number;
|
|
13894
14359
|
}
|
|
13895
14360
|
|
|
13896
14361
|
export interface UpsertCollectionsRequest {
|
|
@@ -14180,6 +14645,12 @@ export interface UserFlaggedEvent {
|
|
|
14180
14645
|
user?: User;
|
|
14181
14646
|
}
|
|
14182
14647
|
|
|
14648
|
+
export interface UserIdenticalContentCountParameters {
|
|
14649
|
+
threshold?: number;
|
|
14650
|
+
|
|
14651
|
+
time_window?: string;
|
|
14652
|
+
}
|
|
14653
|
+
|
|
14183
14654
|
export interface UserMessagesDeletedEvent {
|
|
14184
14655
|
created_at: Date;
|
|
14185
14656
|
|
|
@@ -14410,6 +14881,12 @@ export interface UserResponsePrivacyFields {
|
|
|
14410
14881
|
teams_role?: Record<string, string>;
|
|
14411
14882
|
}
|
|
14412
14883
|
|
|
14884
|
+
export interface UserRoleParameters {
|
|
14885
|
+
operator?: string;
|
|
14886
|
+
|
|
14887
|
+
role?: string;
|
|
14888
|
+
}
|
|
14889
|
+
|
|
14413
14890
|
export interface UserRuleParameters {
|
|
14414
14891
|
max_age?: string;
|
|
14415
14892
|
}
|
|
@@ -14651,6 +15128,9 @@ export interface WSEvent {
|
|
|
14651
15128
|
export type WebhookEvent =
|
|
14652
15129
|
| ({ type: '*' } & AnyEvent)
|
|
14653
15130
|
| ({ type: 'activity.marked' } & ActivityMarkedEvent)
|
|
15131
|
+
| ({ type: 'appeal.accepted' } & AppealAcceptedEvent)
|
|
15132
|
+
| ({ type: 'appeal.created' } & AppealCreatedEvent)
|
|
15133
|
+
| ({ type: 'appeal.rejected' } & AppealRejectedEvent)
|
|
14654
15134
|
| ({ type: 'call.accepted' } & CallAcceptedEvent)
|
|
14655
15135
|
| ({ type: 'call.blocked_user' } & BlockedUserEvent)
|
|
14656
15136
|
| ({ type: 'call.closed_caption' } & ClosedCaptionEvent)
|
|
@@ -14727,10 +15207,8 @@ export type WebhookEvent =
|
|
|
14727
15207
|
| ({ type: 'channel.unmuted' } & ChannelUnmutedEvent)
|
|
14728
15208
|
| ({ type: 'channel.updated' } & ChannelUpdatedEvent)
|
|
14729
15209
|
| ({ type: 'channel.visible' } & ChannelVisibleEvent)
|
|
14730
|
-
| ({
|
|
14731
|
-
|
|
14732
|
-
} & ChannelBatchUpdatedCompletedEvent)
|
|
14733
|
-
| ({ type: 'channel_batch_update.started' } & ChannelBatchUpdatedStartedEvent)
|
|
15210
|
+
| ({ type: 'channel_batch_update.completed' } & ChannelBatchCompletedEvent)
|
|
15211
|
+
| ({ type: 'channel_batch_update.started' } & ChannelBatchStartedEvent)
|
|
14734
15212
|
| ({ type: 'custom' } & CustomVideoEvent)
|
|
14735
15213
|
| ({ type: 'export.bulk_image_moderation.error' } & AsyncExportErrorEvent)
|
|
14736
15214
|
| ({
|
|
@@ -14782,6 +15260,9 @@ export type WebhookEvent =
|
|
|
14782
15260
|
| ({ type: 'feeds.notification_feed.updated' } & NotificationFeedUpdatedEvent)
|
|
14783
15261
|
| ({ type: 'feeds.stories_feed.updated' } & StoriesFeedUpdatedEvent)
|
|
14784
15262
|
| ({ type: 'flag.updated' } & FlagUpdatedEvent)
|
|
15263
|
+
| ({ type: 'ingress.error' } & IngressErrorEvent)
|
|
15264
|
+
| ({ type: 'ingress.started' } & IngressStartedEvent)
|
|
15265
|
+
| ({ type: 'ingress.stopped' } & IngressStoppedEvent)
|
|
14785
15266
|
| ({ type: 'member.added' } & MemberAddedEvent)
|
|
14786
15267
|
| ({ type: 'member.removed' } & MemberRemovedEvent)
|
|
14787
15268
|
| ({ type: 'member.updated' } & MemberUpdatedEvent)
|