@@ -587,7 +587,7 @@ export interface ActivityResponse {
587587
588588 moderation ?: ModerationV2Response ;
589589
590- notification_context ?: Record < string , any > ;
590+ notification_context ?: NotificationContext ;
591591
592592 parent ?: ActivityResponse ;
593593
@@ -805,6 +805,8 @@ export interface AggregatedActivityResponse {
805805
806806 user_count : number ;
807807
808+ user_count_truncated : boolean ;
809+
808810 activities : ActivityResponse [ ] ;
809811}
810812
@@ -4523,6 +4525,8 @@ export interface DeleteCommentReactionResponse {
45234525export interface DeleteCommentResponse {
45244526 duration : string ;
45254527
4528+ activity : ActivityResponse ;
4529+
45264530 comment : CommentResponse ;
45274531}
45284532
@@ -5593,33 +5597,29 @@ export interface FirebaseConfigFields {
55935597export interface Flag {
55945598 created_at : Date ;
55955599
5596- entity_id : string ;
5597-
5598- entity_type : string ;
5600+ created_by_automod : boolean ;
55995601
56005602 updated_at : Date ;
56015603
5602- result : Array < Record < string , any > > ;
5603-
5604- entity_creator_id ?: string ;
5605-
5606- is_streamed_content ?: boolean ;
5607-
5608- moderation_payload_hash ?: string ;
5604+ approved_at ?: Date ;
56095605
56105606 reason ?: string ;
56115607
5612- review_queue_item_id ?: string ;
5608+ rejected_at ?: Date ;
56135609
5614- type ?: string ;
5610+ reviewed_at ?: Date ;
56155611
5616- labels ?: string [ ] ;
5612+ reviewed_by ?: string ;
5613+
5614+ target_message_id ?: string ;
56175615
56185616 custom ?: Record < string , any > ;
56195617
5620- moderation_payload ?: ModerationPayload ;
5618+ details ?: FlagDetails ;
56215619
5622- review_queue_item ?: ReviewQueueItem ;
5620+ target_message ?: Message ;
5621+
5622+ target_user ?: User ;
56235623
56245624 user ?: User ;
56255625}
@@ -7817,6 +7817,8 @@ export interface ModerationCustomActionEvent {
78177817}
78187818
78197819export interface ModerationDashboardPreferences {
7820+ disable_flagging_reviewed_entity ?: boolean ;
7821+
78207822 flag_user_on_flagged_content ?: boolean ;
78217823
78227824 media_queue_blur_enabled ?: boolean ;
@@ -8026,6 +8028,12 @@ export interface NotificationConfig {
80268028 track_seen ?: boolean ;
80278029}
80288030
8031+ export interface NotificationContext {
8032+ target ?: NotificationTarget ;
8033+
8034+ trigger ?: NotificationTrigger ;
8035+ }
8036+
80298037export interface NotificationFeedUpdatedEvent {
80308038 created_at : Date ;
80318039
@@ -8112,6 +8120,26 @@ export interface NotificationStatusResponse {
81128120 seen_activities ?: string [ ] ;
81138121}
81148122
8123+ export interface NotificationTarget {
8124+ id : string ;
8125+
8126+ name ?: string ;
8127+
8128+ text ?: string ;
8129+
8130+ type ?: string ;
8131+
8132+ user_id ?: string ;
8133+
8134+ attachments ?: Attachment [ ] ;
8135+ }
8136+
8137+ export interface NotificationTrigger {
8138+ text : string ;
8139+
8140+ type : string ;
8141+ }
8142+
81158143export interface NullTime { }
81168144
81178145export interface OCRRule {
0 commit comments