@stream-io/node-sdk 0.7.63 → 0.8.0

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.
@@ -168,12 +168,7 @@ export interface APNSPayload {
168
168
 
169
169
  export interface AWSRekognitionRule {
170
170
  action:
171
- | 'flag'
172
- | 'shadow'
173
- | 'remove'
174
- | 'bounce'
175
- | 'bounce_flag'
176
- | 'bounce_remove';
171
+ 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
177
172
 
178
173
  label: string;
179
174
 
@@ -182,9 +177,18 @@ export interface AWSRekognitionRule {
182
177
  subclassifications?: Record<string, any>;
183
178
  }
184
179
 
180
+ export interface AbsentMetric {
181
+ metric: string;
182
+
183
+ reason: string;
184
+ }
185
+
185
186
  export interface AcceptFeedMemberInviteRequest {
186
187
  user_id?: string;
187
188
 
189
+ /**
190
+ * User request object
191
+ */
188
192
  user?: UserRequest;
189
193
  }
190
194
 
@@ -274,8 +278,14 @@ export interface ActionLogResponse {
274
278
 
275
279
  review_queue_item?: ReviewQueueItemResponse;
276
280
 
281
+ /**
282
+ * User response object
283
+ */
277
284
  target_user?: UserResponse;
278
285
 
286
+ /**
287
+ * User response object
288
+ */
279
289
  user?: UserResponse;
280
290
  }
281
291
 
@@ -436,6 +446,9 @@ export interface ActivityFeedbackEventPayload {
436
446
  */
437
447
  value: string;
438
448
 
449
+ /**
450
+ * User response object
451
+ */
439
452
  user: UserResponse;
440
453
  }
441
454
 
@@ -457,6 +470,9 @@ export interface ActivityFeedbackRequest {
457
470
 
458
471
  user_id?: string;
459
472
 
473
+ /**
474
+ * User request object
475
+ */
460
476
  user?: UserRequest;
461
477
  }
462
478
 
@@ -541,6 +557,9 @@ export interface ActivityPinResponse {
541
557
 
542
558
  activity: ActivityResponse;
543
559
 
560
+ /**
561
+ * User response object
562
+ */
544
563
  user: UserResponse;
545
564
  }
546
565
 
@@ -769,6 +788,11 @@ export interface ActivityRequest {
769
788
  */
770
789
  collection_refs?: string[];
771
790
 
791
+ /**
792
+ * Collections to create or update as part of this request, so an activity and the collections it references can be written in one call. Their refs (name:id) are added to collection_refs automatically; you do not need to restate them, and they count toward the same per-activity collection-reference limit, which is the effective cap here. A collection that already exists has its custom data updated. Use collection_refs instead when the collection already exists and you are only referencing it, which requires no collection permissions.
793
+ */
794
+ collections?: CollectionRequest[];
795
+
772
796
  /**
773
797
  * Tags for filtering activities
774
798
  */
@@ -935,6 +959,9 @@ export interface ActivityResponse {
935
959
  */
936
960
  search_data: Record<string, any>;
937
961
 
962
+ /**
963
+ * User response object
964
+ */
938
965
  user: UserResponse;
939
966
 
940
967
  /**
@@ -1275,6 +1302,11 @@ export interface AddActivityRequest {
1275
1302
  */
1276
1303
  collection_refs?: string[];
1277
1304
 
1305
+ /**
1306
+ * Collections to create or update as part of this request, so an activity and the collections it references can be written in one call. Their refs (name:id) are added to collection_refs automatically; you do not need to restate them, and they count toward the same per-activity collection-reference limit, which is the effective cap here. A collection that already exists has its custom data updated. Use collection_refs instead when the collection already exists and you are only referencing it, which requires no collection permissions.
1307
+ */
1308
+ collections?: CollectionRequest[];
1309
+
1278
1310
  /**
1279
1311
  * Tags for filtering activities
1280
1312
  */
@@ -1329,6 +1361,9 @@ export interface AddBookmarkRequest {
1329
1361
 
1330
1362
  new_folder?: AddFolderRequest;
1331
1363
 
1364
+ /**
1365
+ * User request object
1366
+ */
1332
1367
  user?: UserRequest;
1333
1368
  }
1334
1369
 
@@ -1353,6 +1388,9 @@ export interface AddCommentBookmarkRequest {
1353
1388
 
1354
1389
  new_folder?: AddFolderRequest;
1355
1390
 
1391
+ /**
1392
+ * User request object
1393
+ */
1356
1394
  user?: UserRequest;
1357
1395
  }
1358
1396
 
@@ -1398,6 +1436,9 @@ export interface AddCommentReactionRequest {
1398
1436
  */
1399
1437
  custom?: Record<string, any>;
1400
1438
 
1439
+ /**
1440
+ * User request object
1441
+ */
1401
1442
  user?: UserRequest;
1402
1443
  }
1403
1444
 
@@ -1496,6 +1537,9 @@ export interface AddCommentRequest {
1496
1537
  */
1497
1538
  custom?: Record<string, any>;
1498
1539
 
1540
+ /**
1541
+ * User request object
1542
+ */
1499
1543
  user?: UserRequest;
1500
1544
  }
1501
1545
 
@@ -1584,6 +1628,9 @@ export interface AddReactionRequest {
1584
1628
  */
1585
1629
  custom?: Record<string, any>;
1586
1630
 
1631
+ /**
1632
+ * User request object
1633
+ */
1587
1634
  user?: UserRequest;
1588
1635
  }
1589
1636
 
@@ -1793,6 +1840,9 @@ export interface AnalyzeRequest {
1793
1840
  */
1794
1841
  texts?: Record<string, string>;
1795
1842
 
1843
+ /**
1844
+ * User request object
1845
+ */
1796
1846
  user?: UserRequest;
1797
1847
  }
1798
1848
 
@@ -1876,12 +1926,12 @@ export interface AppResponseFields {
1876
1926
 
1877
1927
  max_aggregated_activities_length: number;
1878
1928
 
1929
+ member_custom_on_messages_enabled: boolean;
1930
+
1879
1931
  moderation_audio_call_moderation_enabled: boolean;
1880
1932
 
1881
1933
  moderation_enabled: boolean;
1882
1934
 
1883
- moderation_flood_rules_enabled: boolean;
1884
-
1885
1935
  moderation_llm_configurability_enabled: boolean;
1886
1936
 
1887
1937
  moderation_multitenant_blocklist_enabled: boolean;
@@ -2094,6 +2144,9 @@ export interface AppealItemResponse {
2094
2144
 
2095
2145
  original_moderation_action?: ActionLogResponse;
2096
2146
 
2147
+ /**
2148
+ * User response object
2149
+ */
2097
2150
  user?: UserResponse;
2098
2151
  }
2099
2152
 
@@ -2137,6 +2190,9 @@ export interface AppealRequest {
2137
2190
  */
2138
2191
  attachments?: string[];
2139
2192
 
2193
+ /**
2194
+ * User request object
2195
+ */
2140
2196
  user?: UserRequest;
2141
2197
  }
2142
2198
 
@@ -2318,6 +2374,30 @@ export interface Attachment {
2318
2374
  giphy?: Images;
2319
2375
  }
2320
2376
 
2377
+ export interface Audience {
2378
+ avg_concurrent_viewers: number;
2379
+
2380
+ hours_watched: number;
2381
+
2382
+ peak_concurrent_viewers: number;
2383
+
2384
+ unique_viewers: number;
2385
+
2386
+ viewer_connections: number;
2387
+
2388
+ concurrency_by_minute: ConcurrencyMinute[];
2389
+
2390
+ peak_at?: string;
2391
+
2392
+ ramp_up_min_to_90pct_peak?: number;
2393
+
2394
+ retention_at_90pct_mark?: number;
2395
+
2396
+ retention_at_midpoint?: number;
2397
+
2398
+ shape?: string;
2399
+ }
2400
+
2321
2401
  export interface AudioSettings {
2322
2402
  access_request_enabled: boolean;
2323
2403
 
@@ -2381,6 +2461,9 @@ export interface AutomodDetailsResponse {
2381
2461
 
2382
2462
  message_details?: FlagMessageDetailsResponse;
2383
2463
 
2464
+ /**
2465
+ * Result of the message moderation
2466
+ */
2384
2467
  result?: MessageModerationResult;
2385
2468
  }
2386
2469
 
@@ -2394,12 +2477,7 @@ export interface AutomodPlatformCircumventionConfig {
2394
2477
 
2395
2478
  export interface AutomodRule {
2396
2479
  action:
2397
- | 'flag'
2398
- | 'shadow'
2399
- | 'remove'
2400
- | 'bounce'
2401
- | 'bounce_flag'
2402
- | 'bounce_remove';
2480
+ 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
2403
2481
 
2404
2482
  label: string;
2405
2483
 
@@ -2416,12 +2494,7 @@ export interface AutomodSemanticFiltersConfig {
2416
2494
 
2417
2495
  export interface AutomodSemanticFiltersRule {
2418
2496
  action:
2419
- | 'flag'
2420
- | 'shadow'
2421
- | 'remove'
2422
- | 'bounce'
2423
- | 'bounce_flag'
2424
- | 'bounce_remove';
2497
+ 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
2425
2498
 
2426
2499
  name: string;
2427
2500
 
@@ -2549,8 +2622,14 @@ export interface BanInfoResponse {
2549
2622
 
2550
2623
  channel?: ChannelMetadata;
2551
2624
 
2625
+ /**
2626
+ * User response object
2627
+ */
2552
2628
  created_by?: UserResponse;
2553
2629
 
2630
+ /**
2631
+ * User response object
2632
+ */
2554
2633
  user?: UserResponse;
2555
2634
  }
2556
2635
 
@@ -2604,6 +2683,9 @@ export interface BanRequest {
2604
2683
  */
2605
2684
  timeout?: number;
2606
2685
 
2686
+ /**
2687
+ * User request object
2688
+ */
2607
2689
  banned_by?: UserRequest;
2608
2690
  }
2609
2691
 
@@ -2616,10 +2698,19 @@ export interface BanResponse {
2616
2698
 
2617
2699
  shadow?: boolean;
2618
2700
 
2701
+ /**
2702
+ * User response object
2703
+ */
2619
2704
  banned_by?: UserResponse;
2620
2705
 
2706
+ /**
2707
+ * Represents channel in chat
2708
+ */
2621
2709
  channel?: ChannelResponse;
2622
2710
 
2711
+ /**
2712
+ * User response object
2713
+ */
2623
2714
  user?: UserResponse;
2624
2715
  }
2625
2716
 
@@ -2647,6 +2738,9 @@ export interface BatchQueryActivityReactionsRequest {
2647
2738
  */
2648
2739
  filter?: Record<string, any>;
2649
2740
 
2741
+ /**
2742
+ * User request object
2743
+ */
2650
2744
  user?: UserRequest;
2651
2745
  }
2652
2746
 
@@ -2687,6 +2781,9 @@ export interface BatchQueryCommentReactionsRequest {
2687
2781
  */
2688
2782
  filter?: Record<string, any>;
2689
2783
 
2784
+ /**
2785
+ * User request object
2786
+ */
2690
2787
  user?: UserRequest;
2691
2788
  }
2692
2789
 
@@ -2812,6 +2909,9 @@ export interface BlockUsersRequest {
2812
2909
 
2813
2910
  user_id?: string;
2814
2911
 
2912
+ /**
2913
+ * User request object
2914
+ */
2815
2915
  user?: UserRequest;
2816
2916
  }
2817
2917
 
@@ -2842,6 +2942,9 @@ export interface BlockedUserEvent {
2842
2942
 
2843
2943
  created_at: Date;
2844
2944
 
2945
+ /**
2946
+ * User response object
2947
+ */
2845
2948
  user: UserResponse;
2846
2949
 
2847
2950
  /**
@@ -2849,6 +2952,9 @@ export interface BlockedUserEvent {
2849
2952
  */
2850
2953
  type: string;
2851
2954
 
2955
+ /**
2956
+ * User response object
2957
+ */
2852
2958
  blocked_by_user?: UserResponse;
2853
2959
  }
2854
2960
 
@@ -2865,8 +2971,14 @@ export interface BlockedUserResponse {
2865
2971
  */
2866
2972
  user_id: string;
2867
2973
 
2974
+ /**
2975
+ * User response object
2976
+ */
2868
2977
  blocked_user: UserResponse;
2869
2978
 
2979
+ /**
2980
+ * User response object
2981
+ */
2870
2982
  user: UserResponse;
2871
2983
  }
2872
2984
 
@@ -2994,6 +3106,9 @@ export interface BookmarkFolderResponse {
2994
3106
  */
2995
3107
  updated_at: Date;
2996
3108
 
3109
+ /**
3110
+ * User response object
3111
+ */
2997
3112
  user: UserResponse;
2998
3113
 
2999
3114
  /**
@@ -3045,6 +3160,9 @@ export interface BookmarkResponse {
3045
3160
 
3046
3161
  activity: ActivityResponse;
3047
3162
 
3163
+ /**
3164
+ * User response object
3165
+ */
3048
3166
  user: UserResponse;
3049
3167
 
3050
3168
  activity_id?: string;
@@ -3085,6 +3203,90 @@ export interface Bound {
3085
3203
  value: number;
3086
3204
  }
3087
3205
 
3206
+ export interface BroadcastDailyRollup {
3207
+ broadcasts: number;
3208
+
3209
+ day: string;
3210
+
3211
+ dead_air_s: number;
3212
+
3213
+ hours_watched: number;
3214
+
3215
+ incident_windows: number;
3216
+
3217
+ max_peak_concurrent_viewers: number;
3218
+
3219
+ note: string;
3220
+
3221
+ schema_version: string;
3222
+
3223
+ source_drops: number;
3224
+
3225
+ unique_viewers_sum: number;
3226
+
3227
+ top_broadcasts: TopBroadcast[];
3228
+
3229
+ poor_viewers_by_cause: PoorByCause;
3230
+ }
3231
+
3232
+ export interface BroadcastDigest {
3233
+ schema_version: string;
3234
+
3235
+ audience: Audience;
3236
+
3237
+ broadcast: BroadcastInfo;
3238
+
3239
+ coverage: Coverage;
3240
+
3241
+ joins: Joins;
3242
+
3243
+ poor_tail: PoorTail;
3244
+
3245
+ quality: Quality;
3246
+
3247
+ segments: Segments;
3248
+
3249
+ source: SourceHealth;
3250
+
3251
+ viewers: ViewerBehavior;
3252
+ }
3253
+
3254
+ export interface BroadcastInfo {
3255
+ app_id: number;
3256
+
3257
+ call_cid: string;
3258
+
3259
+ call_session_id: string;
3260
+
3261
+ call_type: string;
3262
+
3263
+ duration_min: number;
3264
+
3265
+ ended_at: string;
3266
+
3267
+ started_at: string;
3268
+
3269
+ creators: string[];
3270
+
3271
+ source_mode?: string;
3272
+ }
3273
+
3274
+ export interface BroadcastSegment {
3275
+ key: string;
3276
+
3277
+ sessions: number;
3278
+
3279
+ avg_quality_score?: number;
3280
+
3281
+ p5_quality_score?: number;
3282
+
3283
+ poor_pct?: number;
3284
+
3285
+ share_pct?: number;
3286
+
3287
+ watch_share_pct?: number;
3288
+ }
3289
+
3088
3290
  export interface BroadcastSettings {
3089
3291
  enabled: boolean;
3090
3292
 
@@ -3104,8 +3306,14 @@ export interface BroadcastSettingsRequest {
3104
3306
  export interface BroadcastSettingsResponse {
3105
3307
  enabled: boolean;
3106
3308
 
3309
+ /**
3310
+ * HLSSettings is the payload for HLS settings
3311
+ */
3107
3312
  hls: HLSSettingsResponse;
3108
3313
 
3314
+ /**
3315
+ * RTMPSettingsResponse is the payload for RTMP settings
3316
+ */
3109
3317
  rtmp: RTMPSettingsResponse;
3110
3318
  }
3111
3319
 
@@ -3121,11 +3329,7 @@ export interface BulkActionAppealsRequest {
3121
3329
  */
3122
3330
 
3123
3331
  action_type:
3124
- | 'unban'
3125
- | 'restore'
3126
- | 'unblock'
3127
- | 'mark_reviewed'
3128
- | 'reject_appeal';
3332
+ 'unban' | 'restore' | 'unblock' | 'mark_reviewed' | 'reject_appeal';
3129
3333
 
3130
3334
  /**
3131
3335
  * List of appeal UUIDs to process
@@ -3134,16 +3338,34 @@ export interface BulkActionAppealsRequest {
3134
3338
 
3135
3339
  user_id?: string;
3136
3340
 
3341
+ /**
3342
+ * Configuration for mark reviewed action
3343
+ */
3137
3344
  mark_reviewed?: MarkReviewedRequestPayload;
3138
3345
 
3346
+ /**
3347
+ * Configuration for rejecting an appeal
3348
+ */
3139
3349
  reject_appeal?: RejectAppealRequestPayload;
3140
3350
 
3351
+ /**
3352
+ * Configuration for restore action
3353
+ */
3141
3354
  restore?: RestoreActionRequestPayload;
3142
3355
 
3356
+ /**
3357
+ * Configuration for unban moderation action
3358
+ */
3143
3359
  unban?: UnbanActionRequestPayload;
3144
3360
 
3361
+ /**
3362
+ * Configuration for unblock action
3363
+ */
3145
3364
  unblock?: UnblockActionRequestPayload;
3146
3365
 
3366
+ /**
3367
+ * User request object
3368
+ */
3147
3369
  user?: UserRequest;
3148
3370
  }
3149
3371
 
@@ -3181,6 +3403,9 @@ export interface BulkDeleteActionConfigRequest {
3181
3403
 
3182
3404
  user_id?: string;
3183
3405
 
3406
+ /**
3407
+ * User request object
3408
+ */
3184
3409
  user?: UserRequest;
3185
3410
  }
3186
3411
 
@@ -3217,6 +3442,9 @@ export interface BulkUpsertActionConfigRequest {
3217
3442
 
3218
3443
  user_id?: string;
3219
3444
 
3445
+ /**
3446
+ * User request object
3447
+ */
3220
3448
  user?: UserRequest;
3221
3449
  }
3222
3450
 
@@ -3254,8 +3482,14 @@ export interface CallAcceptedEvent {
3254
3482
 
3255
3483
  created_at: Date;
3256
3484
 
3485
+ /**
3486
+ * Represents a call
3487
+ */
3257
3488
  call: CallResponse;
3258
3489
 
3490
+ /**
3491
+ * User response object
3492
+ */
3259
3493
  user: UserResponse;
3260
3494
 
3261
3495
  /**
@@ -3295,6 +3529,9 @@ export interface CallClosedCaption {
3295
3529
 
3296
3530
  translated: boolean;
3297
3531
 
3532
+ /**
3533
+ * User response object
3534
+ */
3298
3535
  user: UserResponse;
3299
3536
 
3300
3537
  service?: string;
@@ -3343,6 +3580,9 @@ export interface CallCreatedEvent {
3343
3580
  */
3344
3581
  members: MemberResponse[];
3345
3582
 
3583
+ /**
3584
+ * Represents a call
3585
+ */
3346
3586
  call: CallResponse;
3347
3587
 
3348
3588
  /**
@@ -3382,6 +3622,9 @@ export interface CallDTMFEvent {
3382
3622
  */
3383
3623
  timestamp: Date;
3384
3624
 
3625
+ /**
3626
+ * User response object
3627
+ */
3385
3628
  user: UserResponse;
3386
3629
 
3387
3630
  /**
@@ -3395,6 +3638,9 @@ export interface CallDeletedEvent {
3395
3638
 
3396
3639
  created_at: Date;
3397
3640
 
3641
+ /**
3642
+ * Represents a call
3643
+ */
3398
3644
  call: CallResponse;
3399
3645
 
3400
3646
  /**
@@ -3416,6 +3662,9 @@ export interface CallEndedEvent {
3416
3662
 
3417
3663
  created_at: Date;
3418
3664
 
3665
+ /**
3666
+ * Represents a call
3667
+ */
3419
3668
  call: CallResponse;
3420
3669
 
3421
3670
  /**
@@ -3433,6 +3682,9 @@ export interface CallEndedEvent {
3433
3682
  */
3434
3683
  members?: MemberResponse[];
3435
3684
 
3685
+ /**
3686
+ * User response object
3687
+ */
3436
3688
  user?: UserResponse;
3437
3689
  }
3438
3690
 
@@ -3443,6 +3695,9 @@ export interface CallFrameRecordingFailedEvent {
3443
3695
 
3444
3696
  egress_id: string;
3445
3697
 
3698
+ /**
3699
+ * Represents a call
3700
+ */
3446
3701
  call: CallResponse;
3447
3702
 
3448
3703
  /**
@@ -3496,6 +3751,9 @@ export interface CallFrameRecordingStartedEvent {
3496
3751
 
3497
3752
  egress_id: string;
3498
3753
 
3754
+ /**
3755
+ * Represents a call
3756
+ */
3499
3757
  call: CallResponse;
3500
3758
 
3501
3759
  /**
@@ -3511,6 +3769,9 @@ export interface CallFrameRecordingStoppedEvent {
3511
3769
 
3512
3770
  egress_id: string;
3513
3771
 
3772
+ /**
3773
+ * Represents a call
3774
+ */
3514
3775
  call: CallResponse;
3515
3776
 
3516
3777
  /**
@@ -3537,6 +3798,9 @@ export interface CallHLSBroadcastingStartedEvent {
3537
3798
 
3538
3799
  hls_playlist_url: string;
3539
3800
 
3801
+ /**
3802
+ * Represents a call
3803
+ */
3540
3804
  call: CallResponse;
3541
3805
 
3542
3806
  /**
@@ -3557,6 +3821,9 @@ export interface CallHLSBroadcastingStoppedEvent {
3557
3821
  }
3558
3822
 
3559
3823
  export interface CallIngressResponse {
3824
+ /**
3825
+ * RTMP input settings
3826
+ */
3560
3827
  rtmp: RTMPIngress;
3561
3828
 
3562
3829
  srt: SRTIngress;
@@ -3579,6 +3846,9 @@ export interface CallLiveStartedEvent {
3579
3846
 
3580
3847
  created_at: Date;
3581
3848
 
3849
+ /**
3850
+ * Represents a call
3851
+ */
3582
3852
  call: CallResponse;
3583
3853
 
3584
3854
  /**
@@ -3597,6 +3867,9 @@ export interface CallMemberAddedEvent {
3597
3867
  */
3598
3868
  members: MemberResponse[];
3599
3869
 
3870
+ /**
3871
+ * Represents a call
3872
+ */
3600
3873
  call: CallResponse;
3601
3874
 
3602
3875
  /**
@@ -3615,6 +3888,9 @@ export interface CallMemberRemovedEvent {
3615
3888
  */
3616
3889
  members: string[];
3617
3890
 
3891
+ /**
3892
+ * Represents a call
3893
+ */
3618
3894
  call: CallResponse;
3619
3895
 
3620
3896
  /**
@@ -3633,6 +3909,9 @@ export interface CallMemberUpdatedEvent {
3633
3909
  */
3634
3910
  members: MemberResponse[];
3635
3911
 
3912
+ /**
3913
+ * Represents a call
3914
+ */
3636
3915
  call: CallResponse;
3637
3916
 
3638
3917
  /**
@@ -3651,6 +3930,9 @@ export interface CallMemberUpdatedPermissionEvent {
3651
3930
  */
3652
3931
  members: MemberResponse[];
3653
3932
 
3933
+ /**
3934
+ * Represents a call
3935
+ */
3654
3936
  call: CallResponse;
3655
3937
 
3656
3938
  /**
@@ -3681,8 +3963,14 @@ export interface CallMissedEvent {
3681
3963
  */
3682
3964
  members: MemberResponse[];
3683
3965
 
3966
+ /**
3967
+ * Represents a call
3968
+ */
3684
3969
  call: CallResponse;
3685
3970
 
3971
+ /**
3972
+ * User response object
3973
+ */
3686
3974
  user: UserResponse;
3687
3975
 
3688
3976
  /**
@@ -3753,8 +4041,14 @@ export interface CallNotificationEvent {
3753
4041
  */
3754
4042
  members: MemberResponse[];
3755
4043
 
4044
+ /**
4045
+ * Represents a call
4046
+ */
3756
4047
  call: CallResponse;
3757
4048
 
4049
+ /**
4050
+ * User response object
4051
+ */
3758
4052
  user: UserResponse;
3759
4053
 
3760
4054
  /**
@@ -3778,6 +4072,9 @@ export interface CallParticipantResponse {
3778
4072
 
3779
4073
  user_session_id: string;
3780
4074
 
4075
+ /**
4076
+ * User response object
4077
+ */
3781
4078
  user: UserResponse;
3782
4079
  }
3783
4080
 
@@ -3850,6 +4147,9 @@ export interface CallRecordingReadyEvent {
3850
4147
 
3851
4148
  recording_type: 'composite' | 'individual' | 'raw';
3852
4149
 
4150
+ /**
4151
+ * CallRecording represents a recording of a call.
4152
+ */
3853
4153
  call_recording: CallRecording;
3854
4154
 
3855
4155
  /**
@@ -3901,8 +4201,14 @@ export interface CallRejectedEvent {
3901
4201
 
3902
4202
  created_at: Date;
3903
4203
 
4204
+ /**
4205
+ * Represents a call
4206
+ */
3904
4207
  call: CallResponse;
3905
4208
 
4209
+ /**
4210
+ * User response object
4211
+ */
3906
4212
  user: UserResponse;
3907
4213
 
3908
4214
  /**
@@ -3937,6 +4243,9 @@ export interface CallRequest {
3937
4243
 
3938
4244
  members?: MemberRequest[];
3939
4245
 
4246
+ /**
4247
+ * User request object
4248
+ */
3940
4249
  created_by?: UserRequest;
3941
4250
 
3942
4251
  custom?: Record<string, any>;
@@ -3984,6 +4293,9 @@ export interface CallResponse {
3984
4293
 
3985
4294
  blocked_user_ids: string[];
3986
4295
 
4296
+ /**
4297
+ * User response object
4298
+ */
3987
4299
  created_by: UserResponse;
3988
4300
 
3989
4301
  /**
@@ -3993,6 +4305,9 @@ export interface CallResponse {
3993
4305
 
3994
4306
  egress: EgressResponse;
3995
4307
 
4308
+ /**
4309
+ * CallIngressResponse is the payload for ingress settings
4310
+ */
3996
4311
  ingress: CallIngressResponse;
3997
4312
 
3998
4313
  settings: CallSettingsResponse;
@@ -4040,8 +4355,14 @@ export interface CallRingEvent {
4040
4355
  */
4041
4356
  members: MemberResponse[];
4042
4357
 
4358
+ /**
4359
+ * Represents a call
4360
+ */
4043
4361
  call: CallResponse;
4044
4362
 
4363
+ /**
4364
+ * User response object
4365
+ */
4045
4366
  user: UserResponse;
4046
4367
 
4047
4368
  /**
@@ -4134,6 +4455,9 @@ export interface CallSessionEndedEvent {
4134
4455
  */
4135
4456
  session_id: string;
4136
4457
 
4458
+ /**
4459
+ * Represents a call
4460
+ */
4137
4461
  call: CallResponse;
4138
4462
 
4139
4463
  /**
@@ -4244,6 +4568,9 @@ export interface CallSessionStartedEvent {
4244
4568
  */
4245
4569
  session_id: string;
4246
4570
 
4571
+ /**
4572
+ * Represents a call
4573
+ */
4247
4574
  call: CallResponse;
4248
4575
 
4249
4576
  /**
@@ -4327,8 +4654,14 @@ export interface CallSettingsResponse {
4327
4654
 
4328
4655
  backstage: BackstageSettingsResponse;
4329
4656
 
4657
+ /**
4658
+ * BroadcastSettingsResponse is the payload for broadcasting settings
4659
+ */
4330
4660
  broadcasting: BroadcastSettingsResponse;
4331
4661
 
4662
+ /**
4663
+ * EncryptionSettings is the payload for end-to-end encryption settings
4664
+ */
4332
4665
  encryption: EncryptionSettingsResponse;
4333
4666
 
4334
4667
  frame_recording: FrameRecordingSettingsResponse;
@@ -4341,6 +4674,9 @@ export interface CallSettingsResponse {
4341
4674
 
4342
4675
  raw_recording: RawRecordingSettingsResponse;
4343
4676
 
4677
+ /**
4678
+ * RecordSettings is the payload for recording settings
4679
+ */
4344
4680
  recording: RecordSettingsResponse;
4345
4681
 
4346
4682
  ring: RingSettingsResponse;
@@ -4366,6 +4702,9 @@ export interface CallStateResponseFields {
4366
4702
 
4367
4703
  own_capabilities: OwnCapability[];
4368
4704
 
4705
+ /**
4706
+ * Represents a call
4707
+ */
4369
4708
  call: CallResponse;
4370
4709
  }
4371
4710
 
@@ -4626,6 +4965,9 @@ export interface CallTranscriptionReadyEvent {
4626
4965
 
4627
4966
  egress_id: string;
4628
4967
 
4968
+ /**
4969
+ * CallTranscription represents a transcription of a call.
4970
+ */
4629
4971
  call_transcription: CallTranscription;
4630
4972
 
4631
4973
  /**
@@ -4718,6 +5060,9 @@ export interface CallUpdatedEvent {
4718
5060
 
4719
5061
  created_at: Date;
4720
5062
 
5063
+ /**
5064
+ * Represents a call
5065
+ */
4721
5066
  call: CallResponse;
4722
5067
 
4723
5068
  /**
@@ -4746,6 +5091,9 @@ export interface CallUserFeedbackSubmittedEvent {
4746
5091
  */
4747
5092
  session_id: string;
4748
5093
 
5094
+ /**
5095
+ * User response object
5096
+ */
4749
5097
  user: UserResponse;
4750
5098
 
4751
5099
  /**
@@ -4890,6 +5238,9 @@ export interface CampaignResponse {
4890
5238
 
4891
5239
  message_template?: CampaignMessageTemplate;
4892
5240
 
5241
+ /**
5242
+ * User response object
5243
+ */
4893
5244
  sender?: UserResponse;
4894
5245
  }
4895
5246
 
@@ -4933,6 +5284,9 @@ export interface CancelImportV2TaskResponse {
4933
5284
  export interface CastPollVoteRequest {
4934
5285
  user_id?: string;
4935
5286
 
5287
+ /**
5288
+ * User request object
5289
+ */
4936
5290
  user?: UserRequest;
4937
5291
 
4938
5292
  vote?: VoteData;
@@ -5027,6 +5381,9 @@ export interface ChannelBatchUpdateRequest {
5027
5381
  | 'unarchive'
5028
5382
  | 'updateData';
5029
5383
 
5384
+ /**
5385
+ * Filter to apply to the query
5386
+ */
5030
5387
  filter: Record<string, any>;
5031
5388
 
5032
5389
  members?: ChannelBatchMemberRequest[];
@@ -5115,6 +5472,9 @@ export interface ChannelConfig {
5115
5472
 
5116
5473
  blocklists?: BlockListOptions[];
5117
5474
 
5475
+ /**
5476
+ * Sets thresholds for AI moderation
5477
+ */
5118
5478
  automod_thresholds?: Thresholds;
5119
5479
 
5120
5480
  chat_preferences?: ChatPreferences;
@@ -5260,6 +5620,9 @@ export interface ChannelConfigWithInfo {
5260
5620
 
5261
5621
  blocklists?: BlockListOptions[];
5262
5622
 
5623
+ /**
5624
+ * Sets thresholds for AI moderation
5625
+ */
5263
5626
  automod_thresholds?: Thresholds;
5264
5627
 
5265
5628
  chat_preferences?: ChatPreferences;
@@ -5267,12 +5630,37 @@ export interface ChannelConfigWithInfo {
5267
5630
  grants?: Record<string, string[]>;
5268
5631
  }
5269
5632
 
5633
+ export interface ChannelContextResponse {
5634
+ /**
5635
+ * Channel CID (<type>:<id>)
5636
+ */
5637
+ cid: string;
5638
+
5639
+ /**
5640
+ * Channel ID
5641
+ */
5642
+ id: string;
5643
+
5644
+ /**
5645
+ * Channel type
5646
+ */
5647
+ type: string;
5648
+
5649
+ /**
5650
+ * User response object
5651
+ */
5652
+ created_by?: UserResponse;
5653
+ }
5654
+
5270
5655
  export interface ChannelCreatedEvent {
5271
5656
  /**
5272
5657
  * Date/time of creation
5273
5658
  */
5274
5659
  created_at: Date;
5275
5660
 
5661
+ /**
5662
+ * Represents channel in chat
5663
+ */
5276
5664
  channel: ChannelResponse;
5277
5665
 
5278
5666
  custom: Record<string, any>;
@@ -5327,6 +5715,9 @@ export interface ChannelDataUpdate {
5327
5715
 
5328
5716
  team?: string;
5329
5717
 
5718
+ /**
5719
+ * Channel configuration overrides
5720
+ */
5330
5721
  config_overrides?: ChannelConfigOverrides;
5331
5722
 
5332
5723
  custom?: Record<string, any>;
@@ -5338,6 +5729,9 @@ export interface ChannelDeletedEvent {
5338
5729
  */
5339
5730
  created_at: Date;
5340
5731
 
5732
+ /**
5733
+ * Represents channel in chat
5734
+ */
5341
5735
  channel: ChannelResponse;
5342
5736
 
5343
5737
  custom: Record<string, any>;
@@ -5449,6 +5843,11 @@ export interface ChannelGetOrCreateRequest {
5449
5843
 
5450
5844
  thread_unread_counts?: boolean;
5451
5845
 
5846
+ /**
5847
+ * Top-level keys of the message sender's channel-member custom data to include under member.custom (max 8 keys, 64 chars each)
5848
+ */
5849
+ member_custom_include?: string[];
5850
+
5452
5851
  data?: ChannelInput;
5453
5852
 
5454
5853
  members?: PaginationParams;
@@ -5469,6 +5868,9 @@ export interface ChannelHiddenEvent {
5469
5868
  */
5470
5869
  created_at: Date;
5471
5870
 
5871
+ /**
5872
+ * Represents channel in chat
5873
+ */
5472
5874
  channel: ChannelResponse;
5473
5875
 
5474
5876
  custom: Record<string, any>;
@@ -5519,7 +5921,7 @@ export interface ChannelInput {
5519
5921
  auto_translation_enabled?: boolean;
5520
5922
 
5521
5923
  /**
5522
- * Switch auto translation language
5924
+ * Language (or comma-separated list of languages) to translate to when auto translation is active
5523
5925
  */
5524
5926
  auto_translation_language?: string;
5525
5927
 
@@ -5545,8 +5947,14 @@ export interface ChannelInput {
5545
5947
 
5546
5948
  members?: ChannelMemberRequest[];
5547
5949
 
5950
+ /**
5951
+ * Channel configuration overrides
5952
+ */
5548
5953
  config_overrides?: ChannelConfigOverrides;
5549
5954
 
5955
+ /**
5956
+ * User request object
5957
+ */
5550
5958
  created_by?: UserRequest;
5551
5959
 
5552
5960
  custom?: Record<string, any>;
@@ -5567,8 +5975,14 @@ export interface ChannelInputRequest {
5567
5975
 
5568
5976
  members?: ChannelMemberRequest[];
5569
5977
 
5978
+ /**
5979
+ * Channel configuration overrides
5980
+ */
5570
5981
  config_overrides?: ConfigOverridesRequest;
5571
5982
 
5983
+ /**
5984
+ * User request object
5985
+ */
5572
5986
  created_by?: UserRequest;
5573
5987
 
5574
5988
  custom?: Record<string, any>;
@@ -5584,6 +5998,11 @@ export interface ChannelMemberPartialResponse {
5584
5998
  * Whether the user muted notifications for this channel
5585
5999
  */
5586
6000
  notifications_muted: boolean;
6001
+
6002
+ /**
6003
+ * Channel-member custom fields projected via `member_custom_include`
6004
+ */
6005
+ custom?: Record<string, any>;
5587
6006
  }
5588
6007
 
5589
6008
  export interface ChannelMemberRequest {
@@ -5596,6 +6015,9 @@ export interface ChannelMemberRequest {
5596
6015
 
5597
6016
  custom?: Record<string, any>;
5598
6017
 
6018
+ /**
6019
+ * User response object
6020
+ */
5599
6021
  user?: UserResponse;
5600
6022
  }
5601
6023
 
@@ -5636,8 +6058,18 @@ export interface ChannelMemberResponse {
5636
6058
  */
5637
6059
  ban_expires?: Date;
5638
6060
 
6061
+ /**
6062
+ * Whether the member's ban also applies to channels the channel's creator will create in the future (an active future channel ban by the creator targets this member)
6063
+ */
6064
+ ban_from_future_channels?: boolean;
6065
+
5639
6066
  deleted_at?: Date;
5640
6067
 
6068
+ /**
6069
+ * Expiration date of the future channel ban; absent when the future channel ban is permanent
6070
+ */
6071
+ future_channel_ban_expires?: Date;
6072
+
5641
6073
  /**
5642
6074
  * Date when invite was accepted
5643
6075
  */
@@ -5671,6 +6103,9 @@ export interface ChannelMemberResponse {
5671
6103
 
5672
6104
  deleted_messages?: string[];
5673
6105
 
6106
+ /**
6107
+ * User response object
6108
+ */
5674
6109
  user?: UserResponse;
5675
6110
  }
5676
6111
 
@@ -5686,6 +6121,9 @@ export interface ChannelMessagesResponse {
5686
6121
  */
5687
6122
  messages: MessageResponse[];
5688
6123
 
6124
+ /**
6125
+ * Represents channel in chat
6126
+ */
5689
6127
  channel: ChannelResponse;
5690
6128
  }
5691
6129
 
@@ -5725,8 +6163,14 @@ export interface ChannelMute {
5725
6163
  */
5726
6164
  expires?: Date;
5727
6165
 
6166
+ /**
6167
+ * Represents channel in chat
6168
+ */
5728
6169
  channel?: ChannelResponse;
5729
6170
 
6171
+ /**
6172
+ * User response object
6173
+ */
5730
6174
  user?: UserResponse;
5731
6175
  }
5732
6176
 
@@ -5800,7 +6244,6 @@ export const ChannelOwnCapability = {
5800
6244
  UPLOAD_FILE: 'upload-file',
5801
6245
  } as const;
5802
6246
 
5803
- // eslint-disable-next-line @typescript-eslint/no-redeclare
5804
6247
  export type ChannelOwnCapability =
5805
6248
  (typeof ChannelOwnCapability)[keyof typeof ChannelOwnCapability];
5806
6249
 
@@ -5856,7 +6299,7 @@ export interface ChannelResponse {
5856
6299
  auto_translation_enabled?: boolean;
5857
6300
 
5858
6301
  /**
5859
- * Language to translate to when auto translation is active
6302
+ * Language (or comma-separated list of languages) to translate to when auto translation is active
5860
6303
  */
5861
6304
  auto_translation_language?: string;
5862
6305
 
@@ -5937,8 +6380,14 @@ export interface ChannelResponse {
5937
6380
 
5938
6381
  config?: ChannelConfigWithInfo;
5939
6382
 
6383
+ /**
6384
+ * User response object
6385
+ */
5940
6386
  created_by?: UserResponse;
5941
6387
 
6388
+ /**
6389
+ * User response object
6390
+ */
5942
6391
  truncated_by?: UserResponse;
5943
6392
  }
5944
6393
 
@@ -5967,6 +6416,9 @@ export interface ChannelStateResponse {
5967
6416
 
5968
6417
  watchers?: UserResponse[];
5969
6418
 
6419
+ /**
6420
+ * Represents channel in chat
6421
+ */
5970
6422
  channel?: ChannelResponse;
5971
6423
 
5972
6424
  draft?: DraftResponse;
@@ -6029,6 +6481,9 @@ export interface ChannelStateResponseFields {
6029
6481
  */
6030
6482
  watchers?: UserResponse[];
6031
6483
 
6484
+ /**
6485
+ * Represents channel in chat
6486
+ */
6032
6487
  channel?: ChannelResponse;
6033
6488
 
6034
6489
  draft?: DraftResponse;
@@ -6044,6 +6499,9 @@ export interface ChannelTruncatedEvent {
6044
6499
  */
6045
6500
  created_at: Date;
6046
6501
 
6502
+ /**
6503
+ * Represents channel in chat
6504
+ */
6047
6505
  channel: ChannelResponse;
6048
6506
 
6049
6507
  custom: Record<string, any>;
@@ -6086,6 +6544,9 @@ export interface ChannelTruncatedEvent {
6086
6544
 
6087
6545
  channel_custom?: Record<string, any>;
6088
6546
 
6547
+ /**
6548
+ * Represents any chat message
6549
+ */
6089
6550
  message?: MessageResponse;
6090
6551
 
6091
6552
  user?: UserResponseCommonFields;
@@ -6164,6 +6625,9 @@ export interface ChannelTypeConfig {
6164
6625
 
6165
6626
  blocklists?: BlockListOptions[];
6166
6627
 
6628
+ /**
6629
+ * Sets thresholds for AI moderation
6630
+ */
6167
6631
  automod_thresholds?: Thresholds;
6168
6632
 
6169
6633
  chat_preferences?: ChatPreferences;
@@ -6231,6 +6695,9 @@ export interface ChannelUpdatedEvent {
6231
6695
  */
6232
6696
  created_at: Date;
6233
6697
 
6698
+ /**
6699
+ * Represents channel in chat
6700
+ */
6234
6701
  channel: ChannelResponse;
6235
6702
 
6236
6703
  custom: Record<string, any>;
@@ -6273,6 +6740,9 @@ export interface ChannelUpdatedEvent {
6273
6740
 
6274
6741
  channel_custom?: Record<string, any>;
6275
6742
 
6743
+ /**
6744
+ * Represents any chat message
6745
+ */
6276
6746
  message?: MessageResponse;
6277
6747
 
6278
6748
  user?: UserResponseCommonFields;
@@ -6284,6 +6754,9 @@ export interface ChannelVisibleEvent {
6284
6754
  */
6285
6755
  created_at: Date;
6286
6756
 
6757
+ /**
6758
+ * Represents channel in chat
6759
+ */
6287
6760
  channel: ChannelResponse;
6288
6761
 
6289
6762
  custom: Record<string, any>;
@@ -6418,6 +6891,9 @@ export interface ChatMessageResponse {
6418
6891
 
6419
6892
  reaction_scores: Record<string, number>;
6420
6893
 
6894
+ /**
6895
+ * User response object
6896
+ */
6421
6897
  user: UserResponse;
6422
6898
 
6423
6899
  command?: string;
@@ -6460,6 +6936,9 @@ export interface ChatMessageResponse {
6460
6936
 
6461
6937
  moderation?: ChatModerationV2Response;
6462
6938
 
6939
+ /**
6940
+ * User response object
6941
+ */
6463
6942
  pinned_by?: UserResponse;
6464
6943
 
6465
6944
  poll?: PollResponseData;
@@ -6558,6 +7037,9 @@ export interface ChatReactionGroupUserResponse {
6558
7037
 
6559
7038
  user_id: string;
6560
7039
 
7040
+ /**
7041
+ * User response object
7042
+ */
6561
7043
  user?: UserResponse;
6562
7044
  }
6563
7045
 
@@ -6576,6 +7058,9 @@ export interface ChatReactionResponse {
6576
7058
 
6577
7059
  custom: Record<string, any>;
6578
7060
 
7061
+ /**
7062
+ * User response object
7063
+ */
6579
7064
  user: UserResponse;
6580
7065
  }
6581
7066
 
@@ -6594,6 +7079,9 @@ export interface ChatReminderResponseData {
6594
7079
 
6595
7080
  message?: ChatMessageResponse;
6596
7081
 
7082
+ /**
7083
+ * User response object
7084
+ */
6597
7085
  user?: UserResponse;
6598
7086
  }
6599
7087
 
@@ -6677,6 +7165,9 @@ export interface CheckPushRequest {
6677
7165
 
6678
7166
  user_id?: string;
6679
7167
 
7168
+ /**
7169
+ * User request object
7170
+ */
6680
7171
  user?: UserRequest;
6681
7172
  }
6682
7173
 
@@ -6757,6 +7248,9 @@ export interface CheckRequest {
6757
7248
  */
6758
7249
  options?: Record<string, any>;
6759
7250
 
7251
+ /**
7252
+ * User request object
7253
+ */
6760
7254
  user?: UserRequest;
6761
7255
  }
6762
7256
 
@@ -7041,6 +7535,9 @@ export interface ClosedCaptionEvent {
7041
7535
 
7042
7536
  created_at: Date;
7043
7537
 
7538
+ /**
7539
+ * CallClosedCaption represents a closed caption of a call.
7540
+ */
7044
7541
  closed_caption: CallClosedCaption;
7045
7542
 
7046
7543
  /**
@@ -7372,6 +7869,9 @@ export interface CommentResponse {
7372
7869
  */
7373
7870
  own_reactions: FeedsReactionResponse[];
7374
7871
 
7872
+ /**
7873
+ * User response object
7874
+ */
7375
7875
  user: UserResponse;
7376
7876
 
7377
7877
  /**
@@ -7478,6 +7978,18 @@ export interface CompositeRecordingResponse {
7478
7978
  status: string;
7479
7979
  }
7480
7980
 
7981
+ export interface ConcurrencyMinute {
7982
+ joins: number;
7983
+
7984
+ leaves: number;
7985
+
7986
+ max: number;
7987
+
7988
+ min: number;
7989
+
7990
+ minute: string;
7991
+ }
7992
+
7481
7993
  export interface ConfigOverridesRequest {
7482
7994
  /**
7483
7995
  * Blocklist name
@@ -7663,6 +8175,14 @@ export interface CountByMinuteResponse {
7663
8175
  start_ts: Date;
7664
8176
  }
7665
8177
 
8178
+ export interface Coverage {
8179
+ publisher_encoding_profiles: number;
8180
+
8181
+ absent: AbsentMetric[];
8182
+
8183
+ metrics_pct: MetricsPct;
8184
+ }
8185
+
7666
8186
  export interface CreateBlockListRequest {
7667
8187
  /**
7668
8188
  * Block list name
@@ -7695,6 +8215,13 @@ export interface CreateBlockListRequest {
7695
8215
  | 'email'
7696
8216
  | 'email_allowlist'
7697
8217
  | 'word';
8218
+
8219
+ user_id?: string;
8220
+
8221
+ /**
8222
+ * User request object
8223
+ */
8224
+ user?: UserRequest;
7698
8225
  }
7699
8226
 
7700
8227
  export interface CreateBlockListResponse {
@@ -7703,6 +8230,9 @@ export interface CreateBlockListResponse {
7703
8230
  */
7704
8231
  duration: string;
7705
8232
 
8233
+ /**
8234
+ * Block list contains restricted words
8235
+ */
7706
8236
  blocklist?: BlockListResponse;
7707
8237
  }
7708
8238
 
@@ -8067,6 +8597,9 @@ export interface CreateChannelTypeResponse {
8067
8597
 
8068
8598
  blocklists?: BlockListOptions[];
8069
8599
 
8600
+ /**
8601
+ * Sets thresholds for AI moderation
8602
+ */
8070
8603
  automod_thresholds?: Thresholds;
8071
8604
 
8072
8605
  chat_preferences?: ChatPreferences;
@@ -8080,6 +8613,9 @@ export interface CreateCollectionsRequest {
8080
8613
 
8081
8614
  user_id?: string;
8082
8615
 
8616
+ /**
8617
+ * User request object
8618
+ */
8083
8619
  user?: UserRequest;
8084
8620
  }
8085
8621
 
@@ -8117,6 +8653,9 @@ export interface CreateCommandRequest {
8117
8653
  export interface CreateCommandResponse {
8118
8654
  duration: string;
8119
8655
 
8656
+ /**
8657
+ * Represents custom chat command
8658
+ */
8120
8659
  command?: Command;
8121
8660
  }
8122
8661
 
@@ -8152,6 +8691,9 @@ export interface CreateDeviceRequest {
8152
8691
  */
8153
8692
  voip_token?: boolean;
8154
8693
 
8694
+ /**
8695
+ * User request object
8696
+ */
8155
8697
  user?: UserRequest;
8156
8698
  }
8157
8699
 
@@ -8179,8 +8721,14 @@ export interface CreateExternalStorageRequest {
8179
8721
  */
8180
8722
  path?: string;
8181
8723
 
8724
+ /**
8725
+ * Config for creating Amazon S3 storage.
8726
+ */
8182
8727
  aws_s3?: S3Request;
8183
8728
 
8729
+ /**
8730
+ * Config for creating Azure Blob Storage storage
8731
+ */
8184
8732
  azure_blob?: AzureRequest;
8185
8733
  }
8186
8734
 
@@ -8202,11 +8750,7 @@ export interface CreateFeedGroupRequest {
8202
8750
  */
8203
8751
 
8204
8752
  default_visibility?:
8205
- | 'public'
8206
- | 'visible'
8207
- | 'followers'
8208
- | 'members'
8209
- | 'private';
8753
+ 'public' | 'visible' | 'followers' | 'members' | 'private';
8210
8754
 
8211
8755
  /**
8212
8756
  * Configuration for activity processors
@@ -8286,6 +8830,9 @@ export interface CreateFeedsBatchResponse {
8286
8830
  }
8287
8831
 
8288
8832
  export interface CreateGuestRequest {
8833
+ /**
8834
+ * User request object
8835
+ */
8289
8836
  user: UserRequest;
8290
8837
  }
8291
8838
 
@@ -8300,6 +8847,9 @@ export interface CreateGuestResponse {
8300
8847
  */
8301
8848
  duration: string;
8302
8849
 
8850
+ /**
8851
+ * User response object
8852
+ */
8303
8853
  user: UserResponse;
8304
8854
  }
8305
8855
 
@@ -8342,6 +8892,9 @@ export interface CreateImportV2TaskRequest {
8342
8892
 
8343
8893
  user_id?: string;
8344
8894
 
8895
+ /**
8896
+ * User request object
8897
+ */
8345
8898
  user?: UserRequest;
8346
8899
  }
8347
8900
 
@@ -8404,6 +8957,35 @@ export interface CreateMembershipLevelResponse {
8404
8957
  membership_level: MembershipLevelResponse;
8405
8958
  }
8406
8959
 
8960
+ export interface CreatePolicyTestSetRequest {
8961
+ /**
8962
+ * Display name; unique within an app
8963
+ */
8964
+ name: string;
8965
+
8966
+ /**
8967
+ * Moderation config key (default: app default)
8968
+ */
8969
+ config_key?: string;
8970
+
8971
+ /**
8972
+ * Execution target: 'check' or 'labels'. Optional — defaults to 'labels' when the org has the labels API enabled, 'check' otherwise
8973
+ */
8974
+ mode?: string;
8975
+
8976
+ /**
8977
+ * Team scope for the config (optional)
8978
+ */
8979
+ team?: string;
8980
+
8981
+ /**
8982
+ * Messages to test; capped at 1000. Mutually exclusive with seed
8983
+ */
8984
+ rows?: PolicyTestRow[];
8985
+
8986
+ seed?: PolicyTestSeedSpec;
8987
+ }
8988
+
8407
8989
  export interface CreatePollOptionRequest {
8408
8990
  /**
8409
8991
  * Option text
@@ -8412,8 +8994,14 @@ export interface CreatePollOptionRequest {
8412
8994
 
8413
8995
  user_id?: string;
8414
8996
 
8997
+ /**
8998
+ * Custom data for this object
8999
+ */
8415
9000
  custom?: Record<string, any>;
8416
9001
 
9002
+ /**
9003
+ * User request object
9004
+ */
8417
9005
  user?: UserRequest;
8418
9006
  }
8419
9007
 
@@ -8458,8 +9046,14 @@ export interface CreatePollRequest {
8458
9046
 
8459
9047
  options?: PollOptionInput[];
8460
9048
 
9049
+ /**
9050
+ * Custom data for this object
9051
+ */
8461
9052
  custom?: Record<string, any>;
8462
9053
 
9054
+ /**
9055
+ * User request object
9056
+ */
8463
9057
  user?: UserRequest;
8464
9058
  }
8465
9059
 
@@ -8476,6 +9070,9 @@ export interface CreateQueueRequest {
8476
9070
 
8477
9071
  filters?: Record<string, any>;
8478
9072
 
9073
+ /**
9074
+ * User request object
9075
+ */
8479
9076
  user?: UserRequest;
8480
9077
  }
8481
9078
 
@@ -8484,6 +9081,9 @@ export interface CreateReminderRequest {
8484
9081
 
8485
9082
  user_id?: string;
8486
9083
 
9084
+ /**
9085
+ * User request object
9086
+ */
8487
9087
  user?: UserRequest;
8488
9088
  }
8489
9089
 
@@ -8528,6 +9128,9 @@ export interface CreateSIPTrunkRequest {
8528
9128
  export interface CreateSIPTrunkResponse {
8529
9129
  duration: string;
8530
9130
 
9131
+ /**
9132
+ * SIP trunk information
9133
+ */
8531
9134
  sip_trunk?: SIPTrunkResponse;
8532
9135
  }
8533
9136
 
@@ -8668,8 +9271,14 @@ export interface CustomCheckRequest {
8668
9271
 
8669
9272
  user_id?: string;
8670
9273
 
9274
+ /**
9275
+ * Content payload for moderation
9276
+ */
8671
9277
  moderation_payload?: ModerationPayloadRequest;
8672
9278
 
9279
+ /**
9280
+ * User request object
9281
+ */
8673
9282
  user?: UserRequest;
8674
9283
  }
8675
9284
 
@@ -8709,6 +9318,9 @@ export interface CustomVideoEvent {
8709
9318
  */
8710
9319
  custom: Record<string, any>;
8711
9320
 
9321
+ /**
9322
+ * User response object
9323
+ */
8712
9324
  user: UserResponse;
8713
9325
 
8714
9326
  /**
@@ -8753,6 +9365,22 @@ export interface DailyAggregateUserFeedbackReportResponse {
8753
9365
  report: UserFeedbackReport;
8754
9366
  }
8755
9367
 
9368
+ export interface DailyDigestCallSessionSummary {
9369
+ call_cid: string;
9370
+
9371
+ call_session_id: string;
9372
+
9373
+ has_digest: boolean;
9374
+
9375
+ counts: CallStatsParticipantCounts;
9376
+
9377
+ digest_error?: string;
9378
+
9379
+ session_ended_at?: string;
9380
+
9381
+ session_started_at?: string;
9382
+ }
9383
+
8756
9384
  export interface DailyMetricResponse {
8757
9385
  /**
8758
9386
  * Date in YYYY-MM-DD format
@@ -8819,6 +9447,9 @@ export interface DeactivateUserResponse {
8819
9447
  */
8820
9448
  duration: string;
8821
9449
 
9450
+ /**
9451
+ * User response object
9452
+ */
8822
9453
  user?: UserResponse;
8823
9454
  }
8824
9455
 
@@ -8909,6 +9540,9 @@ export interface DeleteActivitiesRequest {
8909
9540
 
8910
9541
  user_id?: string;
8911
9542
 
9543
+ /**
9544
+ * User request object
9545
+ */
8912
9546
  user?: UserRequest;
8913
9547
  }
8914
9548
 
@@ -8975,6 +9609,9 @@ export interface DeleteCallRequest {
8975
9609
  export interface DeleteCallResponse {
8976
9610
  duration: string;
8977
9611
 
9612
+ /**
9613
+ * Represents a call
9614
+ */
8978
9615
  call: CallResponse;
8979
9616
 
8980
9617
  task_id?: string;
@@ -8993,6 +9630,9 @@ export interface DeleteChannelResponse {
8993
9630
  */
8994
9631
  duration: string;
8995
9632
 
9633
+ /**
9634
+ * Represents channel in chat
9635
+ */
8996
9636
  channel?: ChannelResponse;
8997
9637
  }
8998
9638
 
@@ -9189,6 +9829,9 @@ export interface DeleteMessageResponse {
9189
9829
  */
9190
9830
  duration: string;
9191
9831
 
9832
+ /**
9833
+ * Represents any chat message
9834
+ */
9192
9835
  message: MessageResponse;
9193
9836
  }
9194
9837
 
@@ -9210,6 +9853,9 @@ export interface DeleteModerationTemplateResponse {
9210
9853
  export interface DeleteQueueRequest {
9211
9854
  user_id?: string;
9212
9855
 
9856
+ /**
9857
+ * User request object
9858
+ */
9213
9859
  user?: UserRequest;
9214
9860
  }
9215
9861
 
@@ -9241,6 +9887,9 @@ export interface DeleteReactionResponse {
9241
9887
  */
9242
9888
  duration: string;
9243
9889
 
9890
+ /**
9891
+ * Represents any chat message
9892
+ */
9244
9893
  message: MessageResponse;
9245
9894
 
9246
9895
  reaction: ReactionResponse;
@@ -9293,6 +9942,39 @@ export interface DeleteTranscriptionResponse {
9293
9942
  duration: string;
9294
9943
  }
9295
9944
 
9945
+ export interface DeleteUserMessagesRequestPayload {
9946
+ /**
9947
+ * Message deletion mode: soft, pruning, or hard
9948
+ */
9949
+
9950
+ delete_messages: 'soft' | 'pruning' | 'hard';
9951
+
9952
+ /**
9953
+ * Optional: scope deletion to a single channel (alternative to app-wide deletion)
9954
+ */
9955
+ channel_cid?: string;
9956
+
9957
+ /**
9958
+ * Whether to also delete the user's reactions on other users' messages
9959
+ */
9960
+ delete_reactions?: boolean;
9961
+
9962
+ /**
9963
+ * ID of the user whose messages should be deleted (alternative to item_id)
9964
+ */
9965
+ entity_id?: string;
9966
+
9967
+ /**
9968
+ * Type of the entity
9969
+ */
9970
+ entity_type?: string;
9971
+
9972
+ /**
9973
+ * Reason for the deletion
9974
+ */
9975
+ reason?: string;
9976
+ }
9977
+
9296
9978
  export interface DeleteUserRequestPayload {
9297
9979
  /**
9298
9980
  * Also delete all user conversations
@@ -9409,6 +10091,24 @@ export interface DeliveryReceiptsResponse {
9409
10091
  enabled: boolean;
9410
10092
  }
9411
10093
 
10094
+ export interface DeliveryZoneSegment {
10095
+ key: string;
10096
+
10097
+ outlier: boolean;
10098
+
10099
+ sessions: number;
10100
+
10101
+ avg_quality_score?: number;
10102
+
10103
+ p5_quality_score?: number;
10104
+
10105
+ poor_pct?: number;
10106
+
10107
+ share_pct?: number;
10108
+
10109
+ watch_share_pct?: number;
10110
+ }
10111
+
9412
10112
  export interface DeviceDataResponse {
9413
10113
  name?: string;
9414
10114
 
@@ -9536,14 +10236,26 @@ export interface DraftResponse {
9536
10236
 
9537
10237
  created_at: Date;
9538
10238
 
10239
+ /**
10240
+ * Contains the draft message content
10241
+ */
9539
10242
  message: DraftPayloadResponse;
9540
10243
 
9541
10244
  parent_id?: string;
9542
10245
 
10246
+ /**
10247
+ * Represents channel in chat
10248
+ */
9543
10249
  channel?: ChannelResponse;
9544
10250
 
10251
+ /**
10252
+ * Represents any chat message
10253
+ */
9545
10254
  parent_message?: MessageResponse;
9546
10255
 
10256
+ /**
10257
+ * Represents any chat message
10258
+ */
9547
10259
  quoted_message?: MessageResponse;
9548
10260
  }
9549
10261
 
@@ -9618,18 +10330,52 @@ export interface EgressResponse {
9618
10330
  raw_recording?: RawRecordingResponse;
9619
10331
  }
9620
10332
 
10333
+ export interface EncodingProfile {
10334
+ getstats_snapshots: number;
10335
+
10336
+ source_file: string;
10337
+
10338
+ svc_modes: string[];
10339
+
10340
+ quality_limitation_durations_s: Record<string, number>;
10341
+
10342
+ quality_limitation_samples: Record<string, number>;
10343
+
10344
+ avg_send_kbps?: number;
10345
+
10346
+ codec?: string;
10347
+
10348
+ encoder_impl?: string;
10349
+
10350
+ fps_p10?: number;
10351
+
10352
+ fps_p50?: number;
10353
+
10354
+ hardware_encode?: boolean;
10355
+
10356
+ ladder_type?: string;
10357
+
10358
+ power_efficient?: boolean;
10359
+
10360
+ resolution?: string;
10361
+
10362
+ simulcast_layers?: number;
10363
+ }
10364
+
9621
10365
  export interface EncryptionSettingsRequest {
9622
10366
  /**
9623
- * if true, the call is created end-to-end encrypted
10367
+ * Encryption mode. One of: available, disabled, auto-on
9624
10368
  */
9625
- enabled?: boolean;
10369
+
10370
+ mode?: 'available' | 'disabled' | 'auto-on';
9626
10371
  }
9627
10372
 
9628
10373
  export interface EncryptionSettingsResponse {
9629
10374
  /**
9630
- * whether the call is end-to-end encrypted
10375
+ * the resolved encryption mode for the call
9631
10376
  */
9632
- enabled: boolean;
10377
+
10378
+ mode: 'available' | 'disabled' | 'auto-on';
9633
10379
  }
9634
10380
 
9635
10381
  export interface EndCallRequest {}
@@ -10022,6 +10768,9 @@ export interface EventRequest {
10022
10768
 
10023
10769
  custom?: Record<string, any>;
10024
10770
 
10771
+ /**
10772
+ * User request object
10773
+ */
10025
10774
  user?: UserRequest;
10026
10775
  }
10027
10776
 
@@ -10031,6 +10780,9 @@ export interface EventResponse {
10031
10780
  */
10032
10781
  duration: string;
10033
10782
 
10783
+ /**
10784
+ * Represents an BaseEvent that happened in Stream Chat
10785
+ */
10034
10786
  event: WSEvent;
10035
10787
  }
10036
10788
 
@@ -10047,6 +10799,12 @@ export interface ExportChannelsRequest {
10047
10799
 
10048
10800
  export_users?: boolean;
10049
10801
 
10802
+ /**
10803
+ * Output format: 'json' (default) or 'csv'. csv requires version=v2 and is incompatible with export_users
10804
+ */
10805
+
10806
+ format?: 'json' | 'csv';
10807
+
10050
10808
  /**
10051
10809
  * Set if you want to include deleted channels
10052
10810
  */
@@ -10061,6 +10819,11 @@ export interface ExportChannelsRequest {
10061
10819
  * Export version
10062
10820
  */
10063
10821
  version?: string;
10822
+
10823
+ /**
10824
+ * For csv format: subset of message columns to include (defaults to a standard set)
10825
+ */
10826
+ include_fields?: string[];
10064
10827
  }
10065
10828
 
10066
10829
  export interface ExportChannelsResponse {
@@ -10102,6 +10865,9 @@ export interface ExportUserResponse {
10102
10865
  */
10103
10866
  reactions?: ReactionResponse[];
10104
10867
 
10868
+ /**
10869
+ * User response object
10870
+ */
10105
10871
  user?: UserResponse;
10106
10872
  }
10107
10873
 
@@ -10296,11 +11062,7 @@ export interface FeedGroupResponse {
10296
11062
  */
10297
11063
 
10298
11064
  default_visibility?:
10299
- | 'public'
10300
- | 'visible'
10301
- | 'followers'
10302
- | 'members'
10303
- | 'private';
11065
+ 'public' | 'visible' | 'followers' | 'members' | 'private';
10304
11066
 
10305
11067
  deleted_at?: Date;
10306
11068
 
@@ -10470,6 +11232,9 @@ export interface FeedMemberResponse {
10470
11232
  */
10471
11233
  updated_at: Date;
10472
11234
 
11235
+ /**
11236
+ * User response object
11237
+ */
10473
11238
  user: UserResponse;
10474
11239
 
10475
11240
  /**
@@ -10546,7 +11311,6 @@ export const FeedOwnCapability = {
10546
11311
  UPDATE_OWN_COMMENT: 'update-own-comment',
10547
11312
  } as const;
10548
11313
 
10549
- // eslint-disable-next-line @typescript-eslint/no-redeclare
10550
11314
  export type FeedOwnCapability =
10551
11315
  (typeof FeedOwnCapability)[keyof typeof FeedOwnCapability];
10552
11316
 
@@ -10677,6 +11441,9 @@ export interface FeedResponse {
10677
11441
  */
10678
11442
  updated_at: Date;
10679
11443
 
11444
+ /**
11445
+ * User response object
11446
+ */
10680
11447
  created_by: UserResponse;
10681
11448
 
10682
11449
  /**
@@ -10778,6 +11545,9 @@ export interface FeedSuggestionResponse {
10778
11545
  */
10779
11546
  updated_at: Date;
10780
11547
 
11548
+ /**
11549
+ * User response object
11550
+ */
10781
11551
  created_by: UserResponse;
10782
11552
 
10783
11553
  /**
@@ -10901,6 +11671,9 @@ export interface FeedsBookmarkResponse {
10901
11671
 
10902
11672
  updated_at: Date;
10903
11673
 
11674
+ /**
11675
+ * User response object
11676
+ */
10904
11677
  user: UserResponse;
10905
11678
 
10906
11679
  activity_id?: string;
@@ -10949,6 +11722,9 @@ export interface FeedsFeedResponse {
10949
11722
 
10950
11723
  updated_at: Date;
10951
11724
 
11725
+ /**
11726
+ * User response object
11727
+ */
10952
11728
  created_by: UserResponse;
10953
11729
 
10954
11730
  deleted_at?: Date;
@@ -11116,6 +11892,9 @@ export interface FeedsReactionResponse {
11116
11892
 
11117
11893
  updated_at: Date;
11118
11894
 
11895
+ /**
11896
+ * User response object
11897
+ */
11119
11898
  user: UserResponse;
11120
11899
 
11121
11900
  comment_id?: string;
@@ -11128,6 +11907,9 @@ export interface FeedsShareResponse {
11128
11907
 
11129
11908
  created_at: Date;
11130
11909
 
11910
+ /**
11911
+ * User response object
11912
+ */
11131
11913
  user: UserResponse;
11132
11914
  }
11133
11915
 
@@ -11186,6 +11968,9 @@ export interface FeedsV3ActivityResponse {
11186
11968
 
11187
11969
  search_data: Record<string, any>;
11188
11970
 
11971
+ /**
11972
+ * User response object
11973
+ */
11189
11974
  user: UserResponse;
11190
11975
 
11191
11976
  deleted_at?: Date;
@@ -11264,6 +12049,9 @@ export interface FeedsV3CommentResponse {
11264
12049
 
11265
12050
  own_reactions: FeedsReactionResponse[];
11266
12051
 
12052
+ /**
12053
+ * User response object
12054
+ */
11267
12055
  user: UserResponse;
11268
12056
 
11269
12057
  controversy_score?: number;
@@ -11360,6 +12148,11 @@ export interface FilterConfigResponse {
11360
12148
  * The moderation_payload.custom keys the app has configured as review-queue filter chips (via moderation_dashboard_preferences.filterable_custom_keys). Discovery hint for the dashboard only — the filter accepts any custom key regardless of this list.
11361
12149
  */
11362
12150
  filterable_custom_keys?: string[];
12151
+
12152
+ /**
12153
+ * AI image moderation labels available as filter values, as a map of L1 label to its L2 sub-labels. Reflects the app's effective image taxonomy: custom Bodyguard taxonomy when enabled, otherwise the standard catalogue of the org's enabled image providers.
12154
+ */
12155
+ ai_image_taxonomy?: Record<string, string[]>;
11363
12156
  }
11364
12157
 
11365
12158
  export interface FirebaseConfig {
@@ -11465,6 +12258,9 @@ export interface FlagRequest {
11465
12258
 
11466
12259
  moderation_payload?: ModerationPayload;
11467
12260
 
12261
+ /**
12262
+ * User request object
12263
+ */
11468
12264
  user?: UserRequest;
11469
12265
  }
11470
12266
 
@@ -11491,10 +12287,19 @@ export interface FlagResponse {
11491
12287
 
11492
12288
  details?: FlagDetails;
11493
12289
 
12290
+ /**
12291
+ * Represents any chat message
12292
+ */
11494
12293
  target_message?: MessageResponse;
11495
12294
 
12295
+ /**
12296
+ * User response object
12297
+ */
11496
12298
  target_user?: UserResponse;
11497
12299
 
12300
+ /**
12301
+ * User response object
12302
+ */
11498
12303
  user?: UserResponse;
11499
12304
  }
11500
12305
 
@@ -11507,10 +12312,19 @@ export interface FlagUpdatedEvent {
11507
12312
 
11508
12313
  received_at?: Date;
11509
12314
 
12315
+ /**
12316
+ * User response object
12317
+ */
11510
12318
  created_by?: UserResponse;
11511
12319
 
12320
+ /**
12321
+ * Represents any chat message
12322
+ */
11512
12323
  message?: MessageResponse;
11513
12324
 
12325
+ /**
12326
+ * User response object
12327
+ */
11514
12328
  user?: UserResponse;
11515
12329
  }
11516
12330
 
@@ -11519,6 +12333,8 @@ export interface FlagUserOptions {
11519
12333
  }
11520
12334
 
11521
12335
  export interface FloodConfig {
12336
+ allowlist?: string[];
12337
+
11522
12338
  identical?: FloodIdenticalConfig;
11523
12339
 
11524
12340
  similar?: FloodSimilarConfig;
@@ -11538,6 +12354,8 @@ export interface FloodIdenticalRuleParameters {
11538
12354
  threshold?: number;
11539
12355
 
11540
12356
  time_window?: string;
12357
+
12358
+ allowlist?: string[];
11541
12359
  }
11542
12360
 
11543
12361
  export interface FloodSimilarConfig {
@@ -11558,6 +12376,8 @@ export interface FloodSimilarRuleParameters {
11558
12376
  threshold?: number;
11559
12377
 
11560
12378
  time_window?: string;
12379
+
12380
+ allowlist?: string[];
11561
12381
  }
11562
12382
 
11563
12383
  export interface FollowBatchRequest {
@@ -11884,8 +12704,14 @@ export interface FutureChannelBanResponse {
11884
12704
 
11885
12705
  shadow?: boolean;
11886
12706
 
12707
+ /**
12708
+ * User response object
12709
+ */
11887
12710
  banned_by?: UserResponse;
11888
12711
 
12712
+ /**
12713
+ * User response object
12714
+ */
11889
12715
  user?: UserResponse;
11890
12716
  }
11891
12717
 
@@ -11962,6 +12788,9 @@ export interface GetApplicationResponse {
11962
12788
  export interface GetBlockListResponse {
11963
12789
  duration: string;
11964
12790
 
12791
+ /**
12792
+ * Block list contains restricted words
12793
+ */
11965
12794
  blocklist?: BlockListResponse;
11966
12795
  }
11967
12796
 
@@ -12014,6 +12843,8 @@ export interface GetCallReportResponse {
12014
12843
 
12015
12844
  chat_activity?: ChatActivityStatsResponse;
12016
12845
 
12846
+ digest?: BroadcastDigest;
12847
+
12017
12848
  session?: CallSessionResponse;
12018
12849
  }
12019
12850
 
@@ -12024,6 +12855,9 @@ export interface GetCallResponse {
12024
12855
 
12025
12856
  own_capabilities: OwnCapability[];
12026
12857
 
12858
+ /**
12859
+ * Represents a call
12860
+ */
12027
12861
  call: CallResponse;
12028
12862
  }
12029
12863
 
@@ -12159,6 +12993,9 @@ export interface GetChannelTypeResponse {
12159
12993
 
12160
12994
  blocklists?: BlockListOptions[];
12161
12995
 
12996
+ /**
12997
+ * Sets thresholds for AI moderation
12998
+ */
12162
12999
  automod_thresholds?: Thresholds;
12163
13000
 
12164
13001
  chat_preferences?: ChatPreferences;
@@ -12237,6 +13074,33 @@ export interface GetCustomPermissionResponse {
12237
13074
  permission: Permission;
12238
13075
  }
12239
13076
 
13077
+ export interface GetDailyDigestResponse {
13078
+ date: string;
13079
+
13080
+ /**
13081
+ * Duration of the request in milliseconds
13082
+ */
13083
+ duration: string;
13084
+
13085
+ status: string;
13086
+
13087
+ generated_at?: string;
13088
+
13089
+ retry_after?: number;
13090
+
13091
+ revision?: number;
13092
+
13093
+ schema_version?: string;
13094
+
13095
+ broadcasts?: BroadcastDigest[];
13096
+
13097
+ call_sessions?: DailyDigestCallSessionSummary[];
13098
+
13099
+ digest_kinds?: string[];
13100
+
13101
+ broadcast_rollup?: BroadcastDailyRollup;
13102
+ }
13103
+
12240
13104
  export interface GetDraftResponse {
12241
13105
  /**
12242
13106
  * Duration of the request in milliseconds
@@ -12255,6 +13119,41 @@ export interface GetEdgesResponse {
12255
13119
  edges: EdgeResponse[];
12256
13120
  }
12257
13121
 
13122
+ export interface GetExternalStorageAWSS3Response {
13123
+ bucket: string;
13124
+
13125
+ region: string;
13126
+
13127
+ role_arn: string;
13128
+
13129
+ path_prefix?: string;
13130
+ }
13131
+
13132
+ export interface GetExternalStorageGCSResponse {
13133
+ bucket: string;
13134
+
13135
+ credentials_set: boolean;
13136
+
13137
+ path_prefix?: string;
13138
+ }
13139
+
13140
+ export interface GetExternalStorageResponse {
13141
+ created_at: Date;
13142
+
13143
+ /**
13144
+ * Duration of the request in milliseconds
13145
+ */
13146
+ duration: string;
13147
+
13148
+ type: string;
13149
+
13150
+ updated_at: Date;
13151
+
13152
+ aws_s3?: GetExternalStorageAWSS3Response;
13153
+
13154
+ gcs?: GetExternalStorageGCSResponse;
13155
+ }
13156
+
12258
13157
  export interface GetFeedGroupResponse {
12259
13158
  duration: string;
12260
13159
 
@@ -12291,6 +13190,11 @@ export interface GetFeedsRateLimitsResponse {
12291
13190
  */
12292
13191
  server_side?: Record<string, LimitInfoResponse>;
12293
13192
 
13193
+ /**
13194
+ * Rate limits for Unity platform (endpoint name -> limit info)
13195
+ */
13196
+ unity?: Record<string, LimitInfoResponse>;
13197
+
12294
13198
  /**
12295
13199
  * Rate limits for Web platform (endpoint name -> limit info)
12296
13200
  */
@@ -12376,6 +13280,9 @@ export interface GetMessageResponse {
12376
13280
  */
12377
13281
  duration: string;
12378
13282
 
13283
+ /**
13284
+ * Represents any chat message
13285
+ */
12379
13286
  message: MessageWithChannelResponse;
12380
13287
 
12381
13288
  pending_message_metadata?: Record<string, string>;
@@ -12483,6 +13390,9 @@ export interface GetOrCreateCallRequest {
12483
13390
 
12484
13391
  video?: boolean;
12485
13392
 
13393
+ /**
13394
+ * CallRequest is the payload for creating a call.
13395
+ */
12486
13396
  data?: CallRequest;
12487
13397
  }
12488
13398
 
@@ -12495,6 +13405,9 @@ export interface GetOrCreateCallResponse {
12495
13405
 
12496
13406
  own_capabilities: OwnCapability[];
12497
13407
 
13408
+ /**
13409
+ * Represents a call
13410
+ */
12498
13411
  call: CallResponse;
12499
13412
  }
12500
13413
 
@@ -12504,11 +13417,7 @@ export interface GetOrCreateFeedGroupRequest {
12504
13417
  */
12505
13418
 
12506
13419
  default_visibility?:
12507
- | 'public'
12508
- | 'visible'
12509
- | 'followers'
12510
- | 'members'
12511
- | 'private';
13420
+ 'public' | 'visible' | 'followers' | 'members' | 'private';
12512
13421
 
12513
13422
  /**
12514
13423
  * Configuration for activity processors
@@ -12568,6 +13477,9 @@ export interface GetOrCreateFeedRequest {
12568
13477
 
12569
13478
  data?: FeedInput;
12570
13479
 
13480
+ /**
13481
+ * Options to skip specific enrichments to improve performance. Default is false (enrichments are included). Setting a field to true skips that enrichment.
13482
+ */
12571
13483
  enrichment_options?: EnrichmentOptions;
12572
13484
 
12573
13485
  external_ranking?: Record<string, any>;
@@ -12578,12 +13490,18 @@ export interface GetOrCreateFeedRequest {
12578
13490
 
12579
13491
  following_pagination?: PagerRequest;
12580
13492
 
13493
+ /**
13494
+ * Options to control fetching reactions from friends (users you follow or have mutual follows with).
13495
+ */
12581
13496
  friend_reactions_options?: FriendReactionsOptions;
12582
13497
 
12583
13498
  interest_weights?: Record<string, number>;
12584
13499
 
12585
13500
  member_pagination?: PagerRequest;
12586
13501
 
13502
+ /**
13503
+ * User request object
13504
+ */
12587
13505
  user?: UserRequest;
12588
13506
  }
12589
13507
 
@@ -12725,6 +13643,11 @@ export interface GetRateLimitsResponse {
12725
13643
  */
12726
13644
  server_side?: Record<string, LimitInfoResponse>;
12727
13645
 
13646
+ /**
13647
+ * Map of endpoint rate limits for the Unity platform
13648
+ */
13649
+ unity?: Record<string, LimitInfoResponse>;
13650
+
12728
13651
  /**
12729
13652
  * Map of endpoint rate limits for the web platform
12730
13653
  */
@@ -12882,6 +13805,9 @@ export interface GoLiveResponse {
12882
13805
  */
12883
13806
  duration: string;
12884
13807
 
13808
+ /**
13809
+ * Represents a call
13810
+ */
12885
13811
  call: CallResponse;
12886
13812
  }
12887
13813
 
@@ -12932,6 +13858,9 @@ export interface GroupedQueryChannelsRequest {
12932
13858
  */
12933
13859
  groups?: Record<string, GroupedChannelsGroupRequest>;
12934
13860
 
13861
+ /**
13862
+ * User request object
13863
+ */
12935
13864
  user?: UserRequest;
12936
13865
  }
12937
13866
 
@@ -13012,6 +13941,9 @@ export interface HideChannelRequest {
13012
13941
 
13013
13942
  user_id?: string;
13014
13943
 
13944
+ /**
13945
+ * User request object
13946
+ */
13015
13947
  user?: UserRequest;
13016
13948
  }
13017
13949
 
@@ -13230,6 +14162,16 @@ export interface ImportV2TaskSettingsS3 {
13230
14162
  region?: string;
13231
14163
  }
13232
14164
 
14165
+ export interface Incident {
14166
+ from: string;
14167
+
14168
+ peak_concurrency: number;
14169
+
14170
+ to: string;
14171
+
14172
+ viewers_interrupted: number;
14173
+ }
14174
+
13233
14175
  export interface IndividualRecordSettings {
13234
14176
  mode: 'available' | 'disabled' | 'auto-on';
13235
14177
 
@@ -13544,6 +14486,18 @@ export interface JoinCallAPIMetrics {
13544
14486
  latency?: ActiveCallsLatencyStats;
13545
14487
  }
13546
14488
 
14489
+ export interface Joins {
14490
+ reason: string;
14491
+
14492
+ disconnect_reasons: Record<string, number>;
14493
+
14494
+ failure_stages: Record<string, number>;
14495
+
14496
+ join_attempts?: number;
14497
+
14498
+ join_success_rate?: number;
14499
+ }
14500
+
13547
14501
  export interface KeyframeOCRRuleParameters {
13548
14502
  threshold?: number;
13549
14503
 
@@ -13578,6 +14532,9 @@ export interface KickUserRequest {
13578
14532
  */
13579
14533
  kicked_by_id?: string;
13580
14534
 
14535
+ /**
14536
+ * User request object
14537
+ */
13581
14538
  kicked_by?: UserRequest;
13582
14539
  }
13583
14540
 
@@ -13593,6 +14550,9 @@ export interface KickedUserEvent {
13593
14550
 
13594
14551
  created_at: Date;
13595
14552
 
14553
+ /**
14554
+ * User response object
14555
+ */
13596
14556
  user: UserResponse;
13597
14557
 
13598
14558
  /**
@@ -13600,6 +14560,9 @@ export interface KickedUserEvent {
13600
14560
  */
13601
14561
  type: string;
13602
14562
 
14563
+ /**
14564
+ * User response object
14565
+ */
13603
14566
  kicked_by_user?: UserResponse;
13604
14567
  }
13605
14568
 
@@ -14135,6 +15098,9 @@ export interface MarkActivityRequest {
14135
15098
  */
14136
15099
  mark_watched?: string[];
14137
15100
 
15101
+ /**
15102
+ * User request object
15103
+ */
14138
15104
  user?: UserRequest;
14139
15105
  }
14140
15106
 
@@ -14146,6 +15112,9 @@ export interface MarkChannelsReadRequest {
14146
15112
  */
14147
15113
  read_by_channel?: Record<string, string>;
14148
15114
 
15115
+ /**
15116
+ * User request object
15117
+ */
14149
15118
  user?: UserRequest;
14150
15119
  }
14151
15120
 
@@ -14173,6 +15142,9 @@ export interface MarkReadRequest {
14173
15142
 
14174
15143
  user_id?: string;
14175
15144
 
15145
+ /**
15146
+ * User request object
15147
+ */
14176
15148
  user?: UserRequest;
14177
15149
  }
14178
15150
 
@@ -14202,6 +15174,9 @@ export interface MarkReadResponseEvent {
14202
15174
 
14203
15175
  team?: string;
14204
15176
 
15177
+ /**
15178
+ * Represents channel in chat
15179
+ */
14205
15180
  channel?: ChannelResponse;
14206
15181
 
14207
15182
  thread?: ThreadResponse;
@@ -14244,6 +15219,9 @@ export interface MarkUnreadRequest {
14244
15219
 
14245
15220
  user_id?: string;
14246
15221
 
15222
+ /**
15223
+ * User request object
15224
+ */
14247
15225
  user?: UserRequest;
14248
15226
  }
14249
15227
 
@@ -14273,6 +15251,8 @@ export interface MatchedContent {
14273
15251
  */
14274
15252
  severity?: string;
14275
15253
 
15254
+ text?: string;
15255
+
14276
15256
  /**
14277
15257
  * Image-classification entries (keyframe rule, Type=image) carry nested L1 → L2 classifications. Text entries (closed_caption rule, Type=text) carry flat label + severity. Resolved against the app's effective taxonomy on the image side.
14278
15258
  */
@@ -14300,6 +15280,9 @@ export interface MemberAddedEvent {
14300
15280
  */
14301
15281
  created_at: Date;
14302
15282
 
15283
+ /**
15284
+ * Represents channel in chat
15285
+ */
14303
15286
  channel: ChannelResponse;
14304
15287
 
14305
15288
  custom: Record<string, any>;
@@ -14354,6 +15337,9 @@ export interface MemberRemovedEvent {
14354
15337
  */
14355
15338
  created_at: Date;
14356
15339
 
15340
+ /**
15341
+ * Represents channel in chat
15342
+ */
14357
15343
  channel: ChannelResponse;
14358
15344
 
14359
15345
  custom: Record<string, any>;
@@ -14431,6 +15417,9 @@ export interface MemberResponse {
14431
15417
  */
14432
15418
  custom: Record<string, any>;
14433
15419
 
15420
+ /**
15421
+ * User response object
15422
+ */
14434
15423
  user: UserResponse;
14435
15424
 
14436
15425
  /**
@@ -14447,6 +15436,9 @@ export interface MemberUpdatedEvent {
14447
15436
  */
14448
15437
  created_at: Date;
14449
15438
 
15439
+ /**
15440
+ * Represents channel in chat
15441
+ */
14450
15442
  channel: ChannelResponse;
14451
15443
 
14452
15444
  custom: Record<string, any>;
@@ -14557,6 +15549,9 @@ export interface MessageActionRequest {
14557
15549
 
14558
15550
  user_id?: string;
14559
15551
 
15552
+ /**
15553
+ * User request object
15554
+ */
14560
15555
  user?: UserRequest;
14561
15556
  }
14562
15557
 
@@ -14566,6 +15561,9 @@ export interface MessageActionResponse {
14566
15561
  */
14567
15562
  duration: string;
14568
15563
 
15564
+ /**
15565
+ * Represents any chat message
15566
+ */
14569
15567
  message?: MessageResponse;
14570
15568
  }
14571
15569
 
@@ -14604,6 +15602,9 @@ export interface MessageDeletedEvent {
14604
15602
 
14605
15603
  custom: Record<string, any>;
14606
15604
 
15605
+ /**
15606
+ * Represents any chat message
15607
+ */
14607
15608
  message: MessageResponse;
14608
15609
 
14609
15610
  /**
@@ -14672,14 +15673,26 @@ export interface MessageFlagResponse {
14672
15673
 
14673
15674
  details?: FlagDetailsResponse;
14674
15675
 
15676
+ /**
15677
+ * Represents any chat message
15678
+ */
14675
15679
  message?: MessageResponse;
14676
15680
 
14677
15681
  moderation_feedback?: FlagFeedbackResponse;
14678
15682
 
15683
+ /**
15684
+ * Result of the message moderation
15685
+ */
14679
15686
  moderation_result?: MessageModerationResult;
14680
15687
 
15688
+ /**
15689
+ * User response object
15690
+ */
14681
15691
  reviewed_by?: UserResponse;
14682
15692
 
15693
+ /**
15694
+ * User response object
15695
+ */
14683
15696
  user?: UserResponse;
14684
15697
  }
14685
15698
 
@@ -14691,6 +15704,9 @@ export interface MessageFlaggedEvent {
14691
15704
 
14692
15705
  message_id: string;
14693
15706
 
15707
+ /**
15708
+ * Represents any chat message
15709
+ */
14694
15710
  message: MessageResponse;
14695
15711
 
14696
15712
  /**
@@ -14747,6 +15763,9 @@ export interface MessageFlaggedEvent {
14747
15763
  */
14748
15764
  custom?: Record<string, any>;
14749
15765
 
15766
+ /**
15767
+ * Result of the message moderation
15768
+ */
14750
15769
  details?: MessageModerationResult;
14751
15770
 
14752
15771
  flag?: FlagResponse;
@@ -14818,6 +15837,9 @@ export interface MessageModerationResult {
14818
15837
 
14819
15838
  ai_moderation_response?: ModerationResponse;
14820
15839
 
15840
+ /**
15841
+ * Sets thresholds for AI moderation
15842
+ */
14821
15843
  moderation_thresholds?: Thresholds;
14822
15844
  }
14823
15845
 
@@ -14836,6 +15858,9 @@ export interface MessageNewEvent {
14836
15858
 
14837
15859
  custom: Record<string, any>;
14838
15860
 
15861
+ /**
15862
+ * Represents any chat message
15863
+ */
14839
15864
  message: MessageResponse;
14840
15865
 
14841
15866
  /**
@@ -14894,6 +15919,9 @@ export interface MessageNewEvent {
14894
15919
  */
14895
15920
  thread_participants?: UserResponseCommonFields[];
14896
15921
 
15922
+ /**
15923
+ * Represents channel in chat
15924
+ */
14897
15925
  channel?: ChannelResponse;
14898
15926
 
14899
15927
  channel_custom?: Record<string, any>;
@@ -14905,6 +15933,8 @@ export interface MessageNewEvent {
14905
15933
 
14906
15934
  export interface MessageOptions {
14907
15935
  include_thread_participants?: boolean;
15936
+
15937
+ member_custom_include?: string[];
14908
15938
  }
14909
15939
 
14910
15940
  export interface MessagePaginationParams {
@@ -15014,6 +16044,9 @@ export interface MessageReadEvent {
15014
16044
  */
15015
16045
  team?: string;
15016
16046
 
16047
+ /**
16048
+ * Represents channel in chat
16049
+ */
15017
16050
  channel?: ChannelResponse;
15018
16051
 
15019
16052
  channel_custom?: Record<string, any>;
@@ -15089,7 +16122,7 @@ export interface MessageRequest {
15089
16122
  * Contains type of the message. One of: regular, system
15090
16123
  */
15091
16124
 
15092
- type?: "''" | 'regular' | 'system';
16125
+ type?: 'regular' | 'system';
15093
16126
 
15094
16127
  user_id?: string;
15095
16128
 
@@ -15119,6 +16152,9 @@ export interface MessageRequest {
15119
16152
 
15120
16153
  shared_location?: SharedLocation;
15121
16154
 
16155
+ /**
16156
+ * User request object
16157
+ */
15122
16158
  user?: UserRequest;
15123
16159
  }
15124
16160
 
@@ -15227,6 +16263,9 @@ export interface MessageResponse {
15227
16263
  */
15228
16264
  reaction_scores: Record<string, number>;
15229
16265
 
16266
+ /**
16267
+ * User response object
16268
+ */
15230
16269
  user: UserResponse;
15231
16270
 
15232
16271
  /**
@@ -15311,10 +16350,16 @@ export interface MessageResponse {
15311
16350
 
15312
16351
  moderation?: ModerationV2Response;
15313
16352
 
16353
+ /**
16354
+ * User response object
16355
+ */
15314
16356
  pinned_by?: UserResponse;
15315
16357
 
15316
16358
  poll?: PollResponseData;
15317
16359
 
16360
+ /**
16361
+ * Represents any chat message
16362
+ */
15318
16363
  quoted_message?: MessageResponse;
15319
16364
 
15320
16365
  reaction_groups?: Record<string, ReactionGroupResponse>;
@@ -15338,6 +16383,9 @@ export interface MessageUnblockedEvent {
15338
16383
 
15339
16384
  custom: Record<string, any>;
15340
16385
 
16386
+ /**
16387
+ * Represents any chat message
16388
+ */
15341
16389
  message: MessageResponse;
15342
16390
 
15343
16391
  /**
@@ -15365,6 +16413,9 @@ export interface MessageUndeletedEvent {
15365
16413
 
15366
16414
  custom: Record<string, any>;
15367
16415
 
16416
+ /**
16417
+ * Represents any chat message
16418
+ */
15368
16419
  message: MessageResponse;
15369
16420
 
15370
16421
  /**
@@ -15423,6 +16474,9 @@ export interface MessageUpdatedEvent {
15423
16474
 
15424
16475
  custom: Record<string, any>;
15425
16476
 
16477
+ /**
16478
+ * Represents any chat message
16479
+ */
15426
16480
  message: MessageResponse;
15427
16481
 
15428
16482
  /**
@@ -15562,6 +16616,9 @@ export interface MessageWithChannelResponse {
15562
16616
  */
15563
16617
  restricted_visibility: string[];
15564
16618
 
16619
+ /**
16620
+ * Represents channel in chat
16621
+ */
15565
16622
  channel: ChannelResponse;
15566
16623
 
15567
16624
  custom: Record<string, any>;
@@ -15576,6 +16633,9 @@ export interface MessageWithChannelResponse {
15576
16633
  */
15577
16634
  reaction_scores: Record<string, number>;
15578
16635
 
16636
+ /**
16637
+ * User response object
16638
+ */
15579
16639
  user: UserResponse;
15580
16640
 
15581
16641
  /**
@@ -15660,10 +16720,16 @@ export interface MessageWithChannelResponse {
15660
16720
 
15661
16721
  moderation?: ModerationV2Response;
15662
16722
 
16723
+ /**
16724
+ * User response object
16725
+ */
15663
16726
  pinned_by?: UserResponse;
15664
16727
 
15665
16728
  poll?: PollResponseData;
15666
16729
 
16730
+ /**
16731
+ * Represents any chat message
16732
+ */
15667
16733
  quoted_message?: MessageResponse;
15668
16734
 
15669
16735
  reaction_groups?: Record<string, ReactionGroupResponse>;
@@ -15709,6 +16775,18 @@ export interface MetricTimeSeries {
15709
16775
  data_points?: number[][];
15710
16776
  }
15711
16777
 
16778
+ export interface MetricsPct {
16779
+ freezes?: number;
16780
+
16781
+ geo?: number;
16782
+
16783
+ jitter?: number;
16784
+
16785
+ latency?: number;
16786
+
16787
+ quality_score?: number;
16788
+ }
16789
+
15712
16790
  export interface ModerationActionConfigResponse {
15713
16791
  /**
15714
16792
  * The action to take
@@ -15748,12 +16826,50 @@ export interface ModerationActionConfigResponse {
15748
16826
  custom?: Record<string, any>;
15749
16827
  }
15750
16828
 
15751
- export interface ModerationBanResponse {
15752
- duration: string;
15753
- }
16829
+ export interface ModerationAnalysisFailedEvent {
16830
+ created_at: Date;
15754
16831
 
15755
- export interface ModerationCallResponse {
15756
- backstage: boolean;
16832
+ type: string;
16833
+
16834
+ /**
16835
+ * The moderation policy key the request targeted.
16836
+ */
16837
+ config_key?: string;
16838
+
16839
+ /**
16840
+ * Echo of the `entity_creator_id` on the /analyze request.
16841
+ */
16842
+ entity_creator_id?: string;
16843
+
16844
+ /**
16845
+ * Echo of the `entity_id` on the /analyze request.
16846
+ */
16847
+ entity_id?: string;
16848
+
16849
+ /**
16850
+ * Echo of the `entity_type` on the /analyze request.
16851
+ */
16852
+ entity_type?: string;
16853
+
16854
+ received_at?: Date;
16855
+
16856
+ /**
16857
+ * Echo of the request's `content_ids`, keyed by text/image label. On keyframe and caption streams every request repeats the same entity_type/entity_id/entity_creator_id, so this is what identifies the specific submission that went unscreened.
16858
+ */
16859
+ content_ids?: Record<string, string>;
16860
+
16861
+ /**
16862
+ * Echo of the `custom` metadata on the /analyze request.
16863
+ */
16864
+ custom?: Record<string, any>;
16865
+ }
16866
+
16867
+ export interface ModerationBanResponse {
16868
+ duration: string;
16869
+ }
16870
+
16871
+ export interface ModerationCallResponse {
16872
+ backstage: boolean;
15757
16873
 
15758
16874
  captioning: boolean;
15759
16875
 
@@ -15791,6 +16907,9 @@ export interface ModerationCallResponse {
15791
16907
 
15792
16908
  team?: string;
15793
16909
 
16910
+ /**
16911
+ * User response object
16912
+ */
15794
16913
  created_by?: UserResponse;
15795
16914
  }
15796
16915
 
@@ -15885,6 +17004,9 @@ export interface ModerationCustomActionEvent {
15885
17004
  */
15886
17005
  action_options?: Record<string, any>;
15887
17006
 
17007
+ /**
17008
+ * Represents any chat message
17009
+ */
15888
17010
  message?: MessageResponse;
15889
17011
  }
15890
17012
 
@@ -15943,10 +17065,16 @@ export interface ModerationFlagResponse {
15943
17065
 
15944
17066
  custom?: Record<string, any>;
15945
17067
 
17068
+ /**
17069
+ * Content payload for moderation
17070
+ */
15946
17071
  moderation_payload?: ModerationPayloadResponse;
15947
17072
 
15948
17073
  review_queue_item?: ReviewQueueItemResponse;
15949
17074
 
17075
+ /**
17076
+ * User response object
17077
+ */
15950
17078
  user?: UserResponse;
15951
17079
  }
15952
17080
 
@@ -16029,6 +17157,9 @@ export interface ModerationMarkReviewedEvent {
16029
17157
 
16030
17158
  received_at?: Date;
16031
17159
 
17160
+ /**
17161
+ * Represents any chat message
17162
+ */
16032
17163
  message?: MessageResponse;
16033
17164
  }
16034
17165
 
@@ -16321,6 +17452,9 @@ export interface MuteChannelRequest {
16321
17452
  */
16322
17453
  channel_cids?: string[];
16323
17454
 
17455
+ /**
17456
+ * User request object
17457
+ */
16324
17458
  user?: UserRequest;
16325
17459
  }
16326
17460
 
@@ -16350,6 +17484,9 @@ export interface MuteRequest {
16350
17484
 
16351
17485
  user_id?: string;
16352
17486
 
17487
+ /**
17488
+ * User request object
17489
+ */
16353
17490
  user?: UserRequest;
16354
17491
  }
16355
17492
 
@@ -16384,6 +17521,9 @@ export interface MuteUsersRequest {
16384
17521
 
16385
17522
  user_ids?: string[];
16386
17523
 
17524
+ /**
17525
+ * User request object
17526
+ */
16387
17527
  muted_by?: UserRequest;
16388
17528
  }
16389
17529
 
@@ -16565,6 +17705,9 @@ export interface NotificationMarkUnreadEvent {
16565
17705
  */
16566
17706
  unread_threads?: number;
16567
17707
 
17708
+ /**
17709
+ * Represents channel in chat
17710
+ */
16568
17711
  channel?: ChannelResponse;
16569
17712
 
16570
17713
  channel_custom?: Record<string, any>;
@@ -16719,10 +17862,16 @@ export interface NotificationThreadMessageNewEvent {
16719
17862
  */
16720
17863
  watcher_count: number;
16721
17864
 
17865
+ /**
17866
+ * Represents channel in chat
17867
+ */
16722
17868
  channel: ChannelResponse;
16723
17869
 
16724
17870
  custom: Record<string, any>;
16725
17871
 
17872
+ /**
17873
+ * Represents any chat message
17874
+ */
16726
17875
  message: MessageResponse;
16727
17876
 
16728
17877
  /**
@@ -16799,12 +17948,7 @@ export interface OCRContentParameters {
16799
17948
 
16800
17949
  export interface OCRRule {
16801
17950
  action:
16802
- | 'flag'
16803
- | 'shadow'
16804
- | 'remove'
16805
- | 'bounce'
16806
- | 'bounce_flag'
16807
- | 'bounce_remove';
17951
+ 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
16808
17952
 
16809
17953
  label: string;
16810
17954
  }
@@ -16832,6 +17976,9 @@ export interface OwnBatchRequest {
16832
17976
  */
16833
17977
  fields?: string[];
16834
17978
 
17979
+ /**
17980
+ * User request object
17981
+ */
16835
17982
  user?: UserRequest;
16836
17983
  }
16837
17984
 
@@ -16883,7 +18030,6 @@ export const OwnCapability = {
16883
18030
  UPDATE_CALL_SETTINGS: 'update-call-settings',
16884
18031
  } as const;
16885
18032
 
16886
- // eslint-disable-next-line @typescript-eslint/no-redeclare
16887
18033
  export type OwnCapability = (typeof OwnCapability)[keyof typeof OwnCapability];
16888
18034
 
16889
18035
  export interface OwnUserResponse {
@@ -17124,8 +18270,14 @@ export interface PendingMessageEvent {
17124
18270
 
17125
18271
  received_at?: Date;
17126
18272
 
18273
+ /**
18274
+ * Represents channel in chat
18275
+ */
17127
18276
  channel?: ChannelResponse;
17128
18277
 
18278
+ /**
18279
+ * Represents any chat message
18280
+ */
17129
18281
  message?: MessageResponse;
17130
18282
 
17131
18283
  /**
@@ -17133,16 +18285,28 @@ export interface PendingMessageEvent {
17133
18285
  */
17134
18286
  metadata?: Record<string, string>;
17135
18287
 
18288
+ /**
18289
+ * User response object
18290
+ */
17136
18291
  user?: UserResponse;
17137
18292
  }
17138
18293
 
17139
18294
  export interface PendingMessageResponse {
18295
+ /**
18296
+ * Represents channel in chat
18297
+ */
17140
18298
  channel?: ChannelResponse;
17141
18299
 
18300
+ /**
18301
+ * Represents any chat message
18302
+ */
17142
18303
  message?: MessageResponse;
17143
18304
 
17144
18305
  metadata?: Record<string, string>;
17145
18306
 
18307
+ /**
18308
+ * User response object
18309
+ */
17146
18310
  user?: UserResponse;
17147
18311
  }
17148
18312
 
@@ -17152,6 +18316,12 @@ export interface PerSDKUsageReport {
17152
18316
  by_version: Record<string, number>;
17153
18317
  }
17154
18318
 
18319
+ export interface Percentiles {
18320
+ p50?: number;
18321
+
18322
+ p95?: number;
18323
+ }
18324
+
17155
18325
  export interface Permission {
17156
18326
  /**
17157
18327
  * Action name this permission is for (e.g. SendMessage)
@@ -17219,6 +18389,9 @@ export interface PermissionRequestEvent {
17219
18389
  */
17220
18390
  permissions: string[];
17221
18391
 
18392
+ /**
18393
+ * User response object
18394
+ */
17222
18395
  user: UserResponse;
17223
18396
 
17224
18397
  /**
@@ -17235,6 +18408,9 @@ export interface PinActivityRequest {
17235
18408
 
17236
18409
  user_id?: string;
17237
18410
 
18411
+ /**
18412
+ * User request object
18413
+ */
17238
18414
  user?: UserRequest;
17239
18415
  }
17240
18416
 
@@ -17337,6 +18513,176 @@ export interface PolicyRequest {
17337
18513
  roles: string[];
17338
18514
  }
17339
18515
 
18516
+ export interface PolicyTestLabelDrift {
18517
+ changed: number;
18518
+
18519
+ same: number;
18520
+ }
18521
+
18522
+ export interface PolicyTestResult {
18523
+ created_at: Date;
18524
+
18525
+ id: number;
18526
+
18527
+ message_text: string;
18528
+
18529
+ row_index: number;
18530
+
18531
+ run_id: string;
18532
+
18533
+ scored: boolean;
18534
+
18535
+ actual_action?: string;
18536
+
18537
+ expected_action?: string;
18538
+
18539
+ failure_reason?: string;
18540
+
18541
+ passed?: boolean;
18542
+
18543
+ severity?: string;
18544
+
18545
+ actual_labels?: string[];
18546
+
18547
+ expected_labels?: string[];
18548
+
18549
+ raw_response?: Record<string, any>;
18550
+ }
18551
+
18552
+ export interface PolicyTestRow {
18553
+ content_type?: string;
18554
+
18555
+ policy?: string;
18556
+
18557
+ recommended_action?: string;
18558
+
18559
+ text?: string;
18560
+
18561
+ labels?: string[];
18562
+ }
18563
+
18564
+ export interface PolicyTestRun {
18565
+ config_key: string;
18566
+
18567
+ created_at: Date;
18568
+
18569
+ id: string;
18570
+
18571
+ rows_completed: number;
18572
+
18573
+ rows_total: number;
18574
+
18575
+ set_id: string;
18576
+
18577
+ status: string;
18578
+
18579
+ task_id: string;
18580
+
18581
+ triggered_by: string;
18582
+
18583
+ completed_at?: Date;
18584
+
18585
+ config_updated_at?: Date;
18586
+
18587
+ error_message?: string;
18588
+
18589
+ started_at?: Date;
18590
+
18591
+ metrics?: PolicyTestRunMetrics;
18592
+ }
18593
+
18594
+ export interface PolicyTestRunMetrics {
18595
+ mode: string;
18596
+
18597
+ totals: PolicyTestTotals;
18598
+
18599
+ by_label?: Record<string, PolicyTestLabelDrift>;
18600
+ }
18601
+
18602
+ export interface PolicyTestRunResponse {
18603
+ duration: string;
18604
+
18605
+ /**
18606
+ * Per-row results (only present once the run has finished)
18607
+ */
18608
+ results?: PolicyTestResult[];
18609
+
18610
+ run?: PolicyTestRun;
18611
+ }
18612
+
18613
+ export interface PolicyTestSeedSpec {
18614
+ /**
18615
+ * How many rows to sample, newest first; capped at 1000
18616
+ */
18617
+ limit: number;
18618
+
18619
+ /**
18620
+ * Sample only records carrying any of these labels; empty samples everything
18621
+ */
18622
+ labels?: string[];
18623
+ }
18624
+
18625
+ export interface PolicyTestSet {
18626
+ config_key: string;
18627
+
18628
+ created_at: Date;
18629
+
18630
+ created_by: string;
18631
+
18632
+ id: string;
18633
+
18634
+ mode: string;
18635
+
18636
+ name: string;
18637
+
18638
+ row_count: number;
18639
+
18640
+ updated_at: Date;
18641
+
18642
+ team?: string;
18643
+
18644
+ rows?: PolicyTestRow[];
18645
+
18646
+ last_run?: PolicyTestRun;
18647
+ }
18648
+
18649
+ export interface PolicyTestSetListResponse {
18650
+ duration: string;
18651
+
18652
+ /**
18653
+ * List of policy test sets for the app
18654
+ */
18655
+ sets: PolicyTestSet[];
18656
+ }
18657
+
18658
+ export interface PolicyTestSetResponse {
18659
+ duration: string;
18660
+
18661
+ /**
18662
+ * The set's baseline run (earliest completed run); later runs are scored against it. Absent until the first run completes
18663
+ */
18664
+ baseline_run_id?: string;
18665
+
18666
+ /**
18667
+ * Retained run history for this set, newest first
18668
+ */
18669
+ recent_runs?: PolicyTestRun[];
18670
+
18671
+ set?: PolicyTestSet;
18672
+ }
18673
+
18674
+ export interface PolicyTestTotals {
18675
+ failed: number;
18676
+
18677
+ passed: number;
18678
+
18679
+ rows: number;
18680
+
18681
+ scored: number;
18682
+
18683
+ unscored: number;
18684
+ }
18685
+
17340
18686
  export interface PollOptionInput {
17341
18687
  text?: string;
17342
18688
 
@@ -17418,6 +18764,9 @@ export interface PollResponseData {
17418
18764
 
17419
18765
  max_votes_allowed?: number;
17420
18766
 
18767
+ /**
18768
+ * User response object
18769
+ */
17421
18770
  created_by?: UserResponse;
17422
18771
  }
17423
18772
 
@@ -17449,6 +18798,9 @@ export interface PollVoteResponseData {
17449
18798
 
17450
18799
  user_id?: string;
17451
18800
 
18801
+ /**
18802
+ * User response object
18803
+ */
17452
18804
  user?: UserResponse;
17453
18805
  }
17454
18806
 
@@ -17468,6 +18820,32 @@ export interface PollVotesResponse {
17468
18820
  prev?: string;
17469
18821
  }
17470
18822
 
18823
+ export interface PoorByCause {
18824
+ delivery: number;
18825
+
18826
+ edge: number;
18827
+
18828
+ isolated_local: number;
18829
+
18830
+ source: number;
18831
+
18832
+ unattributed: number;
18833
+ }
18834
+
18835
+ export interface PoorTail {
18836
+ healthy_viewers: number;
18837
+
18838
+ note: string;
18839
+
18840
+ poor_total: number;
18841
+
18842
+ poor_by_cause: PoorByCause;
18843
+
18844
+ supporting: Supporting;
18845
+
18846
+ healthy_pct?: number;
18847
+ }
18848
+
17471
18849
  export interface PrivacySettingsResponse {
17472
18850
  delivery_receipts?: DeliveryReceiptsResponse;
17473
18851
 
@@ -17514,6 +18892,32 @@ export interface PublisherAudioMetrics {
17514
18892
  jitter_ms?: ActiveCallsLatencyStats;
17515
18893
  }
17516
18894
 
18895
+ export interface PublisherSession {
18896
+ duration_min: number;
18897
+
18898
+ started_offset_min: number;
18899
+
18900
+ user_id: string;
18901
+
18902
+ user_session_id: string;
18903
+
18904
+ avg_jitter_ms?: number;
18905
+
18906
+ browser?: string;
18907
+
18908
+ delivery_zone?: string;
18909
+
18910
+ ingest?: string;
18911
+
18912
+ os?: string;
18913
+
18914
+ send_quality_score?: number;
18915
+
18916
+ tool?: string;
18917
+
18918
+ encoding?: EncodingProfile;
18919
+ }
18920
+
17517
18921
  export interface PublisherStatsResponse {
17518
18922
  total: number;
17519
18923
 
@@ -17862,6 +19266,26 @@ export interface PushTemplateResponse {
17862
19266
  template?: string;
17863
19267
  }
17864
19268
 
19269
+ export interface Quality {
19270
+ viewer_interruption_note: string;
19271
+
19272
+ interruption_incidents: Incident[];
19273
+
19274
+ connection_avg_jitter_ms: Percentiles;
19275
+
19276
+ connection_avg_latency_ms: Percentiles;
19277
+
19278
+ score_bands_by_connection_pct: ScoreBands;
19279
+
19280
+ score_bands_by_watch_time_pct: ScoreBands;
19281
+
19282
+ p50_quality_score?: number;
19283
+
19284
+ p5_quality_score?: number;
19285
+
19286
+ viewer_interruption_rate_pct?: number;
19287
+ }
19288
+
17865
19289
  export interface QualityScoreReport {
17866
19290
  histogram: ReportByHistogramBucket[];
17867
19291
  }
@@ -17903,6 +19327,9 @@ export interface QueryActivitiesRequest {
17903
19327
  */
17904
19328
  filter?: Record<string, any>;
17905
19329
 
19330
+ /**
19331
+ * User request object
19332
+ */
17906
19333
  user?: UserRequest;
17907
19334
  }
17908
19335
 
@@ -17934,6 +19361,9 @@ export interface QueryActivityReactionsRequest {
17934
19361
 
17935
19362
  sort?: SortParamRequest[];
17936
19363
 
19364
+ /**
19365
+ * Filters to apply to the query
19366
+ */
17937
19367
  filter?: Record<string, any>;
17938
19368
  }
17939
19369
 
@@ -18011,6 +19441,9 @@ export interface QueryAppealsRequest {
18011
19441
  */
18012
19442
  filter?: Record<string, any>;
18013
19443
 
19444
+ /**
19445
+ * User request object
19446
+ */
18014
19447
  user?: UserRequest;
18015
19448
  }
18016
19449
 
@@ -18055,6 +19488,9 @@ export interface QueryBannedUsersPayload {
18055
19488
  */
18056
19489
  sort?: SortParamRequest[];
18057
19490
 
19491
+ /**
19492
+ * User request object
19493
+ */
18058
19494
  user?: UserRequest;
18059
19495
  }
18060
19496
 
@@ -18128,6 +19564,9 @@ export interface QueryBookmarksRequest {
18128
19564
  */
18129
19565
  filter?: Record<string, any>;
18130
19566
 
19567
+ /**
19568
+ * User request object
19569
+ */
18131
19570
  user?: UserRequest;
18132
19571
  }
18133
19572
 
@@ -18231,6 +19670,9 @@ export interface QueryCallParticipantsResponse {
18231
19670
  */
18232
19671
  participants: CallParticipantResponse[];
18233
19672
 
19673
+ /**
19674
+ * Represents a call
19675
+ */
18234
19676
  call: CallResponse;
18235
19677
  }
18236
19678
 
@@ -18419,6 +19861,9 @@ export interface QueryCampaignsRequest {
18419
19861
 
18420
19862
  sort?: SortParamRequest[];
18421
19863
 
19864
+ /**
19865
+ * Filter to apply to the query
19866
+ */
18422
19867
  filter?: Record<string, any>;
18423
19868
  }
18424
19869
 
@@ -18468,6 +19913,11 @@ export interface QueryChannelsRequest {
18468
19913
 
18469
19914
  user_id?: string;
18470
19915
 
19916
+ /**
19917
+ * Top-level keys of the message sender's channel-member custom data to include under member.custom (max 8 keys, 64 chars each)
19918
+ */
19919
+ member_custom_include?: string[];
19920
+
18471
19921
  /**
18472
19922
  * List of sort parameters
18473
19923
  */
@@ -18485,6 +19935,9 @@ export interface QueryChannelsRequest {
18485
19935
 
18486
19936
  sort_values?: Record<string, any>;
18487
19937
 
19938
+ /**
19939
+ * User request object
19940
+ */
18488
19941
  user?: UserRequest;
18489
19942
  }
18490
19943
 
@@ -18521,6 +19974,9 @@ export interface QueryCollectionsRequest {
18521
19974
  */
18522
19975
  filter?: Record<string, any>;
18523
19976
 
19977
+ /**
19978
+ * User request object
19979
+ */
18524
19980
  user?: UserRequest;
18525
19981
  }
18526
19982
 
@@ -18552,6 +20008,9 @@ export interface QueryCommentReactionsRequest {
18552
20008
 
18553
20009
  sort?: SortParamRequest[];
18554
20010
 
20011
+ /**
20012
+ * Filters to apply to the query
20013
+ */
18555
20014
  filter?: Record<string, any>;
18556
20015
  }
18557
20016
 
@@ -18596,6 +20055,9 @@ export interface QueryCommentsRequest {
18596
20055
 
18597
20056
  user_id?: string;
18598
20057
 
20058
+ /**
20059
+ * User request object
20060
+ */
18599
20061
  user?: UserRequest;
18600
20062
  }
18601
20063
 
@@ -18637,6 +20099,9 @@ export interface QueryDraftsRequest {
18637
20099
  */
18638
20100
  filter?: Record<string, any>;
18639
20101
 
20102
+ /**
20103
+ * User request object
20104
+ */
18640
20105
  user?: UserRequest;
18641
20106
  }
18642
20107
 
@@ -18709,6 +20174,9 @@ export interface QueryFeedModerationTemplate {
18709
20174
  */
18710
20175
  updated_at: Date;
18711
20176
 
20177
+ /**
20178
+ * Configuration for a feeds moderation template
20179
+ */
18712
20180
  config?: FeedsModerationTemplateConfigPayload;
18713
20181
  }
18714
20182
 
@@ -18834,6 +20302,11 @@ export interface QueryFutureChannelBansPayload {
18834
20302
  */
18835
20303
  exclude_expired_bans?: boolean;
18836
20304
 
20305
+ /**
20306
+ * When true, the response includes the total number of bans matching the query filter (independent of limit and offset, capped at 100000)
20307
+ */
20308
+ include_total?: boolean;
20309
+
18837
20310
  /**
18838
20311
  * Number of records to return
18839
20312
  */
@@ -18845,12 +20318,15 @@ export interface QueryFutureChannelBansPayload {
18845
20318
  offset?: number;
18846
20319
 
18847
20320
  /**
18848
- * Filter by the target user ID. For server-side requests only.
20321
+ * Filter by the target user ID. Server-side: returns all bans against this user. Client-side: narrows the authenticated user's own bans to this target.
18849
20322
  */
18850
20323
  target_user_id?: string;
18851
20324
 
18852
20325
  user_id?: string;
18853
20326
 
20327
+ /**
20328
+ * User request object
20329
+ */
18854
20330
  user?: UserRequest;
18855
20331
  }
18856
20332
 
@@ -18864,6 +20340,11 @@ export interface QueryFutureChannelBansResponse {
18864
20340
  * List of found future channel bans
18865
20341
  */
18866
20342
  bans: FutureChannelBanResponse[];
20343
+
20344
+ /**
20345
+ * Total number of bans matching the query filter, computed at query time and capped at 100000. Only present when include_total is set on the request; omitted when computing the total timed out
20346
+ */
20347
+ total?: number;
18867
20348
  }
18868
20349
 
18869
20350
  export interface QueryLabelResultsRequest {
@@ -18885,6 +20366,9 @@ export interface QueryLabelResultsRequest {
18885
20366
  */
18886
20367
  filter?: Record<string, any>;
18887
20368
 
20369
+ /**
20370
+ * User request object
20371
+ */
18888
20372
  user?: UserRequest;
18889
20373
  }
18890
20374
 
@@ -18924,6 +20408,9 @@ export interface QueryMembersPayload {
18924
20408
  */
18925
20409
  sort?: SortParamRequest[];
18926
20410
 
20411
+ /**
20412
+ * User request object
20413
+ */
18927
20414
  user?: UserRequest;
18928
20415
  }
18929
20416
 
@@ -18983,6 +20470,9 @@ export interface QueryMessageFlagsPayload {
18983
20470
  */
18984
20471
  filter_conditions?: Record<string, any>;
18985
20472
 
20473
+ /**
20474
+ * User request object
20475
+ */
18986
20476
  user?: UserRequest;
18987
20477
  }
18988
20478
 
@@ -19051,6 +20541,9 @@ export interface QueryModerationConfigsRequest {
19051
20541
  */
19052
20542
  filter?: Record<string, any>;
19053
20543
 
20544
+ /**
20545
+ * User request object
20546
+ */
19054
20547
  user?: UserRequest;
19055
20548
  }
19056
20549
 
@@ -19076,6 +20569,9 @@ export interface QueryModerationFlagsRequest {
19076
20569
 
19077
20570
  sort?: SortParamRequest[];
19078
20571
 
20572
+ /**
20573
+ * Filter conditions for moderation flags
20574
+ */
19079
20575
  filter?: Record<string, any>;
19080
20576
  }
19081
20577
 
@@ -19111,6 +20607,9 @@ export interface QueryModerationLogsRequest {
19111
20607
  */
19112
20608
  filter?: Record<string, any>;
19113
20609
 
20610
+ /**
20611
+ * User request object
20612
+ */
19114
20613
  user?: UserRequest;
19115
20614
  }
19116
20615
 
@@ -19146,6 +20645,9 @@ export interface QueryModerationRulesRequest {
19146
20645
  */
19147
20646
  filter?: Record<string, any>;
19148
20647
 
20648
+ /**
20649
+ * User request object
20650
+ */
19149
20651
  user?: UserRequest;
19150
20652
  }
19151
20653
 
@@ -19312,6 +20814,9 @@ export interface QueryReactionsRequest {
19312
20814
  */
19313
20815
  filter?: Record<string, any>;
19314
20816
 
20817
+ /**
20818
+ * User request object
20819
+ */
19315
20820
  user?: UserRequest;
19316
20821
  }
19317
20822
 
@@ -19347,6 +20852,9 @@ export interface QueryRemindersRequest {
19347
20852
  */
19348
20853
  filter?: Record<string, any>;
19349
20854
 
20855
+ /**
20856
+ * User request object
20857
+ */
19350
20858
  user?: UserRequest;
19351
20859
  }
19352
20860
 
@@ -19407,6 +20915,9 @@ export interface QueryReviewQueueRequest {
19407
20915
  */
19408
20916
  filter?: Record<string, any>;
19409
20917
 
20918
+ /**
20919
+ * User request object
20920
+ */
19410
20921
  user?: UserRequest;
19411
20922
  }
19412
20923
 
@@ -19617,6 +21128,9 @@ export interface QueryThreadsRequest {
19617
21128
  */
19618
21129
  filter?: Record<string, any>;
19619
21130
 
21131
+ /**
21132
+ * User request object
21133
+ */
19620
21134
  user?: UserRequest;
19621
21135
  }
19622
21136
 
@@ -19688,6 +21202,9 @@ export interface QueryUsersPayload {
19688
21202
  */
19689
21203
  sort?: SortParamRequest[];
19690
21204
 
21205
+ /**
21206
+ * User request object
21207
+ */
19691
21208
  user?: UserRequest;
19692
21209
  }
19693
21210
 
@@ -19896,6 +21413,9 @@ export interface ReactionDeletedEvent {
19896
21413
  */
19897
21414
  created_at: Date;
19898
21415
 
21416
+ /**
21417
+ * Represents channel in chat
21418
+ */
19899
21419
  channel: ChannelResponse;
19900
21420
 
19901
21421
  custom: Record<string, any>;
@@ -19946,6 +21466,9 @@ export interface ReactionDeletedEvent {
19946
21466
 
19947
21467
  channel_custom?: Record<string, any>;
19948
21468
 
21469
+ /**
21470
+ * Represents any chat message
21471
+ */
19949
21472
  message?: MessageResponse;
19950
21473
 
19951
21474
  reaction?: ReactionResponse;
@@ -19991,6 +21514,9 @@ export interface ReactionGroupUserResponse {
19991
21514
  */
19992
21515
  user_id: string;
19993
21516
 
21517
+ /**
21518
+ * User response object
21519
+ */
19994
21520
  user?: UserResponse;
19995
21521
  }
19996
21522
 
@@ -20000,6 +21526,9 @@ export interface ReactionNewEvent {
20000
21526
  */
20001
21527
  created_at: Date;
20002
21528
 
21529
+ /**
21530
+ * Represents channel in chat
21531
+ */
20003
21532
  channel: ChannelResponse;
20004
21533
 
20005
21534
  custom: Record<string, any>;
@@ -20050,6 +21579,9 @@ export interface ReactionNewEvent {
20050
21579
 
20051
21580
  channel_custom?: Record<string, any>;
20052
21581
 
21582
+ /**
21583
+ * Represents any chat message
21584
+ */
20053
21585
  message?: MessageResponse;
20054
21586
 
20055
21587
  reaction?: ReactionResponse;
@@ -20082,6 +21614,9 @@ export interface ReactionRequest {
20082
21614
 
20083
21615
  custom?: Record<string, any>;
20084
21616
 
21617
+ /**
21618
+ * User request object
21619
+ */
20085
21620
  user?: UserRequest;
20086
21621
  }
20087
21622
 
@@ -20121,6 +21656,9 @@ export interface ReactionResponse {
20121
21656
  */
20122
21657
  custom: Record<string, any>;
20123
21658
 
21659
+ /**
21660
+ * User response object
21661
+ */
20124
21662
  user: UserResponse;
20125
21663
  }
20126
21664
 
@@ -20132,10 +21670,16 @@ export interface ReactionUpdatedEvent {
20132
21670
 
20133
21671
  message_id: string;
20134
21672
 
21673
+ /**
21674
+ * Represents channel in chat
21675
+ */
20135
21676
  channel: ChannelResponse;
20136
21677
 
20137
21678
  custom: Record<string, any>;
20138
21679
 
21680
+ /**
21681
+ * Represents any chat message
21682
+ */
20139
21683
  message: MessageResponse;
20140
21684
 
20141
21685
  /**
@@ -20205,6 +21749,9 @@ export interface ReactivateUserResponse {
20205
21749
  */
20206
21750
  duration: string;
20207
21751
 
21752
+ /**
21753
+ * User response object
21754
+ */
20208
21755
  user?: UserResponse;
20209
21756
  }
20210
21757
 
@@ -20254,6 +21801,9 @@ export interface ReadStateResponse {
20254
21801
 
20255
21802
  unread_messages: number;
20256
21803
 
21804
+ /**
21805
+ * User response object
21806
+ */
20257
21807
  user: UserResponse;
20258
21808
 
20259
21809
  last_delivered_at?: Date;
@@ -20324,6 +21874,9 @@ export interface RejectAppealRequestPayload {
20324
21874
  export interface RejectFeedMemberInviteRequest {
20325
21875
  user_id?: string;
20326
21876
 
21877
+ /**
21878
+ * User request object
21879
+ */
20327
21880
  user?: UserRequest;
20328
21881
  }
20329
21882
 
@@ -20475,10 +22028,19 @@ export interface ReminderResponseData {
20475
22028
 
20476
22029
  remind_at?: Date;
20477
22030
 
22031
+ /**
22032
+ * Represents channel in chat
22033
+ */
20478
22034
  channel?: ChannelResponse;
20479
22035
 
22036
+ /**
22037
+ * Represents any chat message
22038
+ */
20480
22039
  message?: MessageResponse;
20481
22040
 
22041
+ /**
22042
+ * User response object
22043
+ */
20482
22044
  user?: UserResponse;
20483
22045
  }
20484
22046
 
@@ -20664,6 +22226,9 @@ export interface ResolveSipInboundRequest {
20664
22226
  */
20665
22227
  trunk_id?: string;
20666
22228
 
22229
+ /**
22230
+ * SIP digest challenge authentication data
22231
+ */
20667
22232
  challenge?: SIPChallengeRequest;
20668
22233
 
20669
22234
  /**
@@ -20675,10 +22240,19 @@ export interface ResolveSipInboundRequest {
20675
22240
  export interface ResolveSipInboundResponse {
20676
22241
  duration: string;
20677
22242
 
22243
+ /**
22244
+ * Credentials for SIP inbound call authentication
22245
+ */
20678
22246
  credentials: SipInboundCredentials;
20679
22247
 
22248
+ /**
22249
+ * SIP Inbound Routing Rule response
22250
+ */
20680
22251
  sip_routing_rule?: SIPInboundRoutingRuleResponse;
20681
22252
 
22253
+ /**
22254
+ * SIP trunk information
22255
+ */
20682
22256
  sip_trunk?: SIPTrunkResponse;
20683
22257
  }
20684
22258
 
@@ -20699,6 +22273,9 @@ export interface RestoreActionRequestPayload {
20699
22273
  export interface RestoreActivityRequest {
20700
22274
  user_id?: string;
20701
22275
 
22276
+ /**
22277
+ * User request object
22278
+ */
20702
22279
  user?: UserRequest;
20703
22280
  }
20704
22281
 
@@ -20711,6 +22288,9 @@ export interface RestoreActivityResponse {
20711
22288
  export interface RestoreCommentRequest {
20712
22289
  user_id?: string;
20713
22290
 
22291
+ /**
22292
+ * User request object
22293
+ */
20714
22294
  user?: UserRequest;
20715
22295
  }
20716
22296
 
@@ -20889,6 +22469,9 @@ export interface ReviewQueueItemResponse {
20889
22469
 
20890
22470
  appeal?: AppealItemResponse;
20891
22471
 
22472
+ /**
22473
+ * User response object
22474
+ */
20892
22475
  assigned_to?: UserResponse;
20893
22476
 
20894
22477
  call?: ModerationCallResponse;
@@ -20907,6 +22490,9 @@ export interface ReviewQueueItemResponse {
20907
22490
 
20908
22491
  message?: ChatMessageResponse;
20909
22492
 
22493
+ /**
22494
+ * Content payload for moderation
22495
+ */
20910
22496
  moderation_payload?: ModerationPayloadResponse;
20911
22497
 
20912
22498
  reaction?: Reaction;
@@ -21194,8 +22780,14 @@ export interface SFULocationResponse {
21194
22780
 
21195
22781
  id: string;
21196
22782
 
22783
+ /**
22784
+ * Geographic coordinates
22785
+ */
21197
22786
  coordinates: CoordinatesResponse;
21198
22787
 
22788
+ /**
22789
+ * Geographic location metadata
22790
+ */
21199
22791
  location: LocationResponse;
21200
22792
 
21201
22793
  count?: number;
@@ -21410,6 +23002,9 @@ export interface SIPInboundRoutingRuleRequest {
21410
23002
  */
21411
23003
  trunk_ids: string[];
21412
23004
 
23005
+ /**
23006
+ * Configuration for SIP caller settings
23007
+ */
21413
23008
  caller_configs: SIPCallerConfigsRequest;
21414
23009
 
21415
23010
  /**
@@ -21422,12 +23017,24 @@ export interface SIPInboundRoutingRuleRequest {
21422
23017
  */
21423
23018
  caller_numbers?: string[];
21424
23019
 
23020
+ /**
23021
+ * Configuration for SIP call settings
23022
+ */
21425
23023
  call_configs?: SIPCallConfigsRequest;
21426
23024
 
23025
+ /**
23026
+ * Configuration for direct routing rule calls
23027
+ */
21427
23028
  direct_routing_configs?: SIPDirectRoutingRuleCallConfigsRequest;
21428
23029
 
23030
+ /**
23031
+ * Configuration for PIN protection settings
23032
+ */
21429
23033
  pin_protection_configs?: SIPPinProtectionConfigsRequest;
21430
23034
 
23035
+ /**
23036
+ * Configuration for PIN routing rule calls
23037
+ */
21431
23038
  pin_routing_configs?: SIPInboundRoutingRulePinConfigsRequest;
21432
23039
  }
21433
23040
 
@@ -21469,14 +23076,29 @@ export interface SIPInboundRoutingRuleResponse {
21469
23076
  */
21470
23077
  caller_numbers?: string[];
21471
23078
 
23079
+ /**
23080
+ * SIP call configuration response
23081
+ */
21472
23082
  call_configs?: SIPCallConfigsResponse;
21473
23083
 
23084
+ /**
23085
+ * SIP caller configuration response
23086
+ */
21474
23087
  caller_configs?: SIPCallerConfigsResponse;
21475
23088
 
23089
+ /**
23090
+ * Direct routing rule call configuration response
23091
+ */
21476
23092
  direct_routing_configs?: SIPDirectRoutingRuleCallConfigsResponse;
21477
23093
 
23094
+ /**
23095
+ * PIN protection configuration response
23096
+ */
21478
23097
  pin_protection_configs?: SIPPinProtectionConfigsResponse;
21479
23098
 
23099
+ /**
23100
+ * PIN routing rule call configuration response
23101
+ */
21480
23102
  pin_routing_configs?: SIPInboundRoutingRulePinConfigsResponse;
21481
23103
  }
21482
23104
 
@@ -21575,6 +23197,14 @@ export interface SRTIngress {
21575
23197
  address: string;
21576
23198
  }
21577
23199
 
23200
+ export interface ScoreBands {
23201
+ good?: number;
23202
+
23203
+ ok?: number;
23204
+
23205
+ poor?: number;
23206
+ }
23207
+
21578
23208
  export interface ScreensharingSettings {
21579
23209
  access_request_enabled: boolean;
21580
23210
 
@@ -21715,6 +23345,9 @@ export interface SearchResultMessage {
21715
23345
 
21716
23346
  reaction_scores: Record<string, number>;
21717
23347
 
23348
+ /**
23349
+ * User response object
23350
+ */
21718
23351
  user: UserResponse;
21719
23352
 
21720
23353
  command?: string;
@@ -21747,6 +23380,9 @@ export interface SearchResultMessage {
21747
23380
 
21748
23381
  thread_participants?: UserResponse[];
21749
23382
 
23383
+ /**
23384
+ * Represents channel in chat
23385
+ */
21750
23386
  channel?: ChannelResponse;
21751
23387
 
21752
23388
  draft?: DraftResponse;
@@ -21759,10 +23395,16 @@ export interface SearchResultMessage {
21759
23395
 
21760
23396
  moderation?: ModerationV2Response;
21761
23397
 
23398
+ /**
23399
+ * User response object
23400
+ */
21762
23401
  pinned_by?: UserResponse;
21763
23402
 
21764
23403
  poll?: PollResponseData;
21765
23404
 
23405
+ /**
23406
+ * Represents any chat message
23407
+ */
21766
23408
  quoted_message?: MessageResponse;
21767
23409
 
21768
23410
  reaction_groups?: Record<string, ReactionGroupResponse>;
@@ -21872,11 +23514,28 @@ export interface SegmentTargetResponse {
21872
23514
  target_id: string;
21873
23515
  }
21874
23516
 
23517
+ export interface Segments {
23518
+ by_country_reason: string;
23519
+
23520
+ by_browser: BroadcastSegment[];
23521
+
23522
+ by_country: BroadcastSegment[];
23523
+
23524
+ by_delivery_zone: DeliveryZoneSegment[];
23525
+
23526
+ by_os: BroadcastSegment[];
23527
+
23528
+ by_sdk: BroadcastSegment[];
23529
+ }
23530
+
21875
23531
  export interface SendCallEventRequest {
21876
23532
  user_id?: string;
21877
23533
 
21878
23534
  custom?: Record<string, any>;
21879
23535
 
23536
+ /**
23537
+ * User request object
23538
+ */
21880
23539
  user?: UserRequest;
21881
23540
  }
21882
23541
 
@@ -21904,6 +23563,9 @@ export interface SendClosedCaptionRequest {
21904
23563
 
21905
23564
  user_id?: string;
21906
23565
 
23566
+ /**
23567
+ * User request object
23568
+ */
21907
23569
  user?: UserRequest;
21908
23570
  }
21909
23571
 
@@ -21916,10 +23578,23 @@ export interface SendEventRequest {
21916
23578
  }
21917
23579
 
21918
23580
  export interface SendMessageRequest {
23581
+ /**
23582
+ * Message data for creating or updating a message
23583
+ */
21919
23584
  message: MessageRequest;
21920
23585
 
21921
23586
  force_moderation?: boolean;
21922
23587
 
23588
+ /**
23589
+ * When true, the response includes channel_context: a slim channel object with cid, type, id and created_by
23590
+ */
23591
+ include_channel_context?: boolean;
23592
+
23593
+ /**
23594
+ * When true, the response includes mentioned_members: for each mentioned user, whether that user is currently a channel member. Requires the ReadChannelMembers permission
23595
+ */
23596
+ include_mentioned_members?: boolean;
23597
+
21923
23598
  keep_channel_hidden?: boolean;
21924
23599
 
21925
23600
  pending?: boolean;
@@ -21937,8 +23612,21 @@ export interface SendMessageResponse {
21937
23612
  */
21938
23613
  duration: string;
21939
23614
 
23615
+ /**
23616
+ * Represents any chat message
23617
+ */
21940
23618
  message: MessageResponse;
21941
23619
 
23620
+ /**
23621
+ * Slim channel object: identity plus creator
23622
+ */
23623
+ channel_context?: ChannelContextResponse;
23624
+
23625
+ /**
23626
+ * Map of mentioned user ID to whether that user is currently an active channel member. Only set when include_mentioned_members was requested; omitted when the message has no mentions or the membership lookup failed
23627
+ */
23628
+ mentioned_members?: Record<string, boolean>;
23629
+
21942
23630
  /**
21943
23631
  * Pending message metadata
21944
23632
  */
@@ -21946,6 +23634,9 @@ export interface SendMessageResponse {
21946
23634
  }
21947
23635
 
21948
23636
  export interface SendReactionRequest {
23637
+ /**
23638
+ * Represents user reaction to a message
23639
+ */
21949
23640
  reaction: ReactionRequest;
21950
23641
 
21951
23642
  /**
@@ -21965,6 +23656,9 @@ export interface SendReactionResponse {
21965
23656
  */
21966
23657
  duration: string;
21967
23658
 
23659
+ /**
23660
+ * Represents any chat message
23661
+ */
21968
23662
  message: MessageResponse;
21969
23663
 
21970
23664
  reaction: ReactionResponse;
@@ -22053,6 +23747,9 @@ export interface ShareResponse {
22053
23747
  */
22054
23748
  created_at: Date;
22055
23749
 
23750
+ /**
23751
+ * User response object
23752
+ */
22056
23753
  user: UserResponse;
22057
23754
  }
22058
23755
 
@@ -22114,8 +23811,14 @@ export interface SharedLocationResponse {
22114
23811
  */
22115
23812
  end_at?: Date;
22116
23813
 
23814
+ /**
23815
+ * Represents channel in chat
23816
+ */
22117
23817
  channel?: ChannelResponse;
22118
23818
 
23819
+ /**
23820
+ * Represents any chat message
23821
+ */
22119
23822
  message?: MessageResponse;
22120
23823
  }
22121
23824
 
@@ -22138,8 +23841,14 @@ export interface SharedLocationResponseData {
22138
23841
 
22139
23842
  end_at?: Date;
22140
23843
 
23844
+ /**
23845
+ * Represents channel in chat
23846
+ */
22141
23847
  channel?: ChannelResponse;
22142
23848
 
23849
+ /**
23850
+ * Represents any chat message
23851
+ */
22143
23852
  message?: MessageResponse;
22144
23853
  }
22145
23854
 
@@ -22152,6 +23861,9 @@ export interface SharedLocationsResponse {
22152
23861
  export interface ShowChannelRequest {
22153
23862
  user_id?: string;
22154
23863
 
23864
+ /**
23865
+ * User request object
23866
+ */
22155
23867
  user?: UserRequest;
22156
23868
  }
22157
23869
 
@@ -22227,6 +23939,26 @@ export interface SortParamRequest {
22227
23939
  type?: string;
22228
23940
  }
22229
23941
 
23942
+ export interface SourceHealth {
23943
+ co_host_peak: number;
23944
+
23945
+ dead_air_s: number;
23946
+
23947
+ interruptions: SourceInterruption[];
23948
+
23949
+ publisher_sessions: PublisherSession[];
23950
+ }
23951
+
23952
+ export interface SourceInterruption {
23953
+ at_offset_min: number;
23954
+
23955
+ dead_air_s: number;
23956
+
23957
+ kind: string;
23958
+
23959
+ seamless?: boolean;
23960
+ }
23961
+
22230
23962
  export interface SpeechSegmentConfig {
22231
23963
  max_speech_caption_ms?: number;
22232
23964
 
@@ -22333,6 +24065,8 @@ export interface StartHLSBroadcastingResponse {
22333
24065
  playlist_url: string;
22334
24066
  }
22335
24067
 
24068
+ export interface StartPolicyTestRunRequest {}
24069
+
22336
24070
  export interface StartRTMPBroadcastsRequest {
22337
24071
  /**
22338
24072
  * List of broadcasts to start
@@ -22481,6 +24215,9 @@ export interface StopLiveRequest {
22481
24215
  export interface StopLiveResponse {
22482
24216
  duration: string;
22483
24217
 
24218
+ /**
24219
+ * Represents a call
24220
+ */
22484
24221
  call: CallResponse;
22485
24222
  }
22486
24223
 
@@ -22562,7 +24299,7 @@ export interface StoriesFeedUpdatedEvent {
22562
24299
 
22563
24300
  export interface SubmitActionRequest {
22564
24301
  /**
22565
- * Type of moderation action to perform. One of: 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, escalate, de_escalate
24302
+ * Type of moderation action to perform. One of: mark_reviewed, delete_message, delete_activity, delete_comment, delete_reaction, ban, custom, unban, restore, delete_user, delete_user_messages, unblock, block, shadow_block, unmask, kick_user, end_call, escalate, de_escalate
22566
24303
  */
22567
24304
 
22568
24305
  action_type:
@@ -22577,6 +24314,7 @@ export interface SubmitActionRequest {
22577
24314
  | 'unban'
22578
24315
  | 'restore'
22579
24316
  | 'delete_user'
24317
+ | 'delete_user_messages'
22580
24318
  | 'unblock'
22581
24319
  | 'block'
22582
24320
  | 'shadow_block'
@@ -22600,40 +24338,93 @@ export interface SubmitActionRequest {
22600
24338
 
22601
24339
  user_id?: string;
22602
24340
 
24341
+ /**
24342
+ * Configuration for ban moderation action
24343
+ */
22603
24344
  ban?: BanActionRequestPayload;
22604
24345
 
24346
+ /**
24347
+ * Configuration for block action
24348
+ */
22605
24349
  block?: BlockActionRequestPayload;
22606
24350
 
22607
24351
  bypass?: BypassActionRequest;
22608
24352
 
24353
+ /**
24354
+ * Configuration for custom moderation action
24355
+ */
22609
24356
  custom?: CustomActionRequestPayload;
22610
24357
 
24358
+ /**
24359
+ * Configuration for activity deletion action
24360
+ */
22611
24361
  delete_activity?: DeleteActivityRequestPayload;
22612
24362
 
24363
+ /**
24364
+ * Configuration for comment deletion action
24365
+ */
22613
24366
  delete_comment?: DeleteCommentRequestPayload;
22614
24367
 
24368
+ /**
24369
+ * Configuration for message deletion action
24370
+ */
22615
24371
  delete_message?: DeleteMessageRequestPayload;
22616
24372
 
24373
+ /**
24374
+ * Configuration for reaction deletion action
24375
+ */
22617
24376
  delete_reaction?: DeleteReactionRequestPayload;
22618
24377
 
24378
+ /**
24379
+ * Configuration for user deletion action
24380
+ */
22619
24381
  delete_user?: DeleteUserRequestPayload;
22620
24382
 
24383
+ /**
24384
+ * Configuration for deleting all of a user's chat messages without banning them or deleting their account
24385
+ */
24386
+ delete_user_messages?: DeleteUserMessagesRequestPayload;
24387
+
24388
+ /**
24389
+ * Configuration for escalation action
24390
+ */
22621
24391
  escalate?: EscalatePayload;
22622
24392
 
22623
24393
  flag?: FlagRequest;
22624
24394
 
24395
+ /**
24396
+ * Configuration for mark reviewed action
24397
+ */
22625
24398
  mark_reviewed?: MarkReviewedRequestPayload;
22626
24399
 
24400
+ /**
24401
+ * Configuration for rejecting an appeal
24402
+ */
22627
24403
  reject_appeal?: RejectAppealRequestPayload;
22628
24404
 
24405
+ /**
24406
+ * Configuration for restore action
24407
+ */
22629
24408
  restore?: RestoreActionRequestPayload;
22630
24409
 
24410
+ /**
24411
+ * Configuration for shadow block action
24412
+ */
22631
24413
  shadow_block?: ShadowBlockActionRequestPayload;
22632
24414
 
24415
+ /**
24416
+ * Configuration for unban moderation action
24417
+ */
22633
24418
  unban?: UnbanActionRequestPayload;
22634
24419
 
24420
+ /**
24421
+ * Configuration for unblock action
24422
+ */
22635
24423
  unblock?: UnblockActionRequestPayload;
22636
24424
 
24425
+ /**
24426
+ * User request object
24427
+ */
22637
24428
  user?: UserRequest;
22638
24429
  }
22639
24430
 
@@ -22737,6 +24528,14 @@ export interface SubscribersMetrics {
22737
24528
  all?: SubscriberAllMetrics;
22738
24529
  }
22739
24530
 
24531
+ export interface Supporting {
24532
+ delivery_incident_windows: Incident[];
24533
+
24534
+ edge_outlier_zones: string[];
24535
+
24536
+ source_drop_windows: TimeWindow[];
24537
+ }
24538
+
22740
24539
  export interface TargetResolution {
22741
24540
  height: number;
22742
24541
 
@@ -22751,36 +24550,84 @@ export interface TeamUsageStats {
22751
24550
  */
22752
24551
  team: string;
22753
24552
 
24553
+ /**
24554
+ * Statistics for a single metric with optional daily breakdown
24555
+ */
22754
24556
  concurrent_connections: MetricStats;
22755
24557
 
24558
+ /**
24559
+ * Statistics for a single metric with optional daily breakdown
24560
+ */
22756
24561
  concurrent_users: MetricStats;
22757
24562
 
24563
+ /**
24564
+ * Statistics for a single metric with optional daily breakdown
24565
+ */
22758
24566
  image_moderations_daily: MetricStats;
22759
24567
 
24568
+ /**
24569
+ * Statistics for a single metric with optional daily breakdown
24570
+ */
22760
24571
  messages_daily: MetricStats;
22761
24572
 
24573
+ /**
24574
+ * Statistics for a single metric with optional daily breakdown
24575
+ */
22762
24576
  messages_last_24_hours: MetricStats;
22763
24577
 
24578
+ /**
24579
+ * Statistics for a single metric with optional daily breakdown
24580
+ */
22764
24581
  messages_last_30_days: MetricStats;
22765
24582
 
24583
+ /**
24584
+ * Statistics for a single metric with optional daily breakdown
24585
+ */
22766
24586
  messages_month_to_date: MetricStats;
22767
24587
 
24588
+ /**
24589
+ * Statistics for a single metric with optional daily breakdown
24590
+ */
22768
24591
  messages_total: MetricStats;
22769
24592
 
24593
+ /**
24594
+ * Statistics for a single metric with optional daily breakdown
24595
+ */
22770
24596
  translations_daily: MetricStats;
22771
24597
 
24598
+ /**
24599
+ * Statistics for a single metric with optional daily breakdown
24600
+ */
22772
24601
  users_daily: MetricStats;
22773
24602
 
24603
+ /**
24604
+ * Statistics for a single metric with optional daily breakdown
24605
+ */
22774
24606
  users_engaged_last_30_days: MetricStats;
22775
24607
 
24608
+ /**
24609
+ * Statistics for a single metric with optional daily breakdown
24610
+ */
22776
24611
  users_engaged_month_to_date: MetricStats;
22777
24612
 
24613
+ /**
24614
+ * Statistics for a single metric with optional daily breakdown
24615
+ */
22778
24616
  users_last_24_hours: MetricStats;
22779
24617
 
24618
+ /**
24619
+ * Statistics for a single metric with optional daily breakdown
24620
+ */
22780
24621
  users_last_30_days: MetricStats;
22781
24622
 
24623
+ /**
24624
+ * Statistics for a single metric with optional daily breakdown
24625
+ */
22782
24626
  users_month_to_date: MetricStats;
22783
24627
 
24628
+ /**
24629
+ * Statistics for a single metric with optional daily breakdown
24630
+ */
22784
24631
  users_total: MetricStats;
22785
24632
  }
22786
24633
 
@@ -22823,8 +24670,6 @@ export interface TextRuleParameters {
22823
24670
  }
22824
24671
 
22825
24672
  export interface ThreadParticipant {
22826
- app_pk: number;
22827
-
22828
24673
  channel_cid: string;
22829
24674
 
22830
24675
  /**
@@ -22853,6 +24698,9 @@ export interface ThreadParticipant {
22853
24698
  */
22854
24699
  user_id?: string;
22855
24700
 
24701
+ /**
24702
+ * User response object
24703
+ */
22856
24704
  user?: UserResponse;
22857
24705
  }
22858
24706
 
@@ -22887,6 +24735,11 @@ export interface ThreadResponse {
22887
24735
  */
22888
24736
  participant_count: number;
22889
24737
 
24738
+ /**
24739
+ * Reply Count
24740
+ */
24741
+ reply_count: number;
24742
+
22890
24743
  /**
22891
24744
  * Title
22892
24745
  */
@@ -22912,20 +24765,24 @@ export interface ThreadResponse {
22912
24765
  */
22913
24766
  last_message_at?: Date;
22914
24767
 
22915
- /**
22916
- * Reply Count
22917
- */
22918
- reply_count?: number;
22919
-
22920
24768
  /**
22921
24769
  * Thread Participants
22922
24770
  */
22923
24771
  thread_participants?: ThreadParticipant[];
22924
24772
 
24773
+ /**
24774
+ * Represents channel in chat
24775
+ */
22925
24776
  channel?: ChannelResponse;
22926
24777
 
24778
+ /**
24779
+ * User response object
24780
+ */
22927
24781
  created_by?: UserResponse;
22928
24782
 
24783
+ /**
24784
+ * Represents any chat message
24785
+ */
22929
24786
  parent_message?: MessageResponse;
22930
24787
  }
22931
24788
 
@@ -22960,6 +24817,11 @@ export interface ThreadStateResponse {
22960
24817
  */
22961
24818
  participant_count: number;
22962
24819
 
24820
+ /**
24821
+ * Reply Count
24822
+ */
24823
+ reply_count: number;
24824
+
22963
24825
  /**
22964
24826
  * Title
22965
24827
  */
@@ -22987,11 +24849,6 @@ export interface ThreadStateResponse {
22987
24849
  */
22988
24850
  last_message_at?: Date;
22989
24851
 
22990
- /**
22991
- * Reply Count
22992
- */
22993
- reply_count?: number;
22994
-
22995
24852
  read?: ReadStateResponse[];
22996
24853
 
22997
24854
  /**
@@ -22999,12 +24856,21 @@ export interface ThreadStateResponse {
22999
24856
  */
23000
24857
  thread_participants?: ThreadParticipant[];
23001
24858
 
24859
+ /**
24860
+ * Represents channel in chat
24861
+ */
23002
24862
  channel?: ChannelResponse;
23003
24863
 
24864
+ /**
24865
+ * User response object
24866
+ */
23004
24867
  created_by?: UserResponse;
23005
24868
 
23006
24869
  draft?: DraftResponse;
23007
24870
 
24871
+ /**
24872
+ * Represents any chat message
24873
+ */
23008
24874
  parent_message?: MessageResponse;
23009
24875
  }
23010
24876
 
@@ -23061,6 +24927,9 @@ export interface ThreadedCommentResponse {
23061
24927
 
23062
24928
  own_reactions: FeedsReactionResponse[];
23063
24929
 
24930
+ /**
24931
+ * User response object
24932
+ */
23064
24933
  user: UserResponse;
23065
24934
 
23066
24935
  controversy_score?: number;
@@ -23086,6 +24955,9 @@ export interface ThreadedCommentResponse {
23086
24955
 
23087
24956
  i18n?: Record<string, string>;
23088
24957
 
24958
+ /**
24959
+ * Cursor & depth information for a comment's direct replies. Mirrors Reddit's 'load more replies' semantics.
24960
+ */
23089
24961
  meta?: RepliesMeta;
23090
24962
 
23091
24963
  moderation?: ModerationV2Response;
@@ -23119,6 +24991,22 @@ export interface ThumbnailsSettingsResponse {
23119
24991
 
23120
24992
  export interface Time {}
23121
24993
 
24994
+ export interface TimeWindow {
24995
+ from: string;
24996
+
24997
+ to: string;
24998
+ }
24999
+
25000
+ export interface TopBroadcast {
25001
+ call_cid: string;
25002
+
25003
+ hours_watched: number;
25004
+
25005
+ peak_concurrent_viewers: number;
25006
+
25007
+ poor_pct?: number;
25008
+ }
25009
+
23122
25010
  export interface TrackActivityMetricsEvent {
23123
25011
  /**
23124
25012
  * The ID of the activity to track the metric for
@@ -23166,6 +25054,9 @@ export interface TrackActivityMetricsRequest {
23166
25054
 
23167
25055
  user_id?: string;
23168
25056
 
25057
+ /**
25058
+ * User request object
25059
+ */
23169
25060
  user?: UserRequest;
23170
25061
  }
23171
25062
 
@@ -23494,8 +25385,14 @@ export interface TruncateChannelRequest {
23494
25385
  */
23495
25386
  member_ids?: string[];
23496
25387
 
25388
+ /**
25389
+ * Message data for creating or updating a message
25390
+ */
23497
25391
  message?: MessageRequest;
23498
25392
 
25393
+ /**
25394
+ * User request object
25395
+ */
23499
25396
  user?: UserRequest;
23500
25397
  }
23501
25398
 
@@ -23505,8 +25402,14 @@ export interface TruncateChannelResponse {
23505
25402
  */
23506
25403
  duration: string;
23507
25404
 
25405
+ /**
25406
+ * Represents channel in chat
25407
+ */
23508
25408
  channel?: ChannelResponse;
23509
25409
 
25410
+ /**
25411
+ * Represents any chat message
25412
+ */
23510
25413
  message?: MessageResponse;
23511
25414
  }
23512
25415
 
@@ -23529,6 +25432,11 @@ export interface UnbanActionRequestPayload {
23529
25432
  * Also remove the future channels ban for this user
23530
25433
  */
23531
25434
  remove_future_channels_ban?: boolean;
25435
+
25436
+ /**
25437
+ * Optional: unban user directly without review item
25438
+ */
25439
+ target_user_id?: string;
23532
25440
  }
23533
25441
 
23534
25442
  export interface UnbanRequest {
@@ -23537,6 +25445,9 @@ export interface UnbanRequest {
23537
25445
  */
23538
25446
  unbanned_by_id?: string;
23539
25447
 
25448
+ /**
25449
+ * User request object
25450
+ */
23540
25451
  unbanned_by?: UserRequest;
23541
25452
  }
23542
25453
 
@@ -23570,6 +25481,9 @@ export interface UnblockUsersRequest {
23570
25481
 
23571
25482
  user_id?: string;
23572
25483
 
25484
+ /**
25485
+ * User request object
25486
+ */
23573
25487
  user?: UserRequest;
23574
25488
  }
23575
25489
 
@@ -23585,6 +25499,9 @@ export interface UnblockedUserEvent {
23585
25499
 
23586
25500
  created_at: Date;
23587
25501
 
25502
+ /**
25503
+ * User response object
25504
+ */
23588
25505
  user: UserResponse;
23589
25506
 
23590
25507
  /**
@@ -23606,6 +25523,9 @@ export interface UndeleteMessageResponse {
23606
25523
  */
23607
25524
  duration: string;
23608
25525
 
25526
+ /**
25527
+ * Represents any chat message
25528
+ */
23609
25529
  message: MessageResponse;
23610
25530
  }
23611
25531
 
@@ -23671,6 +25591,9 @@ export interface UnmuteChannelRequest {
23671
25591
  */
23672
25592
  channel_cids?: string[];
23673
25593
 
25594
+ /**
25595
+ * User request object
25596
+ */
23674
25597
  user?: UserRequest;
23675
25598
  }
23676
25599
 
@@ -23682,6 +25605,9 @@ export interface UnmuteRequest {
23682
25605
 
23683
25606
  user_id?: string;
23684
25607
 
25608
+ /**
25609
+ * User request object
25610
+ */
23685
25611
  user?: UserRequest;
23686
25612
  }
23687
25613
 
@@ -23870,6 +25796,9 @@ export interface UpdateActivityPartialRequest {
23870
25796
  */
23871
25797
  set?: Record<string, any>;
23872
25798
 
25799
+ /**
25800
+ * User request object
25801
+ */
23873
25802
  user?: UserRequest;
23874
25803
  }
23875
25804
 
@@ -23987,6 +25916,9 @@ export interface UpdateActivityRequest {
23987
25916
  */
23988
25917
  search_data?: Record<string, any>;
23989
25918
 
25919
+ /**
25920
+ * User request object
25921
+ */
23990
25922
  user?: UserRequest;
23991
25923
  }
23992
25924
 
@@ -24046,6 +25978,8 @@ export interface UpdateAppRequest {
24046
25978
 
24047
25979
  max_aggregated_activities_length?: number;
24048
25980
 
25981
+ member_custom_on_messages_enabled?: boolean;
25982
+
24049
25983
  migrate_permissions_to_v2?: boolean;
24050
25984
 
24051
25985
  moderation_analytics_enabled?: boolean;
@@ -24143,10 +26077,17 @@ export interface UpdateBlockListRequest {
24143
26077
 
24144
26078
  team?: string;
24145
26079
 
26080
+ user_id?: string;
26081
+
24146
26082
  /**
24147
26083
  * List of words to block
24148
26084
  */
24149
26085
  words?: string[];
26086
+
26087
+ /**
26088
+ * User request object
26089
+ */
26090
+ user?: UserRequest;
24150
26091
  }
24151
26092
 
24152
26093
  export interface UpdateBlockListResponse {
@@ -24155,6 +26096,9 @@ export interface UpdateBlockListResponse {
24155
26096
  */
24156
26097
  duration: string;
24157
26098
 
26099
+ /**
26100
+ * Block list contains restricted words
26101
+ */
24158
26102
  blocklist?: BlockListResponse;
24159
26103
  }
24160
26104
 
@@ -24171,6 +26115,9 @@ export interface UpdateBookmarkFolderRequest {
24171
26115
  */
24172
26116
  custom?: Record<string, any>;
24173
26117
 
26118
+ /**
26119
+ * User request object
26120
+ */
24174
26121
  user?: UserRequest;
24175
26122
  }
24176
26123
 
@@ -24200,6 +26147,9 @@ export interface UpdateBookmarkRequest {
24200
26147
 
24201
26148
  new_folder?: AddFolderRequest;
24202
26149
 
26150
+ /**
26151
+ * User request object
26152
+ */
24203
26153
  user?: UserRequest;
24204
26154
  }
24205
26155
 
@@ -24251,6 +26201,9 @@ export interface UpdateCallResponse {
24251
26201
 
24252
26202
  own_capabilities: OwnCapability[];
24253
26203
 
26204
+ /**
26205
+ * Represents a call
26206
+ */
24254
26207
  call: CallResponse;
24255
26208
  }
24256
26209
 
@@ -24334,6 +26287,9 @@ export interface UpdateChannelPartialRequest {
24334
26287
 
24335
26288
  set?: Record<string, any>;
24336
26289
 
26290
+ /**
26291
+ * User request object
26292
+ */
24337
26293
  user?: UserRequest;
24338
26294
  }
24339
26295
 
@@ -24348,6 +26304,9 @@ export interface UpdateChannelPartialResponse {
24348
26304
  */
24349
26305
  members: ChannelMemberResponse[];
24350
26306
 
26307
+ /**
26308
+ * Represents channel in chat
26309
+ */
24351
26310
  channel?: ChannelResponse;
24352
26311
  }
24353
26312
 
@@ -24426,8 +26385,14 @@ export interface UpdateChannelRequest {
24426
26385
 
24427
26386
  data?: ChannelInputRequest;
24428
26387
 
26388
+ /**
26389
+ * Message data for creating or updating a message
26390
+ */
24429
26391
  message?: MessageRequest;
24430
26392
 
26393
+ /**
26394
+ * User request object
26395
+ */
24431
26396
  user?: UserRequest;
24432
26397
  }
24433
26398
 
@@ -24442,8 +26407,14 @@ export interface UpdateChannelResponse {
24442
26407
  */
24443
26408
  members: ChannelMemberResponse[];
24444
26409
 
26410
+ /**
26411
+ * Represents channel in chat
26412
+ */
24445
26413
  channel?: ChannelResponse;
24446
26414
 
26415
+ /**
26416
+ * Represents any chat message
26417
+ */
24447
26418
  message?: MessageResponse;
24448
26419
  }
24449
26420
 
@@ -24515,6 +26486,9 @@ export interface UpdateChannelTypeRequest {
24515
26486
 
24516
26487
  permissions?: PolicyRequest[];
24517
26488
 
26489
+ /**
26490
+ * Sets thresholds for AI moderation
26491
+ */
24518
26492
  automod_thresholds?: Thresholds;
24519
26493
 
24520
26494
  chat_preferences?: ChatPreferences;
@@ -24597,6 +26571,9 @@ export interface UpdateChannelTypeResponse {
24597
26571
 
24598
26572
  blocklists?: BlockListOptions[];
24599
26573
 
26574
+ /**
26575
+ * Sets thresholds for AI moderation
26576
+ */
24600
26577
  automod_thresholds?: Thresholds;
24601
26578
 
24602
26579
  chat_preferences?: ChatPreferences;
@@ -24627,6 +26604,9 @@ export interface UpdateCollectionsRequest {
24627
26604
 
24628
26605
  user_id?: string;
24629
26606
 
26607
+ /**
26608
+ * User request object
26609
+ */
24630
26610
  user?: UserRequest;
24631
26611
  }
24632
26612
 
@@ -24659,6 +26639,9 @@ export interface UpdateCommandRequest {
24659
26639
  export interface UpdateCommandResponse {
24660
26640
  duration: string;
24661
26641
 
26642
+ /**
26643
+ * Represents custom chat command
26644
+ */
24662
26645
  command?: Command;
24663
26646
  }
24664
26647
 
@@ -24682,6 +26665,9 @@ export interface UpdateCommentBookmarkRequest {
24682
26665
 
24683
26666
  new_folder?: AddFolderRequest;
24684
26667
 
26668
+ /**
26669
+ * User request object
26670
+ */
24685
26671
  user?: UserRequest;
24686
26672
  }
24687
26673
 
@@ -24730,6 +26716,9 @@ export interface UpdateCommentPartialRequest {
24730
26716
  */
24731
26717
  set?: Record<string, any>;
24732
26718
 
26719
+ /**
26720
+ * User request object
26721
+ */
24733
26722
  user?: UserRequest;
24734
26723
  }
24735
26724
 
@@ -24785,6 +26774,9 @@ export interface UpdateCommentRequest {
24785
26774
  */
24786
26775
  custom?: Record<string, any>;
24787
26776
 
26777
+ /**
26778
+ * User request object
26779
+ */
24788
26780
  user?: UserRequest;
24789
26781
  }
24790
26782
 
@@ -24813,8 +26805,14 @@ export interface UpdateExternalStorageRequest {
24813
26805
  */
24814
26806
  path?: string;
24815
26807
 
26808
+ /**
26809
+ * Config for creating Amazon S3 storage.
26810
+ */
24816
26811
  aws_s3?: S3Request;
24817
26812
 
26813
+ /**
26814
+ * Config for creating Azure Blob Storage storage
26815
+ */
24818
26816
  azure_blob?: AzureRequest;
24819
26817
  }
24820
26818
 
@@ -24835,11 +26833,7 @@ export interface UpdateExternalStorageResponse {
24835
26833
 
24836
26834
  export interface UpdateFeedGroupRequest {
24837
26835
  default_visibility?:
24838
- | 'public'
24839
- | 'visible'
24840
- | 'followers'
24841
- | 'members'
24842
- | 'private';
26836
+ 'public' | 'visible' | 'followers' | 'members' | 'private';
24843
26837
 
24844
26838
  /**
24845
26839
  * Configuration for activity processors
@@ -25140,6 +27134,9 @@ export interface UpdateMessagePartialRequest {
25140
27134
  */
25141
27135
  set?: Record<string, any>;
25142
27136
 
27137
+ /**
27138
+ * User request object
27139
+ */
25143
27140
  user?: UserRequest;
25144
27141
  }
25145
27142
 
@@ -25149,6 +27146,9 @@ export interface UpdateMessagePartialResponse {
25149
27146
  */
25150
27147
  duration: string;
25151
27148
 
27149
+ /**
27150
+ * Represents any chat message
27151
+ */
25152
27152
  message?: MessageResponse;
25153
27153
 
25154
27154
  /**
@@ -25158,6 +27158,9 @@ export interface UpdateMessagePartialResponse {
25158
27158
  }
25159
27159
 
25160
27160
  export interface UpdateMessageRequest {
27161
+ /**
27162
+ * Message data for creating or updating a message
27163
+ */
25161
27164
  message: MessageRequest;
25162
27165
 
25163
27166
  /**
@@ -25174,6 +27177,9 @@ export interface UpdateMessageResponse {
25174
27177
  */
25175
27178
  duration: string;
25176
27179
 
27180
+ /**
27181
+ * Represents any chat message
27182
+ */
25177
27183
  message: MessageResponse;
25178
27184
 
25179
27185
  pending_message_metadata?: Record<string, string>;
@@ -25192,8 +27198,14 @@ export interface UpdatePollOptionRequest {
25192
27198
 
25193
27199
  user_id?: string;
25194
27200
 
27201
+ /**
27202
+ * Custom data for this object
27203
+ */
25195
27204
  custom?: Record<string, any>;
25196
27205
 
27206
+ /**
27207
+ * User request object
27208
+ */
25197
27209
  user?: UserRequest;
25198
27210
  }
25199
27211
 
@@ -25210,6 +27222,9 @@ export interface UpdatePollPartialRequest {
25210
27222
  */
25211
27223
  set?: Record<string, any>;
25212
27224
 
27225
+ /**
27226
+ * User request object
27227
+ */
25213
27228
  user?: UserRequest;
25214
27229
  }
25215
27230
 
@@ -25267,8 +27282,14 @@ export interface UpdatePollRequest {
25267
27282
  */
25268
27283
  options?: PollOptionRequest[];
25269
27284
 
27285
+ /**
27286
+ * Custom data for this object
27287
+ */
25270
27288
  custom?: Record<string, any>;
25271
27289
 
27290
+ /**
27291
+ * User request object
27292
+ */
25272
27293
  user?: UserRequest;
25273
27294
  }
25274
27295
 
@@ -25283,6 +27304,9 @@ export interface UpdateQueueRequest {
25283
27304
 
25284
27305
  filters?: Record<string, any>;
25285
27306
 
27307
+ /**
27308
+ * User request object
27309
+ */
25286
27310
  user?: UserRequest;
25287
27311
  }
25288
27312
 
@@ -25291,6 +27315,9 @@ export interface UpdateReminderRequest {
25291
27315
 
25292
27316
  user_id?: string;
25293
27317
 
27318
+ /**
27319
+ * User request object
27320
+ */
25294
27321
  user?: UserRequest;
25295
27322
  }
25296
27323
 
@@ -25314,6 +27341,9 @@ export interface UpdateSIPInboundRoutingRuleRequest {
25314
27341
  */
25315
27342
  trunk_ids: string[];
25316
27343
 
27344
+ /**
27345
+ * Configuration for SIP caller settings
27346
+ */
25317
27347
  caller_configs: SIPCallerConfigsRequest;
25318
27348
 
25319
27349
  /**
@@ -25326,18 +27356,33 @@ export interface UpdateSIPInboundRoutingRuleRequest {
25326
27356
  */
25327
27357
  caller_numbers?: string[];
25328
27358
 
27359
+ /**
27360
+ * Configuration for SIP call settings
27361
+ */
25329
27362
  call_configs?: SIPCallConfigsRequest;
25330
27363
 
27364
+ /**
27365
+ * Configuration for direct routing rule calls
27366
+ */
25331
27367
  direct_routing_configs?: SIPDirectRoutingRuleCallConfigsRequest;
25332
27368
 
27369
+ /**
27370
+ * Configuration for PIN protection settings
27371
+ */
25333
27372
  pin_protection_configs?: SIPPinProtectionConfigsRequest;
25334
27373
 
27374
+ /**
27375
+ * Configuration for PIN routing rule calls
27376
+ */
25335
27377
  pin_routing_configs?: SIPInboundRoutingRulePinConfigsRequest;
25336
27378
  }
25337
27379
 
25338
27380
  export interface UpdateSIPInboundRoutingRuleResponse {
25339
27381
  duration: string;
25340
27382
 
27383
+ /**
27384
+ * SIP Inbound Routing Rule response
27385
+ */
25341
27386
  sip_inbound_routing_rule?: SIPInboundRoutingRuleResponse;
25342
27387
  }
25343
27388
 
@@ -25366,6 +27411,9 @@ export interface UpdateSIPTrunkRequest {
25366
27411
  export interface UpdateSIPTrunkResponse {
25367
27412
  duration: string;
25368
27413
 
27414
+ /**
27415
+ * SIP trunk information
27416
+ */
25369
27417
  sip_trunk?: SIPTrunkResponse;
25370
27418
  }
25371
27419
 
@@ -25408,6 +27456,9 @@ export interface UpdateThreadPartialRequest {
25408
27456
  */
25409
27457
  set?: Record<string, any>;
25410
27458
 
27459
+ /**
27460
+ * User request object
27461
+ */
25411
27462
  user?: UserRequest;
25412
27463
  }
25413
27464
 
@@ -25501,6 +27552,9 @@ export interface UpdatedCallPermissionsEvent {
25501
27552
  */
25502
27553
  own_capabilities: OwnCapability[];
25503
27554
 
27555
+ /**
27556
+ * User response object
27557
+ */
25504
27558
  user: UserResponse;
25505
27559
 
25506
27560
  /**
@@ -25630,12 +27684,18 @@ export interface UpsertActionConfigRequest {
25630
27684
  */
25631
27685
  custom?: Record<string, any>;
25632
27686
 
27687
+ /**
27688
+ * User request object
27689
+ */
25633
27690
  user?: UserRequest;
25634
27691
  }
25635
27692
 
25636
27693
  export interface UpsertActionConfigResponse {
25637
27694
  duration: string;
25638
27695
 
27696
+ /**
27697
+ * Configuration for a moderation action
27698
+ */
25639
27699
  action_config?: ModerationActionConfigResponse;
25640
27700
  }
25641
27701
 
@@ -25740,6 +27800,9 @@ export interface UpsertConfigRequest {
25740
27800
 
25741
27801
  rule_builder_config?: RuleBuilderConfig;
25742
27802
 
27803
+ /**
27804
+ * User request object
27805
+ */
25743
27806
  user?: UserRequest;
25744
27807
 
25745
27808
  velocity_filter_config?: VelocityFilterConfig;
@@ -25753,6 +27816,39 @@ export interface UpsertConfigResponse {
25753
27816
  config?: ConfigResponse;
25754
27817
  }
25755
27818
 
27819
+ export interface UpsertExternalStorageAWSS3Request {
27820
+ bucket: string;
27821
+
27822
+ region: string;
27823
+
27824
+ role_arn: string;
27825
+
27826
+ path_prefix?: string;
27827
+ }
27828
+
27829
+ export interface UpsertExternalStorageGCSRequest {
27830
+ bucket: string;
27831
+
27832
+ credentials: string;
27833
+
27834
+ path_prefix?: string;
27835
+ }
27836
+
27837
+ export interface UpsertExternalStorageRequest {
27838
+ type: 'aws_s3' | 'gcs';
27839
+
27840
+ aws_s3?: UpsertExternalStorageAWSS3Request;
27841
+
27842
+ gcs?: UpsertExternalStorageGCSRequest;
27843
+ }
27844
+
27845
+ export interface UpsertExternalStorageResponse {
27846
+ /**
27847
+ * Duration of the request in milliseconds
27848
+ */
27849
+ duration: string;
27850
+ }
27851
+
25756
27852
  export interface UpsertModerationRuleRequest {
25757
27853
  /**
25758
27854
  * Unique rule name
@@ -25816,6 +27912,9 @@ export interface UpsertModerationRuleRequest {
25816
27912
 
25817
27913
  action?: RuleBuilderAction;
25818
27914
 
27915
+ /**
27916
+ * User request object
27917
+ */
25819
27918
  user?: UserRequest;
25820
27919
  }
25821
27920
 
@@ -25834,6 +27933,9 @@ export interface UpsertModerationTemplateRequest {
25834
27933
  */
25835
27934
  name: string;
25836
27935
 
27936
+ /**
27937
+ * Configuration for a feeds moderation template
27938
+ */
25837
27939
  config: FeedsModerationTemplateConfigPayload;
25838
27940
  }
25839
27941
 
@@ -25855,6 +27957,9 @@ export interface UpsertModerationTemplateResponse {
25855
27957
  */
25856
27958
  updated_at: Date;
25857
27959
 
27960
+ /**
27961
+ * Configuration for a feeds moderation template
27962
+ */
25858
27963
  config?: FeedsModerationTemplateConfigPayload;
25859
27964
  }
25860
27965
 
@@ -26414,8 +28519,14 @@ export interface UserMuteResponse {
26414
28519
 
26415
28520
  expires?: Date;
26416
28521
 
28522
+ /**
28523
+ * User response object
28524
+ */
26417
28525
  target?: UserResponse;
26418
28526
 
28527
+ /**
28528
+ * User response object
28529
+ */
26419
28530
  user?: UserResponse;
26420
28531
  }
26421
28532
 
@@ -26823,6 +28934,13 @@ export interface UserUpdatedEvent {
26823
28934
  received_at?: Date;
26824
28935
  }
26825
28936
 
28937
+ export interface ValidateExternalStorageResponse {
28938
+ /**
28939
+ * Duration of the request in milliseconds
28940
+ */
28941
+ duration: string;
28942
+ }
28943
+
26826
28944
  export interface VelocityFilterConfig {
26827
28945
  advanced_filters?: boolean;
26828
28946
 
@@ -26894,6 +29012,9 @@ export interface VideoReactionOverTimeResponse {
26894
29012
  export interface VideoReactionResponse {
26895
29013
  type: string;
26896
29014
 
29015
+ /**
29016
+ * User response object
29017
+ */
26897
29018
  user: UserResponse;
26898
29019
 
26899
29020
  emoji_code?: string;
@@ -26951,6 +29072,24 @@ export interface VideoSettingsResponse {
26951
29072
  target_resolution: TargetResolution;
26952
29073
  }
26953
29074
 
29075
+ export interface ViewerBehavior {
29076
+ connection_duration_p50_s: number;
29077
+
29078
+ connections_per_viewer_mean: number;
29079
+
29080
+ median_watch_min: number;
29081
+
29082
+ note: string;
29083
+
29084
+ p90_watch_min: number;
29085
+
29086
+ bounce_rate_pct?: number;
29087
+
29088
+ connections_under_30s_pct?: number;
29089
+
29090
+ return_visit_rate_pct?: number;
29091
+ }
29092
+
26954
29093
  export interface VoteData {
26955
29094
  answer_text?: string;
26956
29095
 
@@ -27112,6 +29251,7 @@ export type WHEvent =
27112
29251
  | ({ type: 'message.unblocked' } & MessageUnblockedEvent)
27113
29252
  | ({ type: 'message.undeleted' } & MessageUndeletedEvent)
27114
29253
  | ({ type: 'message.updated' } & MessageUpdatedEvent)
29254
+ | ({ type: 'moderation.analysis.failed' } & ModerationAnalysisFailedEvent)
27115
29255
  | ({ type: 'moderation.custom_action' } & ModerationCustomActionEvent)
27116
29256
  | ({ type: 'moderation.flagged' } & ModerationFlaggedEvent)
27117
29257
  | ({
@@ -27194,14 +29334,23 @@ export interface WSEvent {
27194
29334
 
27195
29335
  automoderation_scores?: ModerationResponse;
27196
29336
 
29337
+ /**
29338
+ * Represents channel in chat
29339
+ */
27197
29340
  channel?: ChannelResponse;
27198
29341
 
29342
+ /**
29343
+ * User response object
29344
+ */
27199
29345
  created_by?: UserResponse;
27200
29346
 
27201
29347
  me?: OwnUserResponse;
27202
29348
 
27203
29349
  member?: ChannelMemberResponse;
27204
29350
 
29351
+ /**
29352
+ * Represents any chat message
29353
+ */
27205
29354
  message?: MessageResponse;
27206
29355
 
27207
29356
  message_update?: MessageUpdate;
@@ -27214,6 +29363,9 @@ export interface WSEvent {
27214
29363
 
27215
29364
  thread?: ThreadResponse;
27216
29365
 
29366
+ /**
29367
+ * User response object
29368
+ */
27217
29369
  user?: UserResponse;
27218
29370
  }
27219
29371