@stream-io/node-sdk 0.7.34 → 0.7.36

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.
@@ -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';
@@ -383,12 +385,14 @@ export interface ActivityUpdatedEvent {
383
385
  export interface AddActivityRequest {
384
386
  type: string;
385
387
  feeds: string[];
388
+ create_notification_activity?: boolean;
386
389
  expires_at?: string;
387
390
  id?: string;
388
391
  parent_id?: string;
389
392
  poll_id?: string;
390
393
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
391
394
  skip_enrich_url?: boolean;
395
+ skip_push?: boolean;
392
396
  text?: string;
393
397
  user_id?: string;
394
398
  visibility?: 'public' | 'private' | 'tag';
@@ -405,6 +409,7 @@ export interface AddActivityRequest {
405
409
  export interface AddActivityResponse {
406
410
  duration: string;
407
411
  activity: ActivityResponse;
412
+ mention_notifications_created?: number;
408
413
  }
409
414
  export interface AddBookmarkRequest {
410
415
  folder_id?: string;
@@ -450,6 +455,7 @@ export interface AddCommentRequest {
450
455
  export interface AddCommentResponse {
451
456
  duration: string;
452
457
  comment: CommentResponse;
458
+ mention_notifications_created?: number;
453
459
  notification_created?: boolean;
454
460
  }
455
461
  export interface AddCommentsBatchRequest {
@@ -550,6 +556,52 @@ export interface AppResponseFields {
550
556
  datadog_info?: DataDogInfo;
551
557
  moderation_dashboard_preferences?: ModerationDashboardPreferences;
552
558
  }
559
+ export interface AppealAcceptedEvent {
560
+ created_at: Date;
561
+ custom: Record<string, any>;
562
+ type: string;
563
+ received_at?: Date;
564
+ appeal?: AppealItemResponse;
565
+ }
566
+ export interface AppealCreatedEvent {
567
+ created_at: Date;
568
+ custom: Record<string, any>;
569
+ type: string;
570
+ received_at?: Date;
571
+ appeal?: AppealItemResponse;
572
+ }
573
+ export interface AppealItemResponse {
574
+ appeal_reason: string;
575
+ created_at: Date;
576
+ entity_id: string;
577
+ entity_type: string;
578
+ id: string;
579
+ status: string;
580
+ updated_at: Date;
581
+ decision_reason?: string;
582
+ attachments?: string[];
583
+ entity_content?: ModerationPayload;
584
+ user?: UserResponse;
585
+ }
586
+ export interface AppealRejectedEvent {
587
+ created_at: Date;
588
+ custom: Record<string, any>;
589
+ type: string;
590
+ received_at?: Date;
591
+ appeal?: AppealItemResponse;
592
+ }
593
+ export interface AppealRequest {
594
+ appeal_reason: string;
595
+ entity_id: string;
596
+ entity_type: string;
597
+ user_id?: string;
598
+ attachments?: string[];
599
+ user?: UserRequest;
600
+ }
601
+ export interface AppealResponse {
602
+ appeal_id: string;
603
+ duration: string;
604
+ }
553
605
  export interface AsyncBulkImageModerationEvent {
554
606
  created_at: Date;
555
607
  finished_at: Date;
@@ -1132,12 +1184,14 @@ export interface CallRecordingFailedEvent {
1132
1184
  call_cid: string;
1133
1185
  created_at: Date;
1134
1186
  egress_id: string;
1187
+ recording_type: 'composite' | 'individual' | 'raw';
1135
1188
  type: string;
1136
1189
  }
1137
1190
  export interface CallRecordingReadyEvent {
1138
1191
  call_cid: string;
1139
1192
  created_at: Date;
1140
1193
  egress_id: string;
1194
+ recording_type: 'composite' | 'individual' | 'raw';
1141
1195
  call_recording: CallRecording;
1142
1196
  type: string;
1143
1197
  }
@@ -1145,12 +1199,14 @@ export interface CallRecordingStartedEvent {
1145
1199
  call_cid: string;
1146
1200
  created_at: Date;
1147
1201
  egress_id: string;
1202
+ recording_type: 'composite' | 'individual' | 'raw';
1148
1203
  type: string;
1149
1204
  }
1150
1205
  export interface CallRecordingStoppedEvent {
1151
1206
  call_cid: string;
1152
1207
  created_at: Date;
1153
1208
  egress_id: string;
1209
+ recording_type: 'composite' | 'individual' | 'raw';
1154
1210
  type: string;
1155
1211
  }
1156
1212
  export interface CallRejectedEvent {
@@ -1198,6 +1254,7 @@ export interface CallResponse {
1198
1254
  channel_cid?: string;
1199
1255
  ended_at?: Date;
1200
1256
  join_ahead_time_seconds?: number;
1257
+ routing_number?: string;
1201
1258
  starts_at?: Date;
1202
1259
  team?: string;
1203
1260
  session?: CallSessionResponse;
@@ -1289,8 +1346,10 @@ export interface CallSettings {
1289
1346
  broadcasting?: BroadcastSettings;
1290
1347
  frame_recording?: FrameRecordSettings;
1291
1348
  geofencing?: GeofenceSettings;
1349
+ individual_recording?: IndividualRecordSettings;
1292
1350
  ingress?: IngressSettings;
1293
1351
  limits?: LimitsSettings;
1352
+ raw_recording?: RawRecordSettings;
1294
1353
  recording?: RecordSettings;
1295
1354
  ring?: RingSettings;
1296
1355
  screensharing?: ScreensharingSettings;
@@ -1305,8 +1364,10 @@ export interface CallSettingsRequest {
1305
1364
  broadcasting?: BroadcastSettingsRequest;
1306
1365
  frame_recording?: FrameRecordingSettingsRequest;
1307
1366
  geofencing?: GeofenceSettingsRequest;
1367
+ individual_recording?: IndividualRecordingSettingsRequest;
1308
1368
  ingress?: IngressSettingsRequest;
1309
1369
  limits?: LimitsSettingsRequest;
1370
+ raw_recording?: RawRecordingSettingsRequest;
1310
1371
  recording?: RecordSettingsRequest;
1311
1372
  ring?: RingSettingsRequest;
1312
1373
  screensharing?: ScreensharingSettingsRequest;
@@ -1321,7 +1382,9 @@ export interface CallSettingsResponse {
1321
1382
  broadcasting: BroadcastSettingsResponse;
1322
1383
  frame_recording: FrameRecordingSettingsResponse;
1323
1384
  geofencing: GeofenceSettingsResponse;
1385
+ individual_recording: IndividualRecordingSettingsResponse;
1324
1386
  limits: LimitsSettingsResponse;
1387
+ raw_recording: RawRecordingSettingsResponse;
1325
1388
  recording: RecordSettingsResponse;
1326
1389
  ring: RingSettingsResponse;
1327
1390
  screensharing: ScreensharingSettingsResponse;
@@ -1391,6 +1454,7 @@ export interface CallStatsParticipantCounts {
1391
1454
  peak_concurrent_users: number;
1392
1455
  publishers: number;
1393
1456
  sessions: number;
1457
+ total_participant_duration?: number;
1394
1458
  }
1395
1459
  export interface CallStatsParticipantSession {
1396
1460
  is_live: boolean;
@@ -1615,7 +1679,7 @@ export interface Channel {
1615
1679
  members_lookup?: Record<string, ChannelMemberLookup>;
1616
1680
  truncated_by?: User;
1617
1681
  }
1618
- export interface ChannelBatchUpdatedCompletedEvent {
1682
+ export interface ChannelBatchCompletedEvent {
1619
1683
  batch_created_at: Date;
1620
1684
  created_at: Date;
1621
1685
  finished_at: Date;
@@ -1628,7 +1692,7 @@ export interface ChannelBatchUpdatedCompletedEvent {
1628
1692
  type: string;
1629
1693
  received_at?: Date;
1630
1694
  }
1631
- export interface ChannelBatchUpdatedStartedEvent {
1695
+ export interface ChannelBatchStartedEvent {
1632
1696
  batch_created_at: Date;
1633
1697
  created_at: Date;
1634
1698
  finished_at: Date;
@@ -2246,6 +2310,7 @@ export interface CommentResponse {
2246
2310
  user: UserResponse;
2247
2311
  controversy_score?: number;
2248
2312
  deleted_at?: Date;
2313
+ edited_at?: Date;
2249
2314
  parent_id?: string;
2250
2315
  text?: string;
2251
2316
  attachments?: Attachment[];
@@ -2266,6 +2331,9 @@ export interface CommentUpdatedEvent {
2266
2331
  }
2267
2332
  export interface CommitMessageRequest {
2268
2333
  }
2334
+ export interface CompositeRecordingResponse {
2335
+ status: string;
2336
+ }
2269
2337
  export interface ConfigOverrides {
2270
2338
  blocklist?: string;
2271
2339
  blocklist_behavior?: 'flag' | 'block';
@@ -2509,6 +2577,22 @@ export interface CreateImportURLResponse {
2509
2577
  path: string;
2510
2578
  upload_url: string;
2511
2579
  }
2580
+ export interface CreateImportV2TaskRequest {
2581
+ product: 'chat' | 'feeds';
2582
+ settings: ImportV2TaskSettings;
2583
+ user_id?: string;
2584
+ user?: UserRequest;
2585
+ }
2586
+ export interface CreateImportV2TaskResponse {
2587
+ app_pk: number;
2588
+ created_at: Date;
2589
+ duration: string;
2590
+ id: string;
2591
+ product: string;
2592
+ state: number;
2593
+ updated_at: Date;
2594
+ settings: ImportV2TaskSettings;
2595
+ }
2512
2596
  export interface CreateMembershipLevelRequest {
2513
2597
  id: string;
2514
2598
  name: string;
@@ -2662,6 +2746,7 @@ export interface DecayFunctionConfig {
2662
2746
  }
2663
2747
  export interface DeleteActivitiesRequest {
2664
2748
  ids: string[];
2749
+ delete_notification_activity?: boolean;
2665
2750
  hard_delete?: boolean;
2666
2751
  user_id?: string;
2667
2752
  user?: UserRequest;
@@ -2763,6 +2848,9 @@ export interface DeleteFeedsBatchResponse {
2763
2848
  duration: string;
2764
2849
  task_id: string;
2765
2850
  }
2851
+ export interface DeleteImportV2TaskResponse {
2852
+ duration: string;
2853
+ }
2766
2854
  export interface DeleteMessageRequest {
2767
2855
  hard_delete?: boolean;
2768
2856
  reason?: string;
@@ -2929,8 +3017,11 @@ export interface EgressRTMPResponse {
2929
3017
  export interface EgressResponse {
2930
3018
  broadcasting: boolean;
2931
3019
  rtmps: EgressRTMPResponse[];
3020
+ composite_recording?: CompositeRecordingResponse;
2932
3021
  frame_recording?: FrameRecordingResponse;
2933
3022
  hls?: EgressHLSResponse;
3023
+ individual_recording?: IndividualRecordingResponse;
3024
+ raw_recording?: RawRecordingResponse;
2934
3025
  }
2935
3026
  export interface EndCallRequest {
2936
3027
  }
@@ -3037,6 +3128,7 @@ export interface EventHook {
3037
3128
  product?: string;
3038
3129
  should_send_custom_events?: boolean;
3039
3130
  sns_auth_type?: string;
3131
+ sns_event_based_message_group_id_enabled?: boolean;
3040
3132
  sns_key?: string;
3041
3133
  sns_region?: string;
3042
3134
  sns_role_arn?: string;
@@ -3603,6 +3695,14 @@ export interface FullUserResponse {
3603
3695
  privacy_settings?: PrivacySettingsResponse;
3604
3696
  teams_role?: Record<string, string>;
3605
3697
  }
3698
+ export interface FutureChannelBanResponse {
3699
+ created_at: Date;
3700
+ expires?: Date;
3701
+ reason?: string;
3702
+ shadow?: boolean;
3703
+ banned_by?: UserResponse;
3704
+ user?: UserResponse;
3705
+ }
3606
3706
  export interface GeofenceResponse {
3607
3707
  name: string;
3608
3708
  description?: string;
@@ -3629,6 +3729,10 @@ export interface GetActivityResponse {
3629
3729
  duration: string;
3630
3730
  activity: ActivityResponse;
3631
3731
  }
3732
+ export interface GetAppealResponse {
3733
+ duration: string;
3734
+ item?: AppealItemResponse;
3735
+ }
3632
3736
  export interface GetApplicationResponse {
3633
3737
  duration: string;
3634
3738
  app: AppResponseFields;
@@ -3790,6 +3894,16 @@ export interface GetImportResponse {
3790
3894
  duration: string;
3791
3895
  import_task?: ImportTask;
3792
3896
  }
3897
+ export interface GetImportV2TaskResponse {
3898
+ app_pk: number;
3899
+ created_at: Date;
3900
+ duration: string;
3901
+ id: string;
3902
+ product: string;
3903
+ state: number;
3904
+ updated_at: Date;
3905
+ settings: ImportV2TaskSettings;
3906
+ }
3793
3907
  export interface GetManyMessagesResponse {
3794
3908
  duration: string;
3795
3909
  messages: MessageResponse[];
@@ -3946,7 +4060,10 @@ export interface GetThreadResponse {
3946
4060
  export interface GoLiveRequest {
3947
4061
  recording_storage_name?: string;
3948
4062
  start_closed_caption?: boolean;
4063
+ start_composite_recording?: boolean;
3949
4064
  start_hls?: boolean;
4065
+ start_individual_recording?: boolean;
4066
+ start_raw_recording?: boolean;
3950
4067
  start_recording?: boolean;
3951
4068
  start_transcription?: boolean;
3952
4069
  transcription_storage_name?: string;
@@ -4061,6 +4178,36 @@ export interface ImportTaskHistory {
4061
4178
  next_state: string;
4062
4179
  prev_state: string;
4063
4180
  }
4181
+ export interface ImportV2TaskItem {
4182
+ app_pk: number;
4183
+ created_at: Date;
4184
+ id: string;
4185
+ product: string;
4186
+ state: number;
4187
+ updated_at: Date;
4188
+ settings: ImportV2TaskSettings;
4189
+ }
4190
+ export interface ImportV2TaskSettings {
4191
+ skip_references_check?: boolean;
4192
+ s3?: ImportV2TaskSettingsS3;
4193
+ }
4194
+ export interface ImportV2TaskSettingsS3 {
4195
+ bucket?: string;
4196
+ dir?: string;
4197
+ region?: string;
4198
+ }
4199
+ export interface IndividualRecordSettings {
4200
+ mode: 'available' | 'disabled' | 'auto-on';
4201
+ }
4202
+ export interface IndividualRecordingResponse {
4203
+ status: string;
4204
+ }
4205
+ export interface IndividualRecordingSettingsRequest {
4206
+ mode: 'available' | 'disabled' | 'auto-on';
4207
+ }
4208
+ export interface IndividualRecordingSettingsResponse {
4209
+ mode: 'available' | 'disabled' | 'auto-on';
4210
+ }
4064
4211
  export interface IngressAudioEncodingOptions {
4065
4212
  bitrate: number;
4066
4213
  channels: '1' | '2';
@@ -4076,6 +4223,15 @@ export interface IngressAudioEncodingResponse {
4076
4223
  channels: number;
4077
4224
  enable_dtx: boolean;
4078
4225
  }
4226
+ export interface IngressErrorEvent {
4227
+ call_cid: string;
4228
+ created_at: Date;
4229
+ error: string;
4230
+ ingress_stream_id: string;
4231
+ user_id: string;
4232
+ type: string;
4233
+ code?: string;
4234
+ }
4079
4235
  export interface IngressSettings {
4080
4236
  enabled: boolean;
4081
4237
  audio_encoding_options?: IngressAudioEncodingOptions;
@@ -4106,6 +4262,24 @@ export interface IngressSourceResponse {
4106
4262
  height: number;
4107
4263
  width: number;
4108
4264
  }
4265
+ export interface IngressStartedEvent {
4266
+ call_cid: string;
4267
+ created_at: Date;
4268
+ ingress_stream_id: string;
4269
+ publisher_type: string;
4270
+ user_id: string;
4271
+ type: string;
4272
+ client_ip?: string;
4273
+ client_name?: string;
4274
+ version?: string;
4275
+ }
4276
+ export interface IngressStoppedEvent {
4277
+ call_cid: string;
4278
+ created_at: Date;
4279
+ ingress_stream_id: string;
4280
+ user_id: string;
4281
+ type: string;
4282
+ }
4109
4283
  export interface IngressVideoEncodingOptions {
4110
4284
  layers: IngressVideoLayer[];
4111
4285
  source?: IngressSource;
@@ -4262,6 +4436,12 @@ export interface ListFeedVisibilitiesResponse {
4262
4436
  duration: string;
4263
4437
  feed_visibilities: Record<string, FeedVisibilityResponse>;
4264
4438
  }
4439
+ export interface ListImportV2TasksResponse {
4440
+ duration: string;
4441
+ import_tasks: ImportV2TaskItem[];
4442
+ next?: string;
4443
+ prev?: string;
4444
+ }
4265
4445
  export interface ListImportsResponse {
4266
4446
  duration: string;
4267
4447
  import_tasks: ImportTask[];
@@ -4331,6 +4511,7 @@ export interface MarkReadResponse {
4331
4511
  }
4332
4512
  export interface MarkReviewedRequest {
4333
4513
  content_to_mark_as_reviewed_limit?: number;
4514
+ decision_reason?: string;
4334
4515
  disable_marking_content_as_reviewed?: boolean;
4335
4516
  }
4336
4517
  export interface MarkUnreadRequest {
@@ -5025,11 +5206,15 @@ export declare const OwnCapability: {
5025
5206
  readonly START_BROADCAST_CALL: "start-broadcast-call";
5026
5207
  readonly START_CLOSED_CAPTIONS_CALL: "start-closed-captions-call";
5027
5208
  readonly START_FRAME_RECORD_CALL: "start-frame-record-call";
5209
+ readonly START_INDIVIDUAL_RECORD_CALL: "start-individual-record-call";
5210
+ readonly START_RAW_RECORD_CALL: "start-raw-record-call";
5028
5211
  readonly START_RECORD_CALL: "start-record-call";
5029
5212
  readonly START_TRANSCRIPTION_CALL: "start-transcription-call";
5030
5213
  readonly STOP_BROADCAST_CALL: "stop-broadcast-call";
5031
5214
  readonly STOP_CLOSED_CAPTIONS_CALL: "stop-closed-captions-call";
5032
5215
  readonly STOP_FRAME_RECORD_CALL: "stop-frame-record-call";
5216
+ readonly STOP_INDIVIDUAL_RECORD_CALL: "stop-individual-record-call";
5217
+ readonly STOP_RAW_RECORD_CALL: "stop-raw-record-call";
5033
5218
  readonly STOP_RECORD_CALL: "stop-record-call";
5034
5219
  readonly STOP_TRANSCRIPTION_CALL: "stop-transcription-call";
5035
5220
  readonly UPDATE_CALL: "update-call";
@@ -5178,6 +5363,15 @@ export interface ParticipantSeriesUserStats {
5178
5363
  metrics_meta?: Record<string, MetricDescriptor>;
5179
5364
  thresholds?: Record<string, MetricThreshold[]>;
5180
5365
  }
5366
+ export interface ParticipantSessionDetails {
5367
+ publisher_type: string;
5368
+ user_id: string;
5369
+ user_session_id: string;
5370
+ roles: string[];
5371
+ duration_in_seconds?: number;
5372
+ joined_at?: Date;
5373
+ left_at?: Date;
5374
+ }
5181
5375
  export interface PendingMessageEvent {
5182
5376
  created_at: Date;
5183
5377
  method: string;
@@ -5566,6 +5760,21 @@ export interface QueryAggregateCallStatsResponse {
5566
5760
  sdk_usage_report?: SDKUsageReportResponse;
5567
5761
  user_feedback_report?: UserFeedbackReportResponse;
5568
5762
  }
5763
+ export interface QueryAppealsRequest {
5764
+ limit?: number;
5765
+ next?: string;
5766
+ prev?: string;
5767
+ user_id?: string;
5768
+ sort?: SortParamRequest[];
5769
+ filter?: Record<string, any>;
5770
+ user?: UserRequest;
5771
+ }
5772
+ export interface QueryAppealsResponse {
5773
+ duration: string;
5774
+ items: AppealItemResponse[];
5775
+ next?: string;
5776
+ prev?: string;
5777
+ }
5569
5778
  export interface QueryBannedUsersPayload {
5570
5779
  filter_conditions: Record<string, any>;
5571
5780
  exclude_expired_bans?: boolean;
@@ -5620,6 +5829,18 @@ export interface QueryCallMembersResponse {
5620
5829
  next?: string;
5621
5830
  prev?: string;
5622
5831
  }
5832
+ export interface QueryCallParticipantSessionsResponse {
5833
+ call_id: string;
5834
+ call_session_id: string;
5835
+ call_type: string;
5836
+ duration: number;
5837
+ total_participant_duration: number;
5838
+ total_participant_sessions: number;
5839
+ participants_sessions: ParticipantSessionDetails[];
5840
+ next?: string;
5841
+ prev?: string;
5842
+ session?: CallSessionResponse;
5843
+ }
5623
5844
  export interface QueryCallParticipantsRequest {
5624
5845
  filter_conditions?: Record<string, any>;
5625
5846
  }
@@ -5714,10 +5935,13 @@ export interface QueryChannelsRequest {
5714
5935
  member_limit?: number;
5715
5936
  message_limit?: number;
5716
5937
  offset?: number;
5938
+ predefined_filter?: string;
5717
5939
  state?: boolean;
5718
5940
  user_id?: string;
5719
5941
  sort?: SortParamRequest[];
5720
5942
  filter_conditions?: Record<string, any>;
5943
+ filter_values?: Record<string, any>;
5944
+ sort_values?: Record<string, any>;
5721
5945
  user?: UserRequest;
5722
5946
  }
5723
5947
  export interface QueryChannelsResponse {
@@ -5826,6 +6050,18 @@ export interface QueryFollowsResponse {
5826
6050
  next?: string;
5827
6051
  prev?: string;
5828
6052
  }
6053
+ export interface QueryFutureChannelBansPayload {
6054
+ exclude_expired_bans?: boolean;
6055
+ limit?: number;
6056
+ offset?: number;
6057
+ target_user_id?: string;
6058
+ user_id?: string;
6059
+ user?: UserRequest;
6060
+ }
6061
+ export interface QueryFutureChannelBansResponse {
6062
+ duration: string;
6063
+ bans: FutureChannelBanResponse[];
6064
+ }
5829
6065
  export interface QueryMembersPayload {
5830
6066
  type: string;
5831
6067
  filter_conditions: Record<string, any>;
@@ -6252,6 +6488,9 @@ export interface RecordSettingsResponse {
6252
6488
  quality: string;
6253
6489
  layout: LayoutSettingsResponse;
6254
6490
  }
6491
+ export interface RejectAppealRequest {
6492
+ decision_reason: string;
6493
+ }
6255
6494
  export interface RejectFeedMemberInviteRequest {
6256
6495
  user_id?: string;
6257
6496
  user?: UserRequest;
@@ -6345,6 +6584,7 @@ export interface ResolveSipInboundRequest {
6345
6584
  sip_caller_number: string;
6346
6585
  sip_trunk_number: string;
6347
6586
  challenge: SIPChallenge;
6587
+ routing_number?: string;
6348
6588
  sip_headers?: Record<string, string>;
6349
6589
  }
6350
6590
  export interface ResolveSipInboundResponse {
@@ -6357,6 +6597,7 @@ export interface Response {
6357
6597
  duration: string;
6358
6598
  }
6359
6599
  export interface RestoreActionRequest {
6600
+ decision_reason?: string;
6360
6601
  }
6361
6602
  export interface RestoreUsersRequest {
6362
6603
  user_ids: string[];
@@ -6393,6 +6634,7 @@ export interface ReviewQueueItemResponse {
6393
6634
  reviewed_at?: Date;
6394
6635
  teams?: string[];
6395
6636
  activity?: EnrichedActivity;
6637
+ appeal?: AppealItemResponse;
6396
6638
  assigned_to?: UserResponse;
6397
6639
  call?: CallResponse;
6398
6640
  entity_creator?: EntityCreatorResponse;
@@ -6460,6 +6702,8 @@ export interface RuleBuilderCondition {
6460
6702
  user_created_within_params?: UserCreatedWithinParameters;
6461
6703
  user_custom_property_params?: UserCustomPropertyParameters;
6462
6704
  user_flag_count_rule_params?: FlagCountRuleParameters;
6705
+ user_identical_content_count_params?: UserIdenticalContentCountParameters;
6706
+ user_role_params?: UserRoleParameters;
6463
6707
  user_rule_params?: UserRuleParameters;
6464
6708
  video_content_params?: VideoContentParameters;
6465
6709
  video_rule_params?: VideoRuleParameters;
@@ -6622,6 +6866,8 @@ export interface ScreensharingSettingsResponse {
6622
6866
  }
6623
6867
  export interface SearchPayload {
6624
6868
  filter_conditions: Record<string, any>;
6869
+ force_default_search?: boolean;
6870
+ force_sql_v2_backend?: boolean;
6625
6871
  limit?: number;
6626
6872
  next?: string;
6627
6873
  offset?: number;
@@ -6850,10 +7096,12 @@ export interface SipInboundCredentials {
6850
7096
  export interface SortParam {
6851
7097
  direction?: number;
6852
7098
  field?: string;
7099
+ type?: string;
6853
7100
  }
6854
7101
  export interface SortParamRequest {
6855
7102
  direction?: number;
6856
7103
  field?: string;
7104
+ type?: '' | 'number' | 'boolean';
6857
7105
  }
6858
7106
  export interface SpeechSegmentConfig {
6859
7107
  max_speech_caption_ms?: number;
@@ -6934,7 +7182,10 @@ export interface StopHLSBroadcastingResponse {
6934
7182
  }
6935
7183
  export interface StopLiveRequest {
6936
7184
  continue_closed_caption?: boolean;
7185
+ continue_composite_recording?: boolean;
6937
7186
  continue_hls?: boolean;
7187
+ continue_individual_recording?: boolean;
7188
+ continue_raw_recording?: boolean;
6938
7189
  continue_recording?: boolean;
6939
7190
  continue_rtmp_broadcasts?: boolean;
6940
7191
  continue_transcription?: boolean;
@@ -6975,8 +7226,9 @@ export interface StoriesFeedUpdatedEvent {
6975
7226
  user?: UserResponseCommonFields;
6976
7227
  }
6977
7228
  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
- item_id: string;
7229
+ 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';
7230
+ appeal_id?: string;
7231
+ item_id?: string;
6980
7232
  user_id?: string;
6981
7233
  ban?: BanActionRequest;
6982
7234
  block?: BlockActionRequest;
@@ -6987,12 +7239,16 @@ export interface SubmitActionRequest {
6987
7239
  delete_reaction?: DeleteReactionRequest;
6988
7240
  delete_user?: DeleteUserRequest;
6989
7241
  mark_reviewed?: MarkReviewedRequest;
7242
+ reject_appeal?: RejectAppealRequest;
7243
+ restore?: RestoreActionRequest;
6990
7244
  shadow_block?: ShadowBlockActionRequest;
6991
7245
  unban?: UnbanActionRequest;
7246
+ unblock?: UnblockActionRequest;
6992
7247
  user?: UserRequest;
6993
7248
  }
6994
7249
  export interface SubmitActionResponse {
6995
7250
  duration: string;
7251
+ appeal_item?: AppealItemResponse;
6996
7252
  item?: ReviewQueueItemResponse;
6997
7253
  }
6998
7254
  export interface SubscriberAllMetrics {
@@ -7032,11 +7288,13 @@ export interface TextContentParameters {
7032
7288
  }
7033
7289
  export interface TextRuleParameters {
7034
7290
  contains_url?: boolean;
7291
+ semantic_filter_min_threshold?: number;
7035
7292
  severity?: string;
7036
7293
  threshold?: number;
7037
7294
  time_window?: string;
7038
7295
  blocklist_match?: string[];
7039
7296
  harm_labels?: string[];
7297
+ semantic_filter_names?: string[];
7040
7298
  llm_harm_labels?: Record<string, string>;
7041
7299
  }
7042
7300
  export interface ThreadParticipant {
@@ -7117,6 +7375,7 @@ export interface ThreadedCommentResponse {
7117
7375
  user: UserResponse;
7118
7376
  controversy_score?: number;
7119
7377
  deleted_at?: Date;
7378
+ edited_at?: Date;
7120
7379
  parent_id?: string;
7121
7380
  text?: string;
7122
7381
  attachments?: Attachment[];
@@ -7199,6 +7458,7 @@ export interface TypingIndicatorsResponse {
7199
7458
  enabled?: boolean;
7200
7459
  }
7201
7460
  export interface UnbanActionRequest {
7461
+ decision_reason?: string;
7202
7462
  }
7203
7463
  export interface UnbanRequest {
7204
7464
  unbanned_by_id?: string;
@@ -7208,6 +7468,7 @@ export interface UnbanResponse {
7208
7468
  duration: string;
7209
7469
  }
7210
7470
  export interface UnblockActionRequest {
7471
+ decision_reason?: string;
7211
7472
  }
7212
7473
  export interface UnblockUserRequest {
7213
7474
  user_id: string;
@@ -7231,6 +7492,7 @@ export interface UnblockedUserEvent {
7231
7492
  }
7232
7493
  export interface UnfollowBatchRequest {
7233
7494
  follows: FollowPair[];
7495
+ delete_notification_activity?: boolean;
7234
7496
  }
7235
7497
  export interface UnfollowBatchResponse {
7236
7498
  duration: string;
@@ -7300,6 +7562,7 @@ export interface UnreadCountsThread {
7300
7562
  unread_count: number;
7301
7563
  }
7302
7564
  export interface UpdateActivityPartialRequest {
7565
+ handle_mention_notifications?: boolean;
7303
7566
  user_id?: string;
7304
7567
  unset?: string[];
7305
7568
  set?: Record<string, any>;
@@ -7311,12 +7574,14 @@ export interface UpdateActivityPartialResponse {
7311
7574
  }
7312
7575
  export interface UpdateActivityRequest {
7313
7576
  expires_at?: Date;
7577
+ handle_mention_notifications?: boolean;
7314
7578
  poll_id?: string;
7315
7579
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
7316
7580
  skip_enrich_url?: boolean;
7317
7581
  text?: string;
7318
7582
  user_id?: string;
7319
- visibility?: string;
7583
+ visibility?: 'public' | 'private' | 'tag';
7584
+ visibility_tag?: string;
7320
7585
  attachments?: Attachment[];
7321
7586
  collection_refs?: string[];
7322
7587
  feeds?: string[];
@@ -7583,10 +7848,12 @@ export interface UpdateCommandResponse {
7583
7848
  }
7584
7849
  export interface UpdateCommentRequest {
7585
7850
  comment?: string;
7851
+ handle_mention_notifications?: boolean;
7586
7852
  skip_enrich_url?: boolean;
7587
7853
  skip_push?: boolean;
7588
7854
  user_id?: string;
7589
7855
  attachments?: Attachment[];
7856
+ mentioned_user_ids?: string[];
7590
7857
  custom?: Record<string, any>;
7591
7858
  user?: UserRequest;
7592
7859
  }
@@ -7853,6 +8120,7 @@ export interface UpsertActivitiesRequest {
7853
8120
  export interface UpsertActivitiesResponse {
7854
8121
  duration: string;
7855
8122
  activities: ActivityResponse[];
8123
+ mention_notifications_created?: number;
7856
8124
  }
7857
8125
  export interface UpsertCollectionsRequest {
7858
8126
  collections: CollectionRequest[];
@@ -8016,6 +8284,10 @@ export interface UserFlaggedEvent {
8016
8284
  target_users?: string[];
8017
8285
  user?: User;
8018
8286
  }
8287
+ export interface UserIdenticalContentCountParameters {
8288
+ threshold?: number;
8289
+ time_window?: string;
8290
+ }
8019
8291
  export interface UserMessagesDeletedEvent {
8020
8292
  created_at: Date;
8021
8293
  custom: Record<string, any>;
@@ -8141,6 +8413,10 @@ export interface UserResponsePrivacyFields {
8141
8413
  privacy_settings?: PrivacySettingsResponse;
8142
8414
  teams_role?: Record<string, string>;
8143
8415
  }
8416
+ export interface UserRoleParameters {
8417
+ operator?: string;
8418
+ role?: string;
8419
+ }
8144
8420
  export interface UserRuleParameters {
8145
8421
  max_age?: string;
8146
8422
  }
@@ -8285,6 +8561,12 @@ export type WebhookEvent = ({
8285
8561
  } & AnyEvent) | ({
8286
8562
  type: 'activity.marked';
8287
8563
  } & ActivityMarkedEvent) | ({
8564
+ type: 'appeal.accepted';
8565
+ } & AppealAcceptedEvent) | ({
8566
+ type: 'appeal.created';
8567
+ } & AppealCreatedEvent) | ({
8568
+ type: 'appeal.rejected';
8569
+ } & AppealRejectedEvent) | ({
8288
8570
  type: 'call.accepted';
8289
8571
  } & CallAcceptedEvent) | ({
8290
8572
  type: 'call.blocked_user';
@@ -8414,9 +8696,9 @@ export type WebhookEvent = ({
8414
8696
  type: 'channel.visible';
8415
8697
  } & ChannelVisibleEvent) | ({
8416
8698
  type: 'channel_batch_update.completed';
8417
- } & ChannelBatchUpdatedCompletedEvent) | ({
8699
+ } & ChannelBatchCompletedEvent) | ({
8418
8700
  type: 'channel_batch_update.started';
8419
- } & ChannelBatchUpdatedStartedEvent) | ({
8701
+ } & ChannelBatchStartedEvent) | ({
8420
8702
  type: 'custom';
8421
8703
  } & CustomVideoEvent) | ({
8422
8704
  type: 'export.bulk_image_moderation.error';
@@ -8507,6 +8789,12 @@ export type WebhookEvent = ({
8507
8789
  } & StoriesFeedUpdatedEvent) | ({
8508
8790
  type: 'flag.updated';
8509
8791
  } & FlagUpdatedEvent) | ({
8792
+ type: 'ingress.error';
8793
+ } & IngressErrorEvent) | ({
8794
+ type: 'ingress.started';
8795
+ } & IngressStartedEvent) | ({
8796
+ type: 'ingress.stopped';
8797
+ } & IngressStoppedEvent) | ({
8510
8798
  type: 'member.added';
8511
8799
  } & MemberAddedEvent) | ({
8512
8800
  type: 'member.removed';