@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.
@@ -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;
@@ -694,6 +698,8 @@ export interface AddActivityRequest {
694
698
 
695
699
  feeds: string[];
696
700
 
701
+ create_notification_activity?: boolean;
702
+
697
703
  expires_at?: string;
698
704
 
699
705
  id?: string;
@@ -706,6 +712,8 @@ export interface AddActivityRequest {
706
712
 
707
713
  skip_enrich_url?: boolean;
708
714
 
715
+ skip_push?: boolean;
716
+
709
717
  text?: string;
710
718
 
711
719
  user_id?: string;
@@ -735,6 +743,8 @@ export interface AddActivityResponse {
735
743
  duration: string;
736
744
 
737
745
  activity: ActivityResponse;
746
+
747
+ mention_notifications_created?: number;
738
748
  }
739
749
 
740
750
  export interface AddBookmarkRequest {
@@ -814,6 +824,8 @@ export interface AddCommentResponse {
814
824
 
815
825
  comment: CommentResponse;
816
826
 
827
+ mention_notifications_created?: number;
828
+
817
829
  notification_created?: boolean;
818
830
  }
819
831
 
@@ -995,6 +1007,86 @@ export interface AppResponseFields {
995
1007
  moderation_dashboard_preferences?: ModerationDashboardPreferences;
996
1008
  }
997
1009
 
1010
+ export interface AppealAcceptedEvent {
1011
+ created_at: Date;
1012
+
1013
+ custom: Record<string, any>;
1014
+
1015
+ type: string;
1016
+
1017
+ received_at?: Date;
1018
+
1019
+ appeal?: AppealItemResponse;
1020
+ }
1021
+
1022
+ export interface AppealCreatedEvent {
1023
+ created_at: Date;
1024
+
1025
+ custom: Record<string, any>;
1026
+
1027
+ type: string;
1028
+
1029
+ received_at?: Date;
1030
+
1031
+ appeal?: AppealItemResponse;
1032
+ }
1033
+
1034
+ export interface AppealItemResponse {
1035
+ appeal_reason: string;
1036
+
1037
+ created_at: Date;
1038
+
1039
+ entity_id: string;
1040
+
1041
+ entity_type: string;
1042
+
1043
+ id: string;
1044
+
1045
+ status: string;
1046
+
1047
+ updated_at: Date;
1048
+
1049
+ decision_reason?: string;
1050
+
1051
+ attachments?: string[];
1052
+
1053
+ entity_content?: ModerationPayload;
1054
+
1055
+ user?: UserResponse;
1056
+ }
1057
+
1058
+ export interface AppealRejectedEvent {
1059
+ created_at: Date;
1060
+
1061
+ custom: Record<string, any>;
1062
+
1063
+ type: string;
1064
+
1065
+ received_at?: Date;
1066
+
1067
+ appeal?: AppealItemResponse;
1068
+ }
1069
+
1070
+ export interface AppealRequest {
1071
+ appeal_reason: string;
1072
+
1073
+ entity_id: string;
1074
+
1075
+ entity_type: string;
1076
+
1077
+ user_id?: string;
1078
+
1079
+ attachments?: string[];
1080
+
1081
+ user?: UserRequest;
1082
+ }
1083
+
1084
+ export interface AppealResponse {
1085
+ appeal_id: string;
1086
+
1087
+ duration: string;
1088
+ }
1089
+
998
1090
  export interface AsyncBulkImageModerationEvent {
999
1091
  created_at: Date;
1000
1092
 
@@ -2009,6 +2101,8 @@ export interface CallRecordingFailedEvent {
2009
2101
 
2010
2102
  egress_id: string;
2011
2103
 
2104
+ recording_type: 'composite' | 'individual' | 'raw';
2105
+
2012
2106
  type: string;
2013
2107
  }
2014
2108
 
@@ -2019,6 +2113,8 @@ export interface CallRecordingReadyEvent {
2019
2113
 
2020
2114
  egress_id: string;
2021
2115
 
2116
+ recording_type: 'composite' | 'individual' | 'raw';
2117
+
2022
2118
  call_recording: CallRecording;
2023
2119
 
2024
2120
  type: string;
@@ -2031,6 +2127,8 @@ export interface CallRecordingStartedEvent {
2031
2127
 
2032
2128
  egress_id: string;
2033
2129
 
2130
+ recording_type: 'composite' | 'individual' | 'raw';
2131
+
2034
2132
  type: string;
2035
2133
  }
2036
2134
 
@@ -2041,6 +2139,8 @@ export interface CallRecordingStoppedEvent {
2041
2139
 
2042
2140
  egress_id: string;
2043
2141
 
2142
+ recording_type: 'composite' | 'individual' | 'raw';
2143
+
2044
2144
  type: string;
2045
2145
  }
2046
2146
 
@@ -2127,6 +2227,8 @@ export interface CallResponse {
2127
2227
 
2128
2228
  join_ahead_time_seconds?: number;
2129
2229
 
2230
+ routing_number?: string;
2231
+
2130
2232
  starts_at?: Date;
2131
2233
 
2132
2234
  team?: string;
@@ -2287,10 +2389,14 @@ export interface CallSettings {
2287
2389
 
2288
2390
  geofencing?: GeofenceSettings;
2289
2391
 
2392
+ individual_recording?: IndividualRecordSettings;
2393
+
2290
2394
  ingress?: IngressSettings;
2291
2395
 
2292
2396
  limits?: LimitsSettings;
2293
2397
 
2398
+ raw_recording?: RawRecordSettings;
2399
+
2294
2400
  recording?: RecordSettings;
2295
2401
 
2296
2402
  ring?: RingSettings;
@@ -2317,10 +2423,14 @@ export interface CallSettingsRequest {
2317
2423
 
2318
2424
  geofencing?: GeofenceSettingsRequest;
2319
2425
 
2426
+ individual_recording?: IndividualRecordingSettingsRequest;
2427
+
2320
2428
  ingress?: IngressSettingsRequest;
2321
2429
 
2322
2430
  limits?: LimitsSettingsRequest;
2323
2431
 
2432
+ raw_recording?: RawRecordingSettingsRequest;
2433
+
2324
2434
  recording?: RecordSettingsRequest;
2325
2435
 
2326
2436
  ring?: RingSettingsRequest;
@@ -2347,8 +2457,12 @@ export interface CallSettingsResponse {
2347
2457
 
2348
2458
  geofencing: GeofenceSettingsResponse;
2349
2459
 
2460
+ individual_recording: IndividualRecordingSettingsResponse;
2461
+
2350
2462
  limits: LimitsSettingsResponse;
2351
2463
 
2464
+ raw_recording: RawRecordingSettingsResponse;
2465
+
2352
2466
  recording: RecordSettingsResponse;
2353
2467
 
2354
2468
  ring: RingSettingsResponse;
@@ -2466,6 +2580,8 @@ export interface CallStatsParticipantCounts {
2466
2580
  publishers: number;
2467
2581
 
2468
2582
  sessions: number;
2583
+
2584
+ total_participant_duration?: number;
2469
2585
  }
2470
2586
 
2471
2587
  export interface CallStatsParticipantSession {
@@ -2866,7 +2982,7 @@ export interface Channel {
2866
2982
  truncated_by?: User;
2867
2983
  }
2868
2984
 
2869
- export interface ChannelBatchUpdatedCompletedEvent {
2985
+ export interface ChannelBatchCompletedEvent {
2870
2986
  batch_created_at: Date;
2871
2987
 
2872
2988
  created_at: Date;
@@ -2890,7 +3006,7 @@ export interface ChannelBatchUpdatedCompletedEvent {
2890
3006
  received_at?: Date;
2891
3007
  }
2892
3008
 
2893
- export interface ChannelBatchUpdatedStartedEvent {
3009
+ export interface ChannelBatchStartedEvent {
2894
3010
  batch_created_at: Date;
2895
3011
 
2896
3012
  created_at: Date;
@@ -3992,6 +4108,8 @@ export interface CommentResponse {
3992
4108
 
3993
4109
  deleted_at?: Date;
3994
4110
 
4111
+ edited_at?: Date;
4112
+
3995
4113
  parent_id?: string;
3996
4114
 
3997
4115
  text?: string;
@@ -4027,6 +4145,10 @@ export interface CommentUpdatedEvent {
4027
4145
 
4028
4146
  export interface CommitMessageRequest {}
4029
4147
 
4148
+ export interface CompositeRecordingResponse {
4149
+ status: string;
4150
+ }
4151
+
4030
4152
  export interface ConfigOverrides {
4031
4153
  blocklist?: string;
4032
4154
 
@@ -4464,6 +4586,34 @@ export interface CreateImportURLResponse {
4464
4586
  upload_url: string;
4465
4587
  }
4466
4588
 
4589
+ export interface CreateImportV2TaskRequest {
4590
+ product: 'chat' | 'feeds';
4591
+
4592
+ settings: ImportV2TaskSettings;
4593
+
4594
+ user_id?: string;
4595
+
4596
+ user?: UserRequest;
4597
+ }
4598
+
4599
+ export interface CreateImportV2TaskResponse {
4600
+ app_pk: number;
4601
+
4602
+ created_at: Date;
4603
+
4604
+ duration: string;
4605
+
4606
+ id: string;
4607
+
4608
+ product: string;
4609
+
4610
+ state: number;
4611
+
4612
+ updated_at: Date;
4613
+
4614
+ settings: ImportV2TaskSettings;
4615
+ }
4616
+
4467
4617
  export interface CreateMembershipLevelRequest {
4468
4618
  id: string;
4469
4619
 
@@ -4711,6 +4861,8 @@ export interface DecayFunctionConfig {
4711
4861
  export interface DeleteActivitiesRequest {
4712
4862
  ids: string[];
4713
4863
 
4864
+ delete_notification_activity?: boolean;
4865
+
4714
4866
  hard_delete?: boolean;
4715
4867
 
4716
4868
  user_id?: string;
@@ -4862,6 +5014,10 @@ export interface DeleteFeedsBatchResponse {
4862
5014
  task_id: string;
4863
5015
  }
4864
5016
 
5017
+ export interface DeleteImportV2TaskResponse {
5018
+ duration: string;
5019
+ }
5020
+
4865
5021
  export interface DeleteMessageRequest {
4866
5022
  hard_delete?: boolean;
4867
5023
 
@@ -5135,9 +5291,15 @@ export interface EgressResponse {
5135
5291
 
5136
5292
  rtmps: EgressRTMPResponse[];
5137
5293
 
5294
+ composite_recording?: CompositeRecordingResponse;
5295
+
5138
5296
  frame_recording?: FrameRecordingResponse;
5139
5297
 
5140
5298
  hls?: EgressHLSResponse;
5299
+
5300
+ individual_recording?: IndividualRecordingResponse;
5301
+
5302
+ raw_recording?: RawRecordingResponse;
5141
5303
  }
5142
5304
 
5143
5305
  export interface EndCallRequest {}
@@ -5333,6 +5495,8 @@ export interface EventHook {
5333
5495
 
5334
5496
  sns_auth_type?: string;
5335
5497
 
5498
+ sns_event_based_message_group_id_enabled?: boolean;
5499
+
5336
5500
  sns_key?: string;
5337
5501
 
5338
5502
  sns_region?: string;
@@ -6306,6 +6470,20 @@ export interface FullUserResponse {
6306
6470
  teams_role?: Record<string, string>;
6307
6471
  }
6308
6472
 
6473
+ export interface FutureChannelBanResponse {
6474
+ created_at: Date;
6475
+
6476
+ expires?: Date;
6477
+
6478
+ reason?: string;
6479
+
6480
+ shadow?: boolean;
6481
+
6482
+ banned_by?: UserResponse;
6483
+
6484
+ user?: UserResponse;
6485
+ }
6486
+
6309
6487
  export interface GeofenceResponse {
6310
6488
  name: string;
6311
6489
 
@@ -6346,6 +6524,12 @@ export interface GetActivityResponse {
6346
6524
  activity: ActivityResponse;
6347
6525
  }
6348
6526
 
6527
+ export interface GetAppealResponse {
6528
+ duration: string;
6529
+
6530
+ item?: AppealItemResponse;
6531
+ }
6532
+
6349
6533
  export interface GetApplicationResponse {
6350
6534
  duration: string;
6351
6535
 
@@ -6622,6 +6806,24 @@ export interface GetImportResponse {
6622
6806
  import_task?: ImportTask;
6623
6807
  }
6624
6808
 
6809
+ export interface GetImportV2TaskResponse {
6810
+ app_pk: number;
6811
+
6812
+ created_at: Date;
6813
+
6814
+ duration: string;
6815
+
6816
+ id: string;
6817
+
6818
+ product: string;
6819
+
6820
+ state: number;
6821
+
6822
+ updated_at: Date;
6823
+
6824
+ settings: ImportV2TaskSettings;
6825
+ }
6826
+
6625
6827
  export interface GetManyMessagesResponse {
6626
6828
  duration: string;
6627
6829
 
@@ -6898,8 +7100,14 @@ export interface GoLiveRequest {
6898
7100
 
6899
7101
  start_closed_caption?: boolean;
6900
7102
 
7103
+ start_composite_recording?: boolean;
7104
+
6901
7105
  start_hls?: boolean;
6902
7106
 
7107
+ start_individual_recording?: boolean;
7108
+
7109
+ start_raw_recording?: boolean;
7110
+
6903
7111
  start_recording?: boolean;
6904
7112
 
6905
7113
  start_transcription?: boolean;
@@ -7087,6 +7295,52 @@ export interface ImportTaskHistory {
7087
7295
  prev_state: string;
7088
7296
  }
7089
7297
 
7298
+ export interface ImportV2TaskItem {
7299
+ app_pk: number;
7300
+
7301
+ created_at: Date;
7302
+
7303
+ id: string;
7304
+
7305
+ product: string;
7306
+
7307
+ state: number;
7308
+
7309
+ updated_at: Date;
7310
+
7311
+ settings: ImportV2TaskSettings;
7312
+ }
7313
+
7314
+ export interface ImportV2TaskSettings {
7315
+ skip_references_check?: boolean;
7316
+
7317
+ s3?: ImportV2TaskSettingsS3;
7318
+ }
7319
+
7320
+ export interface ImportV2TaskSettingsS3 {
7321
+ bucket?: string;
7322
+
7323
+ dir?: string;
7324
+
7325
+ region?: string;
7326
+ }
7327
+
7328
+ export interface IndividualRecordSettings {
7329
+ mode: 'available' | 'disabled' | 'auto-on';
7330
+ }
7331
+
7332
+ export interface IndividualRecordingResponse {
7333
+ status: string;
7334
+ }
7335
+
7336
+ export interface IndividualRecordingSettingsRequest {
7337
+ mode: 'available' | 'disabled' | 'auto-on';
7338
+ }
7339
+
7340
+ export interface IndividualRecordingSettingsResponse {
7341
+ mode: 'available' | 'disabled' | 'auto-on';
7342
+ }
7343
+
7090
7344
  export interface IngressAudioEncodingOptions {
7091
7345
  bitrate: number;
7092
7346
 
@@ -7111,6 +7365,22 @@ export interface IngressAudioEncodingResponse {
7111
7365
  enable_dtx: boolean;
7112
7366
  }
7113
7367
 
7368
+ export interface IngressErrorEvent {
7369
+ call_cid: string;
7370
+
7371
+ created_at: Date;
7372
+
7373
+ error: string;
7374
+
7375
+ ingress_stream_id: string;
7376
+
7377
+ user_id: string;
7378
+
7379
+ type: string;
7380
+
7381
+ code?: string;
7382
+ }
7383
+
7114
7384
  export interface IngressSettings {
7115
7385
  enabled: boolean;
7116
7386
 
@@ -7159,6 +7429,38 @@ export interface IngressSourceResponse {
7159
7429
  width: number;
7160
7430
  }
7161
7431
 
7432
+ export interface IngressStartedEvent {
7433
+ call_cid: string;
7434
+
7435
+ created_at: Date;
7436
+
7437
+ ingress_stream_id: string;
7438
+
7439
+ publisher_type: string;
7440
+
7441
+ user_id: string;
7442
+
7443
+ type: string;
7444
+
7445
+ client_ip?: string;
7446
+
7447
+ client_name?: string;
7448
+
7449
+ version?: string;
7450
+ }
7451
+
7452
+ export interface IngressStoppedEvent {
7453
+ call_cid: string;
7454
+
7455
+ created_at: Date;
7456
+
7457
+ ingress_stream_id: string;
7458
+
7459
+ user_id: string;
7460
+
7461
+ type: string;
7462
+ }
7463
+
7162
7464
  export interface IngressVideoEncodingOptions {
7163
7465
  layers: IngressVideoLayer[];
7164
7466
 
@@ -7418,6 +7720,16 @@ export interface ListFeedVisibilitiesResponse {
7418
7720
  feed_visibilities: Record<string, FeedVisibilityResponse>;
7419
7721
  }
7420
7722
 
7723
+ export interface ListImportV2TasksResponse {
7724
+ duration: string;
7725
+
7726
+ import_tasks: ImportV2TaskItem[];
7727
+
7728
+ next?: string;
7729
+
7730
+ prev?: string;
7731
+ }
7732
+
7421
7733
  export interface ListImportsResponse {
7422
7734
  duration: string;
7423
7735
 
@@ -7525,6 +7837,8 @@ export interface MarkReadResponse {
7525
7837
  export interface MarkReviewedRequest {
7526
7838
  content_to_mark_as_reviewed_limit?: number;
7527
7839
 
7840
+ decision_reason?: string;
7841
+
7528
7842
  disable_marking_content_as_reviewed?: boolean;
7529
7843
  }
7530
7844
 
@@ -8766,11 +9080,15 @@ export const OwnCapability = {
8766
9080
  START_BROADCAST_CALL: 'start-broadcast-call',
8767
9081
  START_CLOSED_CAPTIONS_CALL: 'start-closed-captions-call',
8768
9082
  START_FRAME_RECORD_CALL: 'start-frame-record-call',
9083
+ START_INDIVIDUAL_RECORD_CALL: 'start-individual-record-call',
9084
+ START_RAW_RECORD_CALL: 'start-raw-record-call',
8769
9085
  START_RECORD_CALL: 'start-record-call',
8770
9086
  START_TRANSCRIPTION_CALL: 'start-transcription-call',
8771
9087
  STOP_BROADCAST_CALL: 'stop-broadcast-call',
8772
9088
  STOP_CLOSED_CAPTIONS_CALL: 'stop-closed-captions-call',
8773
9089
  STOP_FRAME_RECORD_CALL: 'stop-frame-record-call',
9090
+ STOP_INDIVIDUAL_RECORD_CALL: 'stop-individual-record-call',
9091
+ STOP_RAW_RECORD_CALL: 'stop-raw-record-call',
8774
9092
  STOP_RECORD_CALL: 'stop-record-call',
8775
9093
  STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
8776
9094
  UPDATE_CALL: 'update-call',
@@ -9034,6 +9352,22 @@ export interface ParticipantSeriesUserStats {
9034
9352
  thresholds?: Record<string, MetricThreshold[]>;
9035
9353
  }
9036
9354
 
9355
+ export interface ParticipantSessionDetails {
9356
+ publisher_type: string;
9357
+
9358
+ user_id: string;
9359
+
9360
+ user_session_id: string;
9361
+
9362
+ roles: string[];
9363
+
9364
+ duration_in_seconds?: number;
9365
+
9366
+ joined_at?: Date;
9367
+
9368
+ left_at?: Date;
9369
+ }
9370
+
9037
9371
  export interface PendingMessageEvent {
9038
9372
  created_at: Date;
9039
9373
 
@@ -9720,6 +10054,32 @@ export interface QueryAggregateCallStatsResponse {
9720
10054
  user_feedback_report?: UserFeedbackReportResponse;
9721
10055
  }
9722
10056
 
10057
+ export interface QueryAppealsRequest {
10058
+ limit?: number;
10059
+
10060
+ next?: string;
10061
+
10062
+ prev?: string;
10063
+
10064
+ user_id?: string;
10065
+
10066
+ sort?: SortParamRequest[];
10067
+
10068
+ filter?: Record<string, any>;
10069
+
10070
+ user?: UserRequest;
10071
+ }
10072
+
10073
+ export interface QueryAppealsResponse {
10074
+ duration: string;
10075
+
10076
+ items: AppealItemResponse[];
10077
+
10078
+ next?: string;
10079
+
10080
+ prev?: string;
10081
+ }
10082
+
9723
10083
  export interface QueryBannedUsersPayload {
9724
10084
  filter_conditions: Record<string, any>;
9725
10085
 
@@ -9812,6 +10172,28 @@ export interface QueryCallMembersResponse {
9812
10172
  prev?: string;
9813
10173
  }
9814
10174
 
10175
+ export interface QueryCallParticipantSessionsResponse {
10176
+ call_id: string;
10177
+
10178
+ call_session_id: string;
10179
+
10180
+ call_type: string;
10181
+
10182
+ duration: number;
10183
+
10184
+ total_participant_duration: number;
10185
+
10186
+ total_participant_sessions: number;
10187
+
10188
+ participants_sessions: ParticipantSessionDetails[];
10189
+
10190
+ next?: string;
10191
+
10192
+ prev?: string;
10193
+
10194
+ session?: CallSessionResponse;
10195
+ }
10196
+
9815
10197
  export interface QueryCallParticipantsRequest {
9816
10198
  filter_conditions?: Record<string, any>;
9817
10199
  }
@@ -9977,6 +10359,8 @@ export interface QueryChannelsRequest {
9977
10359
 
9978
10360
  offset?: number;
9979
10361
 
10362
+ predefined_filter?: string;
10363
+
9980
10364
  state?: boolean;
9981
10365
 
9982
10366
  user_id?: string;
@@ -9985,6 +10369,10 @@ export interface QueryChannelsRequest {
9985
10369
 
9986
10370
  filter_conditions?: Record<string, any>;
9987
10371
 
10372
+ filter_values?: Record<string, any>;
10373
+
10374
+ sort_values?: Record<string, any>;
10375
+
9988
10376
  user?: UserRequest;
9989
10377
  }
9990
10378
 
@@ -10166,6 +10554,26 @@ export interface QueryFollowsResponse {
10166
10554
  prev?: string;
10167
10555
  }
10168
10556
 
10557
+ export interface QueryFutureChannelBansPayload {
10558
+ exclude_expired_bans?: boolean;
10559
+
10560
+ limit?: number;
10561
+
10562
+ offset?: number;
10563
+
10564
+ target_user_id?: string;
10565
+
10566
+ user_id?: string;
10567
+
10568
+ user?: UserRequest;
10569
+ }
10570
+
10571
+ export interface QueryFutureChannelBansResponse {
10572
+ duration: string;
10573
+
10574
+ bans: FutureChannelBanResponse[];
10575
+ }
10576
+
10169
10577
  export interface QueryMembersPayload {
10170
10578
  type: string;
10171
10579
 
@@ -10922,6 +11330,10 @@ export interface RecordSettingsResponse {
10922
11330
  layout: LayoutSettingsResponse;
10923
11331
  }
10924
11332
 
11333
+ export interface RejectAppealRequest {
11334
+ decision_reason: string;
11335
+ }
11336
+
10925
11337
  export interface RejectFeedMemberInviteRequest {
10926
11338
  user_id?: string;
10927
11339
 
@@ -11083,6 +11495,8 @@ export interface ResolveSipInboundRequest {
11083
11495
 
11084
11496
  challenge: SIPChallenge;
11085
11497
 
11498
+ routing_number?: string;
11499
+
11086
11500
  sip_headers?: Record<string, string>;
11087
11501
  }
11088
11502
 
@@ -11100,7 +11514,9 @@ export interface Response {
11100
11514
  duration: string;
11101
11515
  }
11102
11516
 
11103
- export interface RestoreActionRequest {}
11517
+ export interface RestoreActionRequest {
11518
+ decision_reason?: string;
11519
+ }
11104
11520
 
11105
11521
  export interface RestoreUsersRequest {
11106
11522
  user_ids: string[];
@@ -11167,6 +11583,8 @@ export interface ReviewQueueItemResponse {
11167
11583
 
11168
11584
  activity?: EnrichedActivity;
11169
11585
 
11586
+ appeal?: AppealItemResponse;
11587
+
11170
11588
  assigned_to?: UserResponse;
11171
11589
 
11172
11590
  call?: CallResponse;
@@ -11291,6 +11709,10 @@ export interface RuleBuilderCondition {
11291
11709
 
11292
11710
  user_flag_count_rule_params?: FlagCountRuleParameters;
11293
11711
 
11712
+ user_identical_content_count_params?: UserIdenticalContentCountParameters;
11713
+
11714
+ user_role_params?: UserRoleParameters;
11715
+
11294
11716
  user_rule_params?: UserRuleParameters;
11295
11717
 
11296
11718
  video_content_params?: VideoContentParameters;
@@ -11563,6 +11985,10 @@ export interface ScreensharingSettingsResponse {
11563
11985
  export interface SearchPayload {
11564
11986
  filter_conditions: Record<string, any>;
11565
11987
 
11988
+ force_default_search?: boolean;
11989
+
11990
+ force_sql_v2_backend?: boolean;
11991
+
11566
11992
  limit?: number;
11567
11993
 
11568
11994
  next?: string;
@@ -11958,12 +12384,16 @@ export interface SortParam {
11958
12384
  direction?: number;
11959
12385
 
11960
12386
  field?: string;
12387
+
12388
+ type?: string;
11961
12389
  }
11962
12390
 
11963
12391
  export interface SortParamRequest {
11964
12392
  direction?: number;
11965
12393
 
11966
12394
  field?: string;
12395
+
12396
+ type?: '' | 'number' | 'boolean';
11967
12397
  }
11968
12398
 
11969
12399
  export interface SpeechSegmentConfig {
@@ -12149,8 +12579,14 @@ export interface StopHLSBroadcastingResponse {
12149
12579
  export interface StopLiveRequest {
12150
12580
  continue_closed_caption?: boolean;
12151
12581
 
12582
+ continue_composite_recording?: boolean;
12583
+
12152
12584
  continue_hls?: boolean;
12153
12585
 
12586
+ continue_individual_recording?: boolean;
12587
+
12588
+ continue_raw_recording?: boolean;
12589
+
12154
12590
  continue_recording?: boolean;
12155
12591
 
12156
12592
  continue_rtmp_broadcasts?: boolean;
@@ -12227,9 +12663,12 @@ export interface SubmitActionRequest {
12227
12663
  | 'shadow_block'
12228
12664
  | 'unmask'
12229
12665
  | 'kick_user'
12230
- | 'end_call';
12666
+ | 'end_call'
12667
+ | 'reject_appeal';
12231
12668
 
12232
- item_id: string;
12669
+ appeal_id?: string;
12670
+
12671
+ item_id?: string;
12233
12672
 
12234
12673
  user_id?: string;
12235
12674
 
@@ -12251,16 +12690,24 @@ export interface SubmitActionRequest {
12251
12690
 
12252
12691
  mark_reviewed?: MarkReviewedRequest;
12253
12692
 
12693
+ reject_appeal?: RejectAppealRequest;
12694
+
12695
+ restore?: RestoreActionRequest;
12696
+
12254
12697
  shadow_block?: ShadowBlockActionRequest;
12255
12698
 
12256
12699
  unban?: UnbanActionRequest;
12257
12700
 
12701
+ unblock?: UnblockActionRequest;
12702
+
12258
12703
  user?: UserRequest;
12259
12704
  }
12260
12705
 
12261
12706
  export interface SubmitActionResponse {
12262
12707
  duration: string;
12263
12708
 
12709
+ appeal_item?: AppealItemResponse;
12710
+
12264
12711
  item?: ReviewQueueItemResponse;
12265
12712
  }
12266
12713
 
@@ -12323,6 +12770,8 @@ export interface TextContentParameters {
12323
12770
  export interface TextRuleParameters {
12324
12771
  contains_url?: boolean;
12325
12772
 
12773
+ semantic_filter_min_threshold?: number;
12774
+
12326
12775
  severity?: string;
12327
12776
 
12328
12777
  threshold?: number;
@@ -12333,6 +12782,8 @@ export interface TextRuleParameters {
12333
12782
 
12334
12783
  harm_labels?: string[];
12335
12784
 
12785
+ semantic_filter_names?: string[];
12786
+
12336
12787
  llm_harm_labels?: Record<string, string>;
12337
12788
  }
12338
12789
 
@@ -12483,6 +12934,8 @@ export interface ThreadedCommentResponse {
12483
12934
 
12484
12935
  deleted_at?: Date;
12485
12936
 
12937
+ edited_at?: Date;
12938
+
12486
12939
  parent_id?: string;
12487
12940
 
12488
12941
  text?: string;
@@ -12780,7 +13233,9 @@ export interface TypingIndicatorsResponse {
12780
13233
  enabled?: boolean;
12781
13234
  }
12782
13235
 
12783
- export interface UnbanActionRequest {}
13236
+ export interface UnbanActionRequest {
13237
+ decision_reason?: string;
13238
+ }
12784
13239
 
12785
13240
  export interface UnbanRequest {
12786
13241
  unbanned_by_id?: string;
@@ -12792,7 +13247,9 @@ export interface UnbanResponse {
12792
13247
  duration: string;
12793
13248
  }
12794
13249
 
12795
- export interface UnblockActionRequest {}
13250
+ export interface UnblockActionRequest {
13251
+ decision_reason?: string;
13252
+ }
12796
13253
 
12797
13254
  export interface UnblockUserRequest {
12798
13255
  user_id: string;
@@ -12826,6 +13283,8 @@ export interface UnblockedUserEvent {
12826
13283
 
12827
13284
  export interface UnfollowBatchRequest {
12828
13285
  follows: FollowPair[];
13286
+
13287
+ delete_notification_activity?: boolean;
12829
13288
  }
12830
13289
 
12831
13290
  export interface UnfollowBatchResponse {
@@ -12935,6 +13394,8 @@ export interface UnreadCountsThread {
12935
13394
  }
12936
13395
 
12937
13396
  export interface UpdateActivityPartialRequest {
13397
+ handle_mention_notifications?: boolean;
13398
+
12938
13399
  user_id?: string;
12939
13400
 
12940
13401
  unset?: string[];
@@ -12953,6 +13414,8 @@ export interface UpdateActivityPartialResponse {
12953
13414
  export interface UpdateActivityRequest {
12954
13415
  expires_at?: Date;
12955
13416
 
13417
+ handle_mention_notifications?: boolean;
13418
+
12956
13419
  poll_id?: string;
12957
13420
 
12958
13421
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
@@ -12963,7 +13426,9 @@ export interface UpdateActivityRequest {
12963
13426
 
12964
13427
  user_id?: string;
12965
13428
 
12966
- visibility?: string;
13429
+ visibility?: 'public' | 'private' | 'tag';
13430
+
13431
+ visibility_tag?: string;
12967
13432
 
12968
13433
  attachments?: Attachment[];
12969
13434
 
@@ -13445,6 +13910,8 @@ export interface UpdateCommandResponse {
13445
13910
  export interface UpdateCommentRequest {
13446
13911
  comment?: string;
13447
13912
 
13913
+ handle_mention_notifications?: boolean;
13914
+
13448
13915
  skip_enrich_url?: boolean;
13449
13916
 
13450
13917
  skip_push?: boolean;
@@ -13453,6 +13920,8 @@ export interface UpdateCommentRequest {
13453
13920
 
13454
13921
  attachments?: Attachment[];
13455
13922
 
13923
+ mentioned_user_ids?: string[];
13924
+
13456
13925
  custom?: Record<string, any>;
13457
13926
 
13458
13927
  user?: UserRequest;
@@ -13893,6 +14362,8 @@ export interface UpsertActivitiesResponse {
13893
14362
  duration: string;
13894
14363
 
13895
14364
  activities: ActivityResponse[];
14365
+
14366
+ mention_notifications_created?: number;
13896
14367
  }
13897
14368
 
13898
14369
  export interface UpsertCollectionsRequest {
@@ -14182,6 +14653,12 @@ export interface UserFlaggedEvent {
14182
14653
  user?: User;
14183
14654
  }
14184
14655
 
14656
+ export interface UserIdenticalContentCountParameters {
14657
+ threshold?: number;
14658
+
14659
+ time_window?: string;
14660
+ }
14661
+
14185
14662
  export interface UserMessagesDeletedEvent {
14186
14663
  created_at: Date;
14187
14664
 
@@ -14412,6 +14889,12 @@ export interface UserResponsePrivacyFields {
14412
14889
  teams_role?: Record<string, string>;
14413
14890
  }
14414
14891
 
14892
+ export interface UserRoleParameters {
14893
+ operator?: string;
14894
+
14895
+ role?: string;
14896
+ }
14897
+
14415
14898
  export interface UserRuleParameters {
14416
14899
  max_age?: string;
14417
14900
  }
@@ -14653,6 +15136,9 @@ export interface WSEvent {
14653
15136
  export type WebhookEvent =
14654
15137
  | ({ type: '*' } & AnyEvent)
14655
15138
  | ({ type: 'activity.marked' } & ActivityMarkedEvent)
15139
+ | ({ type: 'appeal.accepted' } & AppealAcceptedEvent)
15140
+ | ({ type: 'appeal.created' } & AppealCreatedEvent)
15141
+ | ({ type: 'appeal.rejected' } & AppealRejectedEvent)
14656
15142
  | ({ type: 'call.accepted' } & CallAcceptedEvent)
14657
15143
  | ({ type: 'call.blocked_user' } & BlockedUserEvent)
14658
15144
  | ({ type: 'call.closed_caption' } & ClosedCaptionEvent)
@@ -14729,10 +15215,8 @@ export type WebhookEvent =
14729
15215
  | ({ type: 'channel.unmuted' } & ChannelUnmutedEvent)
14730
15216
  | ({ type: 'channel.updated' } & ChannelUpdatedEvent)
14731
15217
  | ({ type: 'channel.visible' } & ChannelVisibleEvent)
14732
- | ({
14733
- type: 'channel_batch_update.completed';
14734
- } & ChannelBatchUpdatedCompletedEvent)
14735
- | ({ type: 'channel_batch_update.started' } & ChannelBatchUpdatedStartedEvent)
15218
+ | ({ type: 'channel_batch_update.completed' } & ChannelBatchCompletedEvent)
15219
+ | ({ type: 'channel_batch_update.started' } & ChannelBatchStartedEvent)
14736
15220
  | ({ type: 'custom' } & CustomVideoEvent)
14737
15221
  | ({ type: 'export.bulk_image_moderation.error' } & AsyncExportErrorEvent)
14738
15222
  | ({
@@ -14784,6 +15268,9 @@ export type WebhookEvent =
14784
15268
  | ({ type: 'feeds.notification_feed.updated' } & NotificationFeedUpdatedEvent)
14785
15269
  | ({ type: 'feeds.stories_feed.updated' } & StoriesFeedUpdatedEvent)
14786
15270
  | ({ type: 'flag.updated' } & FlagUpdatedEvent)
15271
+ | ({ type: 'ingress.error' } & IngressErrorEvent)
15272
+ | ({ type: 'ingress.started' } & IngressStartedEvent)
15273
+ | ({ type: 'ingress.stopped' } & IngressStoppedEvent)
14787
15274
  | ({ type: 'member.added' } & MemberAddedEvent)
14788
15275
  | ({ type: 'member.removed' } & MemberRemovedEvent)
14789
15276
  | ({ type: 'member.updated' } & MemberUpdatedEvent)