@@ -278,14 +278,36 @@ export interface ActivityDeletedEvent {
278278 user ?: UserResponseCommonFields ;
279279}
280280
281- export interface ActivityFeedbackRequest {
282- hide ?: boolean ;
281+ export interface ActivityFeedbackEvent {
282+ created_at : Date ;
283283
284- mute_user ?: boolean ;
284+ activity_feedback : ActivityFeedbackEventPayload ;
285285
286- reason ?: string ;
286+ custom : Record < string , any > ;
287287
288- report ?: boolean ;
288+ type : string ;
289+
290+ received_at ?: Date ;
291+
292+ user ?: UserResponseCommonFields ;
293+ }
294+
295+ export interface ActivityFeedbackEventPayload {
296+ action : string ;
297+
298+ activity_id : string ;
299+
300+ created_at : Date ;
301+
302+ updated_at : Date ;
303+
304+ value : string ;
305+
306+ user : UserResponse ;
307+ }
308+
309+ export interface ActivityFeedbackRequest {
310+ hide ?: boolean ;
289311
290312 show_less ?: boolean ;
291313
@@ -477,6 +499,8 @@ export interface ActivityRequest {
477499
478500 poll_id ?: string ;
479501
502+ restrict_replies ?: 'everyone' | 'people_i_follow' | 'nobody' ;
503+
480504 text ?: string ;
481505
482506 user_id ?: string ;
@@ -559,6 +583,8 @@ export interface ActivityResponse {
559583
560584 is_watched ?: boolean ;
561585
586+ restrict_replies ?: string ;
587+
562588 text ?: string ;
563589
564590 visibility_tag ?: string ;
@@ -587,6 +613,8 @@ export interface ActivitySelectorConfig {
587613
588614 cutoff_time ?: string ;
589615
616+ cutoff_window ?: string ;
617+
590618 min_popularity ?: number ;
591619
592620 sort ?: SortParamRequest [ ] ;
@@ -599,6 +627,8 @@ export interface ActivitySelectorConfigResponse {
599627
600628 cutoff_time ?: Date ;
601629
630+ cutoff_window ?: string ;
631+
602632 min_popularity ?: number ;
603633
604634 sort ?: SortParamRequest [ ] ;
@@ -655,6 +685,8 @@ export interface AddActivityRequest {
655685
656686 poll_id ?: string ;
657687
688+ restrict_replies ?: 'everyone' | 'people_i_follow' | 'nobody' ;
689+
658690 text ?: string ;
659691
660692 user_id ?: string ;
@@ -2428,15 +2460,15 @@ export interface CallTranscriptionStoppedEvent {
24282460}
24292461
24302462export interface CallType {
2431- app_pk : number ;
2463+ app : number ;
24322464
24332465 created_at : Date ;
24342466
2435- external_storage : string ;
2467+ id : number ;
24362468
24372469 name : string ;
24382470
2439- pk : number ;
2471+ recording_external_storage : string ;
24402472
24412473 updated_at : Date ;
24422474
@@ -5014,7 +5046,7 @@ export interface FeedGroup {
50145046
50155047 default_visibility : string ;
50165048
5017- id : string ;
5049+ group_id : string ;
50185050
50195051 updated_at : Date ;
50205052
@@ -5297,6 +5329,52 @@ export interface FeedResponse {
52975329 own_membership ?: FeedMemberResponse ;
52985330}
52995331
5332+ export interface FeedSuggestionResponse {
5333+ created_at : Date ;
5334+
5335+ description : string ;
5336+
5337+ feed : string ;
5338+
5339+ follower_count : number ;
5340+
5341+ following_count : number ;
5342+
5343+ group_id : string ;
5344+
5345+ id : string ;
5346+
5347+ member_count : number ;
5348+
5349+ name : string ;
5350+
5351+ pin_count : number ;
5352+
5353+ updated_at : Date ;
5354+
5355+ created_by : UserResponse ;
5356+
5357+ deleted_at ?: Date ;
5358+
5359+ reason ?: string ;
5360+
5361+ recommendation_score ?: number ;
5362+
5363+ visibility ?: string ;
5364+
5365+ filter_tags ?: string [ ] ;
5366+
5367+ own_capabilities ?: FeedOwnCapability [ ] ;
5368+
5369+ own_follows ?: FollowResponse [ ] ;
5370+
5371+ algorithm_scores ?: Record < string , number > ;
5372+
5373+ custom ?: Record < string , any > ;
5374+
5375+ own_membership ?: FeedMemberResponse ;
5376+ }
5377+
53005378export interface FeedUpdatedEvent {
53015379 created_at : Date ;
53025380
@@ -6030,7 +6108,9 @@ export interface GetFeedsRateLimitsResponse {
60306108export interface GetFollowSuggestionsResponse {
60316109 duration : string ;
60326110
6033- suggestions : FeedResponse [ ] ;
6111+ suggestions : FeedSuggestionResponse [ ] ;
6112+
6113+ algorithm_used ?: string ;
60346114}
60356115
60366116export interface GetImportResponse {
@@ -8878,6 +8958,8 @@ export interface PushProvider {
88788958
88798959 huawei_app_secret ?: string ;
88808960
8961+ huawei_host ?: string ;
8962+
88818963 xiaomi_app_secret ?: string ;
88828964
88838965 xiaomi_package_name ?: string ;
@@ -11988,6 +12070,8 @@ export interface UpdateActivityRequest {
1198812070
1198912071 poll_id ?: string ;
1199012072
12073+ restrict_replies ?: 'everyone' | 'people_i_follow' | 'nobody' ;
12074+
1199112075 text ?: string ;
1199212076
1199312077 user_id ?: string ;
@@ -12978,7 +13062,7 @@ export interface UpsertPushTemplateRequest {
1297813062 | 'feeds.follow.created'
1297913063 | 'feeds.notification_feed.updated' ;
1298013064
12981- push_provider_type : 'firebase' | 'apn' ;
13065+ push_provider_type : 'firebase' | 'apn' | 'huawei' | 'xiaomi' ;
1298213066
1298313067 enable_push ?: boolean ;
1298413068
@@ -13701,6 +13785,7 @@ export type WebhookEvent =
1370113785 | ( { type : 'export.users.success' } & AsyncExportUsersEvent )
1370213786 | ( { type : 'feeds.activity.added' } & ActivityAddedEvent )
1370313787 | ( { type : 'feeds.activity.deleted' } & ActivityDeletedEvent )
13788+ | ( { type : 'feeds.activity.feedback' } & ActivityFeedbackEvent )
1370413789 | ( { type : 'feeds.activity.marked' } & ActivityMarkEvent )
1370513790 | ( { type : 'feeds.activity.pinned' } & ActivityPinnedEvent )
1370613791 | ( { type : 'feeds.activity.reaction.added' } & ActivityReactionAddedEvent )
0 commit comments