@stream-io/node-sdk 0.4.18 → 0.4.20

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.
@@ -300,6 +300,24 @@ export interface AsyncExportErrorEvent {
300
300
  received_at?: Date;
301
301
  }
302
302
 
303
+ export interface AsyncExportModerationLogsEvent {
304
+ created_at: Date;
305
+
306
+ finished_at: Date;
307
+
308
+ started_at: Date;
309
+
310
+ task_id: string;
311
+
312
+ url: string;
313
+
314
+ custom: Record<string, any>;
315
+
316
+ type: string;
317
+
318
+ received_at?: Date;
319
+ }
320
+
303
321
  export interface AsyncExportUsersEvent {
304
322
  created_at: Date;
305
323
 
@@ -1532,6 +1550,28 @@ export interface CallUpdatedEvent {
1532
1550
  type: string;
1533
1551
  }
1534
1552
 
1553
+ export interface CallUserFeedbackSubmittedEvent {
1554
+ call_cid: string;
1555
+
1556
+ created_at: Date;
1557
+
1558
+ rating: number;
1559
+
1560
+ session_id: string;
1561
+
1562
+ user: UserResponse;
1563
+
1564
+ type: string;
1565
+
1566
+ reason?: string;
1567
+
1568
+ sdk?: string;
1569
+
1570
+ sdk_version?: string;
1571
+
1572
+ custom?: Record<string, any>;
1573
+ }
1574
+
1535
1575
  export interface CallUserMutedEvent {
1536
1576
  call_cid: string;
1537
1577
 
@@ -1652,6 +1692,10 @@ export interface CampaignStatsResponse {
1652
1692
  stats_messages_sent: number;
1653
1693
 
1654
1694
  stats_started_at: Date;
1695
+
1696
+ stats_users_read: number;
1697
+
1698
+ stats_users_sent: number;
1655
1699
  }
1656
1700
 
1657
1701
  export interface CastPollVoteRequest {
@@ -1687,6 +1731,8 @@ export interface Channel {
1687
1731
 
1688
1732
  deleted_at?: Date;
1689
1733
 
1734
+ last_campaigns?: string;
1735
+
1690
1736
  last_message_at?: Date;
1691
1737
 
1692
1738
  member_count?: number;
@@ -2173,6 +2219,8 @@ export interface ChannelStateResponse {
2173
2219
 
2174
2220
  channel?: ChannelResponse;
2175
2221
 
2222
+ draft?: DraftResponse;
2223
+
2176
2224
  membership?: ChannelMember;
2177
2225
 
2178
2226
  push_preferences?: ChannelPushPreferences;
@@ -2201,6 +2249,8 @@ export interface ChannelStateResponseFields {
2201
2249
 
2202
2250
  channel?: ChannelResponse;
2203
2251
 
2252
+ draft?: DraftResponse;
2253
+
2204
2254
  membership?: ChannelMember;
2205
2255
 
2206
2256
  push_preferences?: ChannelPushPreferences;
@@ -3182,6 +3232,50 @@ export interface DeviceResponse {
3182
3232
  voip?: boolean;
3183
3233
  }
3184
3234
 
3235
+ export interface DraftPayloadResponse {
3236
+ id: string;
3237
+
3238
+ text: string;
3239
+
3240
+ custom: Record<string, any>;
3241
+
3242
+ html?: string;
3243
+
3244
+ mml?: string;
3245
+
3246
+ parent_id?: string;
3247
+
3248
+ poll_id?: string;
3249
+
3250
+ quoted_message_id?: string;
3251
+
3252
+ show_in_channel?: boolean;
3253
+
3254
+ silent?: boolean;
3255
+
3256
+ type?: string;
3257
+
3258
+ attachments?: Attachment[];
3259
+
3260
+ mentioned_users?: UserResponse[];
3261
+ }
3262
+
3263
+ export interface DraftResponse {
3264
+ channel_cid: string;
3265
+
3266
+ created_at: Date;
3267
+
3268
+ message: DraftPayloadResponse;
3269
+
3270
+ parent_id?: string;
3271
+
3272
+ channel?: ChannelResponse;
3273
+
3274
+ parent_message?: MessageResponse;
3275
+
3276
+ quoted_message?: MessageResponse;
3277
+ }
3278
+
3185
3279
  export interface EdgeResponse {
3186
3280
  continent_code: string;
3187
3281
 
@@ -3305,6 +3399,8 @@ export interface EntityCreator {
3305
3399
 
3306
3400
  custom: Record<string, any>;
3307
3401
 
3402
+ teams_role: Record<string, string>;
3403
+
3308
3404
  ban_expires?: Date;
3309
3405
 
3310
3406
  created_at?: Date;
@@ -3380,6 +3476,8 @@ export interface EntityCreatorResponse {
3380
3476
  privacy_settings?: PrivacySettingsResponse;
3381
3477
 
3382
3478
  push_notifications?: PushNotificationSettingsResponse;
3479
+
3480
+ teams_role?: Record<string, string>;
3383
3481
  }
3384
3482
 
3385
3483
  export interface ErrorResult {
@@ -3467,8 +3565,6 @@ export interface ExternalStorageResponse {
3467
3565
  export interface FPSStats {
3468
3566
  average_fps: number;
3469
3567
 
3470
- harmonic_fps: number;
3471
-
3472
3568
  tracked: number;
3473
3569
  }
3474
3570
 
@@ -3543,36 +3639,6 @@ export interface FirebaseConfigFields {
3543
3639
  export interface Flag {
3544
3640
  created_at: Date;
3545
3641
 
3546
- created_by_automod: boolean;
3547
-
3548
- updated_at: Date;
3549
-
3550
- approved_at?: Date;
3551
-
3552
- reason?: string;
3553
-
3554
- rejected_at?: Date;
3555
-
3556
- reviewed_at?: Date;
3557
-
3558
- reviewed_by?: string;
3559
-
3560
- target_message_id?: string;
3561
-
3562
- custom?: Record<string, any>;
3563
-
3564
- details?: FlagDetails;
3565
-
3566
- target_message?: Message;
3567
-
3568
- target_user?: User;
3569
-
3570
- user?: User;
3571
- }
3572
-
3573
- export interface Flag2 {
3574
- created_at: Date;
3575
-
3576
3642
  entity_id: string;
3577
3643
 
3578
3644
  entity_type: string;
@@ -3600,36 +3666,6 @@ export interface Flag2 {
3600
3666
  user?: User;
3601
3667
  }
3602
3668
 
3603
- export interface Flag2Response {
3604
- created_at: Date;
3605
-
3606
- entity_id: string;
3607
-
3608
- entity_type: string;
3609
-
3610
- updated_at: Date;
3611
-
3612
- user_id: string;
3613
-
3614
- result: Array<Record<string, any>>;
3615
-
3616
- entity_creator_id?: string;
3617
-
3618
- reason?: string;
3619
-
3620
- review_queue_item_id?: string;
3621
-
3622
- type?: string;
3623
-
3624
- labels?: string[];
3625
-
3626
- custom?: Record<string, any>;
3627
-
3628
- moderation_payload?: ModerationPayload;
3629
-
3630
- user?: UserResponse;
3631
- }
3632
-
3633
3669
  export interface FlagDetails {
3634
3670
  original_text: string;
3635
3671
 
@@ -3763,6 +3799,8 @@ export interface FullUserResponse {
3763
3799
 
3764
3800
  custom: Record<string, any>;
3765
3801
 
3802
+ ban_expires?: Date;
3803
+
3766
3804
  deactivated_at?: Date;
3767
3805
 
3768
3806
  deleted_at?: Date;
@@ -3778,6 +3816,8 @@ export interface FullUserResponse {
3778
3816
  latest_hidden_channels?: string[];
3779
3817
 
3780
3818
  privacy_settings?: PrivacySettingsResponse;
3819
+
3820
+ teams_role?: Record<string, string>;
3781
3821
  }
3782
3822
 
3783
3823
  export interface GeofenceResponse {
@@ -3867,6 +3907,8 @@ export interface GetCallStatsResponse {
3867
3907
 
3868
3908
  duration: string;
3869
3909
 
3910
+ is_truncated_report: boolean;
3911
+
3870
3912
  max_freezes_duration_seconds: number;
3871
3913
 
3872
3914
  max_participants: number;
@@ -3916,6 +3958,8 @@ export interface GetCampaignResponse {
3916
3958
  duration: string;
3917
3959
 
3918
3960
  campaign?: CampaignResponse;
3961
+
3962
+ users?: PagerResponse;
3919
3963
  }
3920
3964
 
3921
3965
  export interface GetChannelTypeResponse {
@@ -4014,6 +4058,12 @@ export interface GetCustomPermissionResponse {
4014
4058
  permission: Permission;
4015
4059
  }
4016
4060
 
4061
+ export interface GetDraftResponse {
4062
+ duration: string;
4063
+
4064
+ draft: DraftResponse;
4065
+ }
4066
+
4017
4067
  export interface GetEdgesResponse {
4018
4068
  duration: string;
4019
4069
 
@@ -4040,18 +4090,6 @@ export interface GetMessageResponse {
4040
4090
  pending_message_metadata?: Record<string, string>;
4041
4091
  }
4042
4092
 
4043
- export interface GetModerationAnalyticsRequest {
4044
- end_date?: string;
4045
-
4046
- start_date?: string;
4047
- }
4048
-
4049
- export interface GetModerationAnalyticsResponse {
4050
- duration: string;
4051
-
4052
- analytics?: ModerationAnalytics;
4053
- }
4054
-
4055
4093
  export interface GetOGResponse {
4056
4094
  duration: string;
4057
4095
 
@@ -4190,16 +4228,6 @@ export interface GetThreadResponse {
4190
4228
  thread: ThreadStateResponse;
4191
4229
  }
4192
4230
 
4193
- export interface GetUserModerationReportResponse {
4194
- duration: string;
4195
-
4196
- user_blocks: UserBlock[];
4197
-
4198
- user_mutes: UserMute[];
4199
-
4200
- user: UserResponse;
4201
- }
4202
-
4203
4231
  export interface GoLiveRequest {
4204
4232
  recording_storage_name?: string;
4205
4233
 
@@ -4892,6 +4920,10 @@ export interface MessageNewEvent {
4892
4920
  user?: User;
4893
4921
  }
4894
4922
 
4923
+ export interface MessageOptions {
4924
+ include_thread_participants?: boolean;
4925
+ }
4926
+
4895
4927
  export interface MessagePaginationParams {}
4896
4928
 
4897
4929
  export interface MessageReadEvent {
@@ -5021,6 +5053,8 @@ export interface MessageResponse {
5021
5053
 
5022
5054
  thread_participants?: UserResponse[];
5023
5055
 
5056
+ draft?: DraftResponse;
5057
+
5024
5058
  i18n?: Record<string, string>;
5025
5059
 
5026
5060
  image_labels?: Record<string, string[]>;
@@ -5163,6 +5197,8 @@ export interface MessageWithChannelResponse {
5163
5197
 
5164
5198
  thread_participants?: UserResponse[];
5165
5199
 
5200
+ draft?: DraftResponse;
5201
+
5166
5202
  i18n?: Record<string, string>;
5167
5203
 
5168
5204
  image_labels?: Record<string, string[]>;
@@ -5192,34 +5228,6 @@ export interface ModerationActionConfig {
5192
5228
  custom: Record<string, any>;
5193
5229
  }
5194
5230
 
5195
- export interface ModerationAnalytics {
5196
- total_items_moderated: number;
5197
-
5198
- ai_image_harms: Array<Record<string, any>>;
5199
-
5200
- ai_text_harms: Array<Record<string, any>>;
5201
-
5202
- ai_video_harms: Array<Record<string, any>>;
5203
-
5204
- blocklist_by_list: Array<Record<string, any>>;
5205
-
5206
- blocklist_matches: Array<Record<string, any>>;
5207
-
5208
- model_accuracy: Array<Record<string, any>>;
5209
-
5210
- moderator_actions: Array<Record<string, any>>;
5211
-
5212
- moderator_productivity: Array<Record<string, any>>;
5213
-
5214
- semantic_filter_top_matches: Array<Record<string, any>>;
5215
-
5216
- sla_metrics: Array<Record<string, any>>;
5217
-
5218
- action_distribution_over_time: Record<string, Record<string, any>>;
5219
-
5220
- detection_by_engine_over_time: Record<string, Record<string, any>>;
5221
- }
5222
-
5223
5231
  export interface ModerationCustomActionEvent {
5224
5232
  created_at: Date;
5225
5233
 
@@ -5232,22 +5240,6 @@ export interface ModerationCustomActionEvent {
5232
5240
  user?: User;
5233
5241
  }
5234
5242
 
5235
- export interface ModerationEvent {
5236
- created_at: Date;
5237
-
5238
- custom: Record<string, any>;
5239
-
5240
- type: string;
5241
-
5242
- received_at?: Date;
5243
-
5244
- flags?: Flag2Response[];
5245
-
5246
- action?: ActionLogResponse;
5247
-
5248
- review_queue_item?: ReviewQueueItemResponse;
5249
- }
5250
-
5251
5243
  export interface ModerationFlaggedEvent {
5252
5244
  created_at: Date;
5253
5245
 
@@ -5292,22 +5284,6 @@ export interface ModerationResponse {
5292
5284
  toxic: number;
5293
5285
  }
5294
5286
 
5295
- export interface ModerationUsageStats {
5296
- app_pk: number;
5297
-
5298
- id: number;
5299
-
5300
- organization_id: number;
5301
-
5302
- reference_date: Date;
5303
-
5304
- updated_at: Date;
5305
-
5306
- usage_amount: number;
5307
-
5308
- usage_type: string;
5309
- }
5310
-
5311
5287
  export interface ModerationV2Response {
5312
5288
  action: string;
5313
5289
 
@@ -5324,20 +5300,6 @@ export interface ModerationV2Response {
5324
5300
  text_harms?: string[];
5325
5301
  }
5326
5302
 
5327
- export interface ModeratorStats {
5328
- id: string;
5329
-
5330
- items_reviewed: number;
5331
-
5332
- action_counts: Record<string, number>;
5333
- }
5334
-
5335
- export interface ModeratorStatsResponse {
5336
- duration: string;
5337
-
5338
- moderator_stats: ModeratorStats[];
5339
- }
5340
-
5341
5303
  export interface MuteChannelRequest {
5342
5304
  expiration?: number;
5343
5305
 
@@ -5558,6 +5520,8 @@ export interface OwnUser {
5558
5520
  privacy_settings?: PrivacySettings;
5559
5521
 
5560
5522
  push_preferences?: PushPreferences;
5523
+
5524
+ teams_role?: Record<string, string>;
5561
5525
  }
5562
5526
 
5563
5527
  export interface OwnUserResponse {
@@ -5614,6 +5578,14 @@ export interface OwnUserResponse {
5614
5578
  privacy_settings?: PrivacySettingsResponse;
5615
5579
 
5616
5580
  push_preferences?: PushPreferences;
5581
+
5582
+ teams_role?: Record<string, string>;
5583
+ }
5584
+
5585
+ export interface PagerResponse {
5586
+ next?: string;
5587
+
5588
+ prev?: string;
5617
5589
  }
5618
5590
 
5619
5591
  export interface PaginationParams {
@@ -6233,6 +6205,8 @@ export interface QueryCampaignsRequest {
6233
6205
 
6234
6206
  prev?: string;
6235
6207
 
6208
+ user_limit?: number;
6209
+
6236
6210
  sort?: SortParamRequest[];
6237
6211
 
6238
6212
  filter?: Record<string, any>;
@@ -6274,6 +6248,32 @@ export interface QueryChannelsResponse {
6274
6248
  channels: ChannelStateResponseFields[];
6275
6249
  }
6276
6250
 
6251
+ export interface QueryDraftsRequest {
6252
+ limit?: number;
6253
+
6254
+ next?: string;
6255
+
6256
+ prev?: string;
6257
+
6258
+ user_id?: string;
6259
+
6260
+ sort?: SortParamRequest[];
6261
+
6262
+ filter?: Record<string, any>;
6263
+
6264
+ user?: UserRequest;
6265
+ }
6266
+
6267
+ export interface QueryDraftsResponse {
6268
+ duration: string;
6269
+
6270
+ drafts: DraftResponse[];
6271
+
6272
+ next?: string;
6273
+
6274
+ prev?: string;
6275
+ }
6276
+
6277
6277
  export interface QueryFeedModerationTemplate {
6278
6278
  created_at: Date;
6279
6279
 
@@ -6576,32 +6576,6 @@ export interface QueryThreadsResponse {
6576
6576
  prev?: string;
6577
6577
  }
6578
6578
 
6579
- export interface QueryUsageStatsRequest {
6580
- limit?: number;
6581
-
6582
- next?: string;
6583
-
6584
- prev?: string;
6585
-
6586
- user_id?: string;
6587
-
6588
- sort?: SortParamRequest[];
6589
-
6590
- filter?: Record<string, any>;
6591
-
6592
- user?: UserRequest;
6593
- }
6594
-
6595
- export interface QueryUsageStatsResponse {
6596
- duration: string;
6597
-
6598
- items: ModerationUsageStats[];
6599
-
6600
- next?: string;
6601
-
6602
- prev?: string;
6603
- }
6604
-
6605
6579
  export interface QueryUserFeedbackRequest {
6606
6580
  limit?: number;
6607
6581
 
@@ -6648,14 +6622,6 @@ export interface QueryUsersResponse {
6648
6622
  users: FullUserResponse[];
6649
6623
  }
6650
6624
 
6651
- export interface QueueStatsResponse {
6652
- avg_time_to_action: number;
6653
-
6654
- duration: string;
6655
-
6656
- time_to_action_buckets: Record<string, number>;
6657
- }
6658
-
6659
6625
  export interface RTMPBroadcastRequest {
6660
6626
  name: string;
6661
6627
 
@@ -6983,6 +6949,8 @@ export interface ReviewQueueItem {
6983
6949
 
6984
6950
  entity_type: string;
6985
6951
 
6952
+ flags_count: number;
6953
+
6986
6954
  has_image: boolean;
6987
6955
 
6988
6956
  has_text: boolean;
@@ -7007,7 +6975,7 @@ export interface ReviewQueueItem {
7007
6975
 
7008
6976
  bans: Ban[];
7009
6977
 
7010
- flags: Flag2[];
6978
+ flags: Flag[];
7011
6979
 
7012
6980
  languages: string[];
7013
6981
 
@@ -7015,6 +6983,8 @@ export interface ReviewQueueItem {
7015
6983
 
7016
6984
  reviewed_at: NullTime;
7017
6985
 
6986
+ activity?: EnrichedActivity;
6987
+
7018
6988
  assigned_to?: User;
7019
6989
 
7020
6990
  entity_creator?: EntityCreator;
@@ -7026,6 +6996,24 @@ export interface ReviewQueueItem {
7026
6996
  message?: Message;
7027
6997
 
7028
6998
  moderation_payload?: ModerationPayload;
6999
+
7000
+ reaction?: Reaction;
7001
+ }
7002
+
7003
+ export interface ReviewQueueItemNewEvent {
7004
+ created_at: Date;
7005
+
7006
+ custom: Record<string, any>;
7007
+
7008
+ type: string;
7009
+
7010
+ received_at?: Date;
7011
+
7012
+ flags?: FlagResponse[];
7013
+
7014
+ action?: ActionLogResponse;
7015
+
7016
+ review_queue_item?: ReviewQueueItemResponse;
7029
7017
  }
7030
7018
 
7031
7019
  export interface ReviewQueueItemResponse {
@@ -7037,6 +7025,8 @@ export interface ReviewQueueItemResponse {
7037
7025
 
7038
7026
  entity_type: string;
7039
7027
 
7028
+ flags_count: number;
7029
+
7040
7030
  id: string;
7041
7031
 
7042
7032
  recommended_action: string;
@@ -7053,7 +7043,7 @@ export interface ReviewQueueItemResponse {
7053
7043
 
7054
7044
  bans: Ban[];
7055
7045
 
7056
- flags: Flag2Response[];
7046
+ flags: FlagResponse[];
7057
7047
 
7058
7048
  languages: string[];
7059
7049
 
@@ -7065,6 +7055,8 @@ export interface ReviewQueueItemResponse {
7065
7055
 
7066
7056
  teams?: string[];
7067
7057
 
7058
+ activity?: EnrichedActivity;
7059
+
7068
7060
  assigned_to?: UserResponse;
7069
7061
 
7070
7062
  entity_creator?: EntityCreatorResponse;
@@ -7076,6 +7068,24 @@ export interface ReviewQueueItemResponse {
7076
7068
  message?: MessageResponse;
7077
7069
 
7078
7070
  moderation_payload?: ModerationPayload;
7071
+
7072
+ reaction?: Reaction;
7073
+ }
7074
+
7075
+ export interface ReviewQueueItemUpdatedEvent {
7076
+ created_at: Date;
7077
+
7078
+ custom: Record<string, any>;
7079
+
7080
+ type: string;
7081
+
7082
+ received_at?: Date;
7083
+
7084
+ flags?: FlagResponse[];
7085
+
7086
+ action?: ActionLogResponse;
7087
+
7088
+ review_queue_item?: ReviewQueueItemResponse;
7079
7089
  }
7080
7090
 
7081
7091
  export interface RingSettings {
@@ -7178,6 +7188,8 @@ export interface SearchPayload {
7178
7188
  sort?: SortParamRequest[];
7179
7189
 
7180
7190
  message_filter_conditions?: Record<string, any>;
7191
+
7192
+ message_options?: MessageOptions;
7181
7193
  }
7182
7194
 
7183
7195
  export interface SearchResponse {
@@ -7263,6 +7275,8 @@ export interface SearchResultMessage {
7263
7275
 
7264
7276
  channel?: ChannelResponse;
7265
7277
 
7278
+ draft?: DraftResponse;
7279
+
7266
7280
  i18n?: Record<string, string>;
7267
7281
 
7268
7282
  image_labels?: Record<string, string[]>;
@@ -7448,6 +7462,8 @@ export interface StartCampaignResponse {
7448
7462
  duration: string;
7449
7463
 
7450
7464
  campaign?: CampaignResponse;
7465
+
7466
+ users?: PagerResponse;
7451
7467
  }
7452
7468
 
7453
7469
  export interface StartClosedCaptionsRequest {
@@ -7730,6 +7746,8 @@ export interface ThreadStateResponse {
7730
7746
 
7731
7747
  created_by?: UserResponse;
7732
7748
 
7749
+ draft?: DraftResponse;
7750
+
7733
7751
  parent_message?: MessageResponse;
7734
7752
  }
7735
7753
 
@@ -7961,7 +7979,8 @@ export interface TranslateMessageRequest {
7961
7979
  | 'uk'
7962
7980
  | 'ur'
7963
7981
  | 'vi'
7964
- | 'lt';
7982
+ | 'lt'
7983
+ | 'ht';
7965
7984
  }
7966
7985
 
7967
7986
  export interface TruncateChannelRequest {
@@ -8760,6 +8779,8 @@ export interface User {
8760
8779
 
8761
8780
  custom: Record<string, any>;
8762
8781
 
8782
+ teams_role: Record<string, string>;
8783
+
8763
8784
  ban_expires?: Date;
8764
8785
 
8765
8786
  created_at?: Date;
@@ -8809,14 +8830,6 @@ export interface UserBannedEvent {
8809
8830
  user?: User;
8810
8831
  }
8811
8832
 
8812
- export interface UserBlock {
8813
- blocked_by_user_id: string;
8814
-
8815
- blocked_user_id: string;
8816
-
8817
- created_at: Date;
8818
- }
8819
-
8820
8833
  export interface UserCustomEventRequest {
8821
8834
  type: string;
8822
8835
 
@@ -8969,6 +8982,8 @@ export interface UserRequest {
8969
8982
  custom?: Record<string, any>;
8970
8983
 
8971
8984
  privacy_settings?: PrivacySettingsResponse;
8985
+
8986
+ teams_role?: Record<string, string>;
8972
8987
  }
8973
8988
 
8974
8989
  export interface UserResponse {
@@ -9015,6 +9030,8 @@ export interface UserResponse {
9015
9030
  privacy_settings?: PrivacySettingsResponse;
9016
9031
 
9017
9032
  push_notifications?: PushNotificationSettingsResponse;
9033
+
9034
+ teams_role?: Record<string, string>;
9018
9035
  }
9019
9036
 
9020
9037
  export interface UserResponseCommonFields {
@@ -9049,6 +9066,8 @@ export interface UserResponseCommonFields {
9049
9066
  name?: string;
9050
9067
 
9051
9068
  revoke_tokens_issued_before?: Date;
9069
+
9070
+ teams_role?: Record<string, string>;
9052
9071
  }
9053
9072
 
9054
9073
  export interface UserResponsePrivacyFields {
@@ -9087,6 +9106,8 @@ export interface UserResponsePrivacyFields {
9087
9106
  revoke_tokens_issued_before?: Date;
9088
9107
 
9089
9108
  privacy_settings?: PrivacySettingsResponse;
9109
+
9110
+ teams_role?: Record<string, string>;
9090
9111
  }
9091
9112
 
9092
9113
  export interface UserSessionStats {
@@ -9204,6 +9225,8 @@ export interface UserStats {
9204
9225
 
9205
9226
  info: UserInfoResponse;
9206
9227
 
9228
+ feedback?: string;
9229
+
9207
9230
  rating?: number;
9208
9231
  }
9209
9232
 
@@ -9260,6 +9283,8 @@ export interface UserUpdatedEvent {
9260
9283
  }
9261
9284
 
9262
9285
  export interface VelocityFilterConfig {
9286
+ advanced_filters: boolean;
9287
+
9263
9288
  cascading_actions: boolean;
9264
9289
 
9265
9290
  cids_per_user: number;
@@ -9290,12 +9315,16 @@ export interface VelocityFilterConfigRule {
9290
9315
 
9291
9316
  ip_ban: boolean;
9292
9317
 
9318
+ probation_period: number;
9319
+
9293
9320
  shadow_ban: boolean;
9294
9321
 
9295
9322
  slow_spam_threshold: number;
9296
9323
 
9297
9324
  slow_spam_ttl: number;
9298
9325
 
9326
+ url_only: boolean;
9327
+
9299
9328
  slow_spam_ban_duration?: number;
9300
9329
  }
9301
9330