@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.
@@ -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;
@@ -595,8 +599,6 @@ export interface ActivityResponse {
595
599
 
596
600
  moderation_action?: string;
597
601
 
598
- selector_source?: string;
599
-
600
602
  text?: string;
601
603
 
602
604
  visibility_tag?: string;
@@ -694,6 +696,8 @@ export interface AddActivityRequest {
694
696
 
695
697
  feeds: string[];
696
698
 
699
+ create_notification_activity?: boolean;
700
+
697
701
  expires_at?: string;
698
702
 
699
703
  id?: string;
@@ -706,6 +710,8 @@ export interface AddActivityRequest {
706
710
 
707
711
  skip_enrich_url?: boolean;
708
712
 
713
+ skip_push?: boolean;
714
+
709
715
  text?: string;
710
716
 
711
717
  user_id?: string;
@@ -735,6 +741,8 @@ export interface AddActivityResponse {
735
741
  duration: string;
736
742
 
737
743
  activity: ActivityResponse;
744
+
745
+ mention_notifications_created?: number;
738
746
  }
739
747
 
740
748
  export interface AddBookmarkRequest {
@@ -814,6 +822,8 @@ export interface AddCommentResponse {
814
822
 
815
823
  comment: CommentResponse;
816
824
 
825
+ mention_notifications_created?: number;
826
+
817
827
  notification_created?: boolean;
818
828
  }
819
829
 
@@ -995,6 +1005,86 @@ export interface AppResponseFields {
995
1005
  moderation_dashboard_preferences?: ModerationDashboardPreferences;
996
1006
  }
997
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
+
998
1088
  export interface AsyncBulkImageModerationEvent {
999
1089
  created_at: Date;
1000
1090
 
@@ -2009,6 +2099,8 @@ export interface CallRecordingFailedEvent {
2009
2099
 
2010
2100
  egress_id: string;
2011
2101
 
2102
+ recording_type: 'composite' | 'individual' | 'raw';
2103
+
2012
2104
  type: string;
2013
2105
  }
2014
2106
 
@@ -2019,6 +2111,8 @@ export interface CallRecordingReadyEvent {
2019
2111
 
2020
2112
  egress_id: string;
2021
2113
 
2114
+ recording_type: 'composite' | 'individual' | 'raw';
2115
+
2022
2116
  call_recording: CallRecording;
2023
2117
 
2024
2118
  type: string;
@@ -2031,6 +2125,8 @@ export interface CallRecordingStartedEvent {
2031
2125
 
2032
2126
  egress_id: string;
2033
2127
 
2128
+ recording_type: 'composite' | 'individual' | 'raw';
2129
+
2034
2130
  type: string;
2035
2131
  }
2036
2132
 
@@ -2041,6 +2137,8 @@ export interface CallRecordingStoppedEvent {
2041
2137
 
2042
2138
  egress_id: string;
2043
2139
 
2140
+ recording_type: 'composite' | 'individual' | 'raw';
2141
+
2044
2142
  type: string;
2045
2143
  }
2046
2144
 
@@ -2127,6 +2225,8 @@ export interface CallResponse {
2127
2225
 
2128
2226
  join_ahead_time_seconds?: number;
2129
2227
 
2228
+ routing_number?: string;
2229
+
2130
2230
  starts_at?: Date;
2131
2231
 
2132
2232
  team?: string;
@@ -2287,10 +2387,14 @@ export interface CallSettings {
2287
2387
 
2288
2388
  geofencing?: GeofenceSettings;
2289
2389
 
2390
+ individual_recording?: IndividualRecordSettings;
2391
+
2290
2392
  ingress?: IngressSettings;
2291
2393
 
2292
2394
  limits?: LimitsSettings;
2293
2395
 
2396
+ raw_recording?: RawRecordSettings;
2397
+
2294
2398
  recording?: RecordSettings;
2295
2399
 
2296
2400
  ring?: RingSettings;
@@ -2317,10 +2421,14 @@ export interface CallSettingsRequest {
2317
2421
 
2318
2422
  geofencing?: GeofenceSettingsRequest;
2319
2423
 
2424
+ individual_recording?: IndividualRecordingSettingsRequest;
2425
+
2320
2426
  ingress?: IngressSettingsRequest;
2321
2427
 
2322
2428
  limits?: LimitsSettingsRequest;
2323
2429
 
2430
+ raw_recording?: RawRecordingSettingsRequest;
2431
+
2324
2432
  recording?: RecordSettingsRequest;
2325
2433
 
2326
2434
  ring?: RingSettingsRequest;
@@ -2347,8 +2455,12 @@ export interface CallSettingsResponse {
2347
2455
 
2348
2456
  geofencing: GeofenceSettingsResponse;
2349
2457
 
2458
+ individual_recording: IndividualRecordingSettingsResponse;
2459
+
2350
2460
  limits: LimitsSettingsResponse;
2351
2461
 
2462
+ raw_recording: RawRecordingSettingsResponse;
2463
+
2352
2464
  recording: RecordSettingsResponse;
2353
2465
 
2354
2466
  ring: RingSettingsResponse;
@@ -2466,6 +2578,8 @@ export interface CallStatsParticipantCounts {
2466
2578
  publishers: number;
2467
2579
 
2468
2580
  sessions: number;
2581
+
2582
+ total_participant_duration?: number;
2469
2583
  }
2470
2584
 
2471
2585
  export interface CallStatsParticipantSession {
@@ -2866,7 +2980,7 @@ export interface Channel {
2866
2980
  truncated_by?: User;
2867
2981
  }
2868
2982
 
2869
- export interface ChannelBatchUpdatedCompletedEvent {
2983
+ export interface ChannelBatchCompletedEvent {
2870
2984
  batch_created_at: Date;
2871
2985
 
2872
2986
  created_at: Date;
@@ -2890,7 +3004,7 @@ export interface ChannelBatchUpdatedCompletedEvent {
2890
3004
  received_at?: Date;
2891
3005
  }
2892
3006
 
2893
- export interface ChannelBatchUpdatedStartedEvent {
3007
+ export interface ChannelBatchStartedEvent {
2894
3008
  batch_created_at: Date;
2895
3009
 
2896
3010
  created_at: Date;
@@ -4027,6 +4141,10 @@ export interface CommentUpdatedEvent {
4027
4141
 
4028
4142
  export interface CommitMessageRequest {}
4029
4143
 
4144
+ export interface CompositeRecordingResponse {
4145
+ status: string;
4146
+ }
4147
+
4030
4148
  export interface ConfigOverrides {
4031
4149
  blocklist?: string;
4032
4150
 
@@ -4464,6 +4582,34 @@ export interface CreateImportURLResponse {
4464
4582
  upload_url: string;
4465
4583
  }
4466
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
+
4467
4613
  export interface CreateMembershipLevelRequest {
4468
4614
  id: string;
4469
4615
 
@@ -4862,6 +5008,10 @@ export interface DeleteFeedsBatchResponse {
4862
5008
  task_id: string;
4863
5009
  }
4864
5010
 
5011
+ export interface DeleteImportV2TaskResponse {
5012
+ duration: string;
5013
+ }
5014
+
4865
5015
  export interface DeleteMessageRequest {
4866
5016
  hard_delete?: boolean;
4867
5017
 
@@ -5135,9 +5285,15 @@ export interface EgressResponse {
5135
5285
 
5136
5286
  rtmps: EgressRTMPResponse[];
5137
5287
 
5288
+ composite_recording?: CompositeRecordingResponse;
5289
+
5138
5290
  frame_recording?: FrameRecordingResponse;
5139
5291
 
5140
5292
  hls?: EgressHLSResponse;
5293
+
5294
+ individual_recording?: IndividualRecordingResponse;
5295
+
5296
+ raw_recording?: RawRecordingResponse;
5141
5297
  }
5142
5298
 
5143
5299
  export interface EndCallRequest {}
@@ -5333,6 +5489,8 @@ export interface EventHook {
5333
5489
 
5334
5490
  sns_auth_type?: string;
5335
5491
 
5492
+ sns_event_based_message_group_id_enabled?: boolean;
5493
+
5336
5494
  sns_key?: string;
5337
5495
 
5338
5496
  sns_region?: string;
@@ -6306,6 +6464,20 @@ export interface FullUserResponse {
6306
6464
  teams_role?: Record<string, string>;
6307
6465
  }
6308
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
+
6309
6481
  export interface GeofenceResponse {
6310
6482
  name: string;
6311
6483
 
@@ -6346,6 +6518,12 @@ export interface GetActivityResponse {
6346
6518
  activity: ActivityResponse;
6347
6519
  }
6348
6520
 
6521
+ export interface GetAppealResponse {
6522
+ duration: string;
6523
+
6524
+ item?: AppealItemResponse;
6525
+ }
6526
+
6349
6527
  export interface GetApplicationResponse {
6350
6528
  duration: string;
6351
6529
 
@@ -6622,6 +6800,24 @@ export interface GetImportResponse {
6622
6800
  import_task?: ImportTask;
6623
6801
  }
6624
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
+
6625
6821
  export interface GetManyMessagesResponse {
6626
6822
  duration: string;
6627
6823
 
@@ -6898,8 +7094,14 @@ export interface GoLiveRequest {
6898
7094
 
6899
7095
  start_closed_caption?: boolean;
6900
7096
 
7097
+ start_composite_recording?: boolean;
7098
+
6901
7099
  start_hls?: boolean;
6902
7100
 
7101
+ start_individual_recording?: boolean;
7102
+
7103
+ start_raw_recording?: boolean;
7104
+
6903
7105
  start_recording?: boolean;
6904
7106
 
6905
7107
  start_transcription?: boolean;
@@ -7087,6 +7289,52 @@ export interface ImportTaskHistory {
7087
7289
  prev_state: string;
7088
7290
  }
7089
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
+
7090
7338
  export interface IngressAudioEncodingOptions {
7091
7339
  bitrate: number;
7092
7340
 
@@ -7111,6 +7359,22 @@ export interface IngressAudioEncodingResponse {
7111
7359
  enable_dtx: boolean;
7112
7360
  }
7113
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
+
7114
7378
  export interface IngressSettings {
7115
7379
  enabled: boolean;
7116
7380
 
@@ -7159,6 +7423,38 @@ export interface IngressSourceResponse {
7159
7423
  width: number;
7160
7424
  }
7161
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
+
7162
7458
  export interface IngressVideoEncodingOptions {
7163
7459
  layers: IngressVideoLayer[];
7164
7460
 
@@ -7418,6 +7714,16 @@ export interface ListFeedVisibilitiesResponse {
7418
7714
  feed_visibilities: Record<string, FeedVisibilityResponse>;
7419
7715
  }
7420
7716
 
7717
+ export interface ListImportV2TasksResponse {
7718
+ duration: string;
7719
+
7720
+ import_tasks: ImportV2TaskItem[];
7721
+
7722
+ next?: string;
7723
+
7724
+ prev?: string;
7725
+ }
7726
+
7421
7727
  export interface ListImportsResponse {
7422
7728
  duration: string;
7423
7729
 
@@ -7525,6 +7831,8 @@ export interface MarkReadResponse {
7525
7831
  export interface MarkReviewedRequest {
7526
7832
  content_to_mark_as_reviewed_limit?: number;
7527
7833
 
7834
+ decision_reason?: string;
7835
+
7528
7836
  disable_marking_content_as_reviewed?: boolean;
7529
7837
  }
7530
7838
 
@@ -8766,11 +9074,15 @@ export const OwnCapability = {
8766
9074
  START_BROADCAST_CALL: 'start-broadcast-call',
8767
9075
  START_CLOSED_CAPTIONS_CALL: 'start-closed-captions-call',
8768
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',
8769
9079
  START_RECORD_CALL: 'start-record-call',
8770
9080
  START_TRANSCRIPTION_CALL: 'start-transcription-call',
8771
9081
  STOP_BROADCAST_CALL: 'stop-broadcast-call',
8772
9082
  STOP_CLOSED_CAPTIONS_CALL: 'stop-closed-captions-call',
8773
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',
8774
9086
  STOP_RECORD_CALL: 'stop-record-call',
8775
9087
  STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
8776
9088
  UPDATE_CALL: 'update-call',
@@ -9034,6 +9346,22 @@ export interface ParticipantSeriesUserStats {
9034
9346
  thresholds?: Record<string, MetricThreshold[]>;
9035
9347
  }
9036
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
+
9037
9365
  export interface PendingMessageEvent {
9038
9366
  created_at: Date;
9039
9367
 
@@ -9720,6 +10048,32 @@ export interface QueryAggregateCallStatsResponse {
9720
10048
  user_feedback_report?: UserFeedbackReportResponse;
9721
10049
  }
9722
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
+
9723
10077
  export interface QueryBannedUsersPayload {
9724
10078
  filter_conditions: Record<string, any>;
9725
10079
 
@@ -9812,6 +10166,28 @@ export interface QueryCallMembersResponse {
9812
10166
  prev?: string;
9813
10167
  }
9814
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
+
9815
10191
  export interface QueryCallParticipantsRequest {
9816
10192
  filter_conditions?: Record<string, any>;
9817
10193
  }
@@ -9977,6 +10353,8 @@ export interface QueryChannelsRequest {
9977
10353
 
9978
10354
  offset?: number;
9979
10355
 
10356
+ predefined_filter?: string;
10357
+
9980
10358
  state?: boolean;
9981
10359
 
9982
10360
  user_id?: string;
@@ -9985,6 +10363,10 @@ export interface QueryChannelsRequest {
9985
10363
 
9986
10364
  filter_conditions?: Record<string, any>;
9987
10365
 
10366
+ filter_values?: Record<string, any>;
10367
+
10368
+ sort_values?: Record<string, any>;
10369
+
9988
10370
  user?: UserRequest;
9989
10371
  }
9990
10372
 
@@ -10166,6 +10548,26 @@ export interface QueryFollowsResponse {
10166
10548
  prev?: string;
10167
10549
  }
10168
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
+
10169
10571
  export interface QueryMembersPayload {
10170
10572
  type: string;
10171
10573
 
@@ -10922,6 +11324,10 @@ export interface RecordSettingsResponse {
10922
11324
  layout: LayoutSettingsResponse;
10923
11325
  }
10924
11326
 
11327
+ export interface RejectAppealRequest {
11328
+ decision_reason: string;
11329
+ }
11330
+
10925
11331
  export interface RejectFeedMemberInviteRequest {
10926
11332
  user_id?: string;
10927
11333
 
@@ -11083,6 +11489,8 @@ export interface ResolveSipInboundRequest {
11083
11489
 
11084
11490
  challenge: SIPChallenge;
11085
11491
 
11492
+ routing_number?: string;
11493
+
11086
11494
  sip_headers?: Record<string, string>;
11087
11495
  }
11088
11496
 
@@ -11100,7 +11508,9 @@ export interface Response {
11100
11508
  duration: string;
11101
11509
  }
11102
11510
 
11103
- export interface RestoreActionRequest {}
11511
+ export interface RestoreActionRequest {
11512
+ decision_reason?: string;
11513
+ }
11104
11514
 
11105
11515
  export interface RestoreUsersRequest {
11106
11516
  user_ids: string[];
@@ -11167,6 +11577,8 @@ export interface ReviewQueueItemResponse {
11167
11577
 
11168
11578
  activity?: EnrichedActivity;
11169
11579
 
11580
+ appeal?: AppealItemResponse;
11581
+
11170
11582
  assigned_to?: UserResponse;
11171
11583
 
11172
11584
  call?: CallResponse;
@@ -11291,6 +11703,10 @@ export interface RuleBuilderCondition {
11291
11703
 
11292
11704
  user_flag_count_rule_params?: FlagCountRuleParameters;
11293
11705
 
11706
+ user_identical_content_count_params?: UserIdenticalContentCountParameters;
11707
+
11708
+ user_role_params?: UserRoleParameters;
11709
+
11294
11710
  user_rule_params?: UserRuleParameters;
11295
11711
 
11296
11712
  video_content_params?: VideoContentParameters;
@@ -11563,6 +11979,10 @@ export interface ScreensharingSettingsResponse {
11563
11979
  export interface SearchPayload {
11564
11980
  filter_conditions: Record<string, any>;
11565
11981
 
11982
+ force_default_search?: boolean;
11983
+
11984
+ force_sql_v2_backend?: boolean;
11985
+
11566
11986
  limit?: number;
11567
11987
 
11568
11988
  next?: string;
@@ -11958,12 +12378,16 @@ export interface SortParam {
11958
12378
  direction?: number;
11959
12379
 
11960
12380
  field?: string;
12381
+
12382
+ type?: string;
11961
12383
  }
11962
12384
 
11963
12385
  export interface SortParamRequest {
11964
12386
  direction?: number;
11965
12387
 
11966
12388
  field?: string;
12389
+
12390
+ type?: '' | 'number' | 'boolean';
11967
12391
  }
11968
12392
 
11969
12393
  export interface SpeechSegmentConfig {
@@ -12149,8 +12573,14 @@ export interface StopHLSBroadcastingResponse {
12149
12573
  export interface StopLiveRequest {
12150
12574
  continue_closed_caption?: boolean;
12151
12575
 
12576
+ continue_composite_recording?: boolean;
12577
+
12152
12578
  continue_hls?: boolean;
12153
12579
 
12580
+ continue_individual_recording?: boolean;
12581
+
12582
+ continue_raw_recording?: boolean;
12583
+
12154
12584
  continue_recording?: boolean;
12155
12585
 
12156
12586
  continue_rtmp_broadcasts?: boolean;
@@ -12227,9 +12657,12 @@ export interface SubmitActionRequest {
12227
12657
  | 'shadow_block'
12228
12658
  | 'unmask'
12229
12659
  | 'kick_user'
12230
- | 'end_call';
12660
+ | 'end_call'
12661
+ | 'reject_appeal';
12231
12662
 
12232
- item_id: string;
12663
+ appeal_id?: string;
12664
+
12665
+ item_id?: string;
12233
12666
 
12234
12667
  user_id?: string;
12235
12668
 
@@ -12251,16 +12684,24 @@ export interface SubmitActionRequest {
12251
12684
 
12252
12685
  mark_reviewed?: MarkReviewedRequest;
12253
12686
 
12687
+ reject_appeal?: RejectAppealRequest;
12688
+
12689
+ restore?: RestoreActionRequest;
12690
+
12254
12691
  shadow_block?: ShadowBlockActionRequest;
12255
12692
 
12256
12693
  unban?: UnbanActionRequest;
12257
12694
 
12695
+ unblock?: UnblockActionRequest;
12696
+
12258
12697
  user?: UserRequest;
12259
12698
  }
12260
12699
 
12261
12700
  export interface SubmitActionResponse {
12262
12701
  duration: string;
12263
12702
 
12703
+ appeal_item?: AppealItemResponse;
12704
+
12264
12705
  item?: ReviewQueueItemResponse;
12265
12706
  }
12266
12707
 
@@ -12323,6 +12764,8 @@ export interface TextContentParameters {
12323
12764
  export interface TextRuleParameters {
12324
12765
  contains_url?: boolean;
12325
12766
 
12767
+ semantic_filter_min_threshold?: number;
12768
+
12326
12769
  severity?: string;
12327
12770
 
12328
12771
  threshold?: number;
@@ -12333,6 +12776,8 @@ export interface TextRuleParameters {
12333
12776
 
12334
12777
  harm_labels?: string[];
12335
12778
 
12779
+ semantic_filter_names?: string[];
12780
+
12336
12781
  llm_harm_labels?: Record<string, string>;
12337
12782
  }
12338
12783
 
@@ -12780,7 +13225,9 @@ export interface TypingIndicatorsResponse {
12780
13225
  enabled?: boolean;
12781
13226
  }
12782
13227
 
12783
- export interface UnbanActionRequest {}
13228
+ export interface UnbanActionRequest {
13229
+ decision_reason?: string;
13230
+ }
12784
13231
 
12785
13232
  export interface UnbanRequest {
12786
13233
  unbanned_by_id?: string;
@@ -12792,7 +13239,9 @@ export interface UnbanResponse {
12792
13239
  duration: string;
12793
13240
  }
12794
13241
 
12795
- export interface UnblockActionRequest {}
13242
+ export interface UnblockActionRequest {
13243
+ decision_reason?: string;
13244
+ }
12796
13245
 
12797
13246
  export interface UnblockUserRequest {
12798
13247
  user_id: string;
@@ -12826,6 +13275,8 @@ export interface UnblockedUserEvent {
12826
13275
 
12827
13276
  export interface UnfollowBatchRequest {
12828
13277
  follows: FollowPair[];
13278
+
13279
+ delete_notification_activity?: boolean;
12829
13280
  }
12830
13281
 
12831
13282
  export interface UnfollowBatchResponse {
@@ -12935,6 +13386,8 @@ export interface UnreadCountsThread {
12935
13386
  }
12936
13387
 
12937
13388
  export interface UpdateActivityPartialRequest {
13389
+ handle_mention_notifications?: boolean;
13390
+
12938
13391
  user_id?: string;
12939
13392
 
12940
13393
  unset?: string[];
@@ -12953,6 +13406,8 @@ export interface UpdateActivityPartialResponse {
12953
13406
  export interface UpdateActivityRequest {
12954
13407
  expires_at?: Date;
12955
13408
 
13409
+ handle_mention_notifications?: boolean;
13410
+
12956
13411
  poll_id?: string;
12957
13412
 
12958
13413
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
@@ -12963,7 +13418,9 @@ export interface UpdateActivityRequest {
12963
13418
 
12964
13419
  user_id?: string;
12965
13420
 
12966
- visibility?: string;
13421
+ visibility?: 'public' | 'private' | 'tag';
13422
+
13423
+ visibility_tag?: string;
12967
13424
 
12968
13425
  attachments?: Attachment[];
12969
13426
 
@@ -13445,6 +13902,8 @@ export interface UpdateCommandResponse {
13445
13902
  export interface UpdateCommentRequest {
13446
13903
  comment?: string;
13447
13904
 
13905
+ handle_mention_notifications?: boolean;
13906
+
13448
13907
  skip_enrich_url?: boolean;
13449
13908
 
13450
13909
  skip_push?: boolean;
@@ -13453,6 +13912,8 @@ export interface UpdateCommentRequest {
13453
13912
 
13454
13913
  attachments?: Attachment[];
13455
13914
 
13915
+ mentioned_user_ids?: string[];
13916
+
13456
13917
  custom?: Record<string, any>;
13457
13918
 
13458
13919
  user?: UserRequest;
@@ -13893,6 +14354,8 @@ export interface UpsertActivitiesResponse {
13893
14354
  duration: string;
13894
14355
 
13895
14356
  activities: ActivityResponse[];
14357
+
14358
+ mention_notifications_created?: number;
13896
14359
  }
13897
14360
 
13898
14361
  export interface UpsertCollectionsRequest {
@@ -14182,6 +14645,12 @@ export interface UserFlaggedEvent {
14182
14645
  user?: User;
14183
14646
  }
14184
14647
 
14648
+ export interface UserIdenticalContentCountParameters {
14649
+ threshold?: number;
14650
+
14651
+ time_window?: string;
14652
+ }
14653
+
14185
14654
  export interface UserMessagesDeletedEvent {
14186
14655
  created_at: Date;
14187
14656
 
@@ -14412,6 +14881,12 @@ export interface UserResponsePrivacyFields {
14412
14881
  teams_role?: Record<string, string>;
14413
14882
  }
14414
14883
 
14884
+ export interface UserRoleParameters {
14885
+ operator?: string;
14886
+
14887
+ role?: string;
14888
+ }
14889
+
14415
14890
  export interface UserRuleParameters {
14416
14891
  max_age?: string;
14417
14892
  }
@@ -14653,6 +15128,9 @@ export interface WSEvent {
14653
15128
  export type WebhookEvent =
14654
15129
  | ({ type: '*' } & AnyEvent)
14655
15130
  | ({ type: 'activity.marked' } & ActivityMarkedEvent)
15131
+ | ({ type: 'appeal.accepted' } & AppealAcceptedEvent)
15132
+ | ({ type: 'appeal.created' } & AppealCreatedEvent)
15133
+ | ({ type: 'appeal.rejected' } & AppealRejectedEvent)
14656
15134
  | ({ type: 'call.accepted' } & CallAcceptedEvent)
14657
15135
  | ({ type: 'call.blocked_user' } & BlockedUserEvent)
14658
15136
  | ({ type: 'call.closed_caption' } & ClosedCaptionEvent)
@@ -14729,10 +15207,8 @@ export type WebhookEvent =
14729
15207
  | ({ type: 'channel.unmuted' } & ChannelUnmutedEvent)
14730
15208
  | ({ type: 'channel.updated' } & ChannelUpdatedEvent)
14731
15209
  | ({ type: 'channel.visible' } & ChannelVisibleEvent)
14732
- | ({
14733
- type: 'channel_batch_update.completed';
14734
- } & ChannelBatchUpdatedCompletedEvent)
14735
- | ({ type: 'channel_batch_update.started' } & ChannelBatchUpdatedStartedEvent)
15210
+ | ({ type: 'channel_batch_update.completed' } & ChannelBatchCompletedEvent)
15211
+ | ({ type: 'channel_batch_update.started' } & ChannelBatchStartedEvent)
14736
15212
  | ({ type: 'custom' } & CustomVideoEvent)
14737
15213
  | ({ type: 'export.bulk_image_moderation.error' } & AsyncExportErrorEvent)
14738
15214
  | ({
@@ -14784,6 +15260,9 @@ export type WebhookEvent =
14784
15260
  | ({ type: 'feeds.notification_feed.updated' } & NotificationFeedUpdatedEvent)
14785
15261
  | ({ type: 'feeds.stories_feed.updated' } & StoriesFeedUpdatedEvent)
14786
15262
  | ({ type: 'flag.updated' } & FlagUpdatedEvent)
15263
+ | ({ type: 'ingress.error' } & IngressErrorEvent)
15264
+ | ({ type: 'ingress.started' } & IngressStartedEvent)
15265
+ | ({ type: 'ingress.stopped' } & IngressStoppedEvent)
14787
15266
  | ({ type: 'member.added' } & MemberAddedEvent)
14788
15267
  | ({ type: 'member.removed' } & MemberRemovedEvent)
14789
15268
  | ({ type: 'member.updated' } & MemberUpdatedEvent)