File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,11 @@ export class FeedsApi {
233233
234234 async deleteActivity ( request : {
235235 activity_id : string ;
236+ hard_delete ?: boolean ;
236237 } ) : Promise < StreamResponse < DeleteActivityResponse > > {
238+ const queryParams = {
239+ hard_delete : request ?. hard_delete ,
240+ } ;
237241 const pathParams = {
238242 activity_id : request ?. activity_id ,
239243 } ;
@@ -244,7 +248,7 @@ export class FeedsApi {
244248 'DELETE' ,
245249 '/api/v2/feeds/activities/{activity_id}' ,
246250 pathParams ,
247- undefined ,
251+ queryParams ,
248252 ) ;
249253
250254 decoders . DeleteActivityResponse ?.( response . body ) ;
Original file line number Diff line number Diff line change @@ -5484,33 +5484,29 @@ export interface FirebaseConfigFields {
54845484export interface Flag {
54855485 created_at : Date ;
54865486
5487- entity_id : string ;
5488-
5489- entity_type : string ;
5487+ created_by_automod : boolean ;
54905488
54915489 updated_at : Date ;
54925490
5493- result : Array < Record < string , any > > ;
5494-
5495- entity_creator_id ?: string ;
5496-
5497- is_streamed_content ?: boolean ;
5498-
5499- moderation_payload_hash ?: string ;
5491+ approved_at ?: Date ;
55005492
55015493 reason ?: string ;
55025494
5503- review_queue_item_id ?: string ;
5495+ rejected_at ?: Date ;
55045496
5505- type ?: string ;
5497+ reviewed_at ?: Date ;
55065498
5507- labels ?: string [ ] ;
5499+ reviewed_by ?: string ;
5500+
5501+ target_message_id ?: string ;
55085502
55095503 custom ?: Record < string , any > ;
55105504
5511- moderation_payload ?: ModerationPayload ;
5505+ details ?: FlagDetails ;
55125506
5513- review_queue_item ?: ReviewQueueItem ;
5507+ target_message ?: Message ;
5508+
5509+ target_user ?: User ;
55145510
55155511 user ?: User ;
55165512}
You can’t perform that action at this time.
0 commit comments