@@ -61,42 +61,20 @@ decoders.ActionLogResponse = (input?: Record<string, any>) => {
6161 return decode ( typeMappings , input ) ;
6262} ;
6363
64- decoders . Activity = ( input ?: Record < string , any > ) => {
64+ decoders . ActivityAddedEvent = ( input ?: Record < string , any > ) => {
6565 const typeMappings : TypeMapping = {
6666 created_at : { type : 'DatetimeType' , isSingle : true } ,
6767
68- updated_at : { type : 'DatetimeType' , isSingle : true } ,
69-
70- comments : { type : 'Comment' , isSingle : false } ,
71-
72- latest_reactions : { type : 'DenormalizedFeedsReaction' , isSingle : false } ,
73-
74- mentioned_users : { type : 'User' , isSingle : false } ,
75-
76- own_bookmarks : { type : 'Bookmark' , isSingle : false } ,
77-
78- own_reactions : { type : 'DenormalizedFeedsReaction' , isSingle : false } ,
79-
80- reaction_groups : { type : 'FeedsReactionGroup' , isSingle : false } ,
81-
82- deleted_at : { type : 'DatetimeType' , isSingle : true } ,
83-
84- edited_at : { type : 'DatetimeType' , isSingle : true } ,
85-
86- expires_at : { type : 'DatetimeType' , isSingle : true } ,
87-
88- current_feed : { type : 'Feed' , isSingle : true } ,
89-
90- parent : { type : 'Activity' , isSingle : true } ,
68+ activity : { type : 'ActivityResponse' , isSingle : true } ,
9169
92- poll : { type : 'Poll ' , isSingle : true } ,
70+ received_at : { type : 'DatetimeType ' , isSingle : true } ,
9371
94- user : { type : 'User ' , isSingle : true } ,
72+ user : { type : 'UserResponseCommonFields ' , isSingle : true } ,
9573 } ;
9674 return decode ( typeMappings , input ) ;
9775} ;
9876
99- decoders . ActivityAddedEvent = ( input ?: Record < string , any > ) => {
77+ decoders . ActivityDeletedEvent = ( input ?: Record < string , any > ) => {
10078 const typeMappings : TypeMapping = {
10179 created_at : { type : 'DatetimeType' , isSingle : true } ,
10280
@@ -109,12 +87,10 @@ decoders.ActivityAddedEvent = (input?: Record<string, any>) => {
10987 return decode ( typeMappings , input ) ;
11088} ;
11189
112- decoders . ActivityDeletedEvent = ( input ?: Record < string , any > ) => {
90+ decoders . ActivityFeedbackEvent = ( input ?: Record < string , any > ) => {
11391 const typeMappings : TypeMapping = {
11492 created_at : { type : 'DatetimeType' , isSingle : true } ,
11593
116- activity : { type : 'ActivityResponse' , isSingle : true } ,
117-
11894 received_at : { type : 'DatetimeType' , isSingle : true } ,
11995
12096 user : { type : 'UserResponseCommonFields' , isSingle : true } ,
@@ -259,13 +235,6 @@ decoders.ActivityResponse = (input?: Record<string, any>) => {
259235 return decode ( typeMappings , input ) ;
260236} ;
261237
262- decoders . ActivitySelectorConfig = ( input ?: Record < string , any > ) => {
263- const typeMappings : TypeMapping = {
264- cutoff_time : { type : 'DatetimeType' , isSingle : true } ,
265- } ;
266- return decode ( typeMappings , input ) ;
267- } ;
268-
269238decoders . ActivitySelectorConfigResponse = ( input ?: Record < string , any > ) => {
270239 const typeMappings : TypeMapping = {
271240 cutoff_time : { type : 'DatetimeType' , isSingle : true } ,
@@ -518,21 +487,6 @@ decoders.BlockedUserResponse = (input?: Record<string, any>) => {
518487 return decode ( typeMappings , input ) ;
519488} ;
520489
521- decoders . Bookmark = ( input ?: Record < string , any > ) => {
522- const typeMappings : TypeMapping = {
523- created_at : { type : 'DatetimeType' , isSingle : true } ,
524-
525- updated_at : { type : 'DatetimeType' , isSingle : true } ,
526-
527- activity : { type : 'Activity' , isSingle : true } ,
528-
529- folder : { type : 'BookmarkFolder' , isSingle : true } ,
530-
531- user : { type : 'User' , isSingle : true } ,
532- } ;
533- return decode ( typeMappings , input ) ;
534- } ;
535-
536490decoders . BookmarkAddedEvent = ( input ?: Record < string , any > ) => {
537491 const typeMappings : TypeMapping = {
538492 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -559,15 +513,6 @@ decoders.BookmarkDeletedEvent = (input?: Record<string, any>) => {
559513 return decode ( typeMappings , input ) ;
560514} ;
561515
562- decoders . BookmarkFolder = ( input ?: Record < string , any > ) => {
563- const typeMappings : TypeMapping = {
564- created_at : { type : 'DatetimeType' , isSingle : true } ,
565-
566- updated_at : { type : 'DatetimeType' , isSingle : true } ,
567- } ;
568- return decode ( typeMappings , input ) ;
569- } ;
570-
571516decoders . BookmarkFolderDeletedEvent = ( input ?: Record < string , any > ) => {
572517 const typeMappings : TypeMapping = {
573518 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -1553,31 +1498,6 @@ decoders.Command = (input?: Record<string, any>) => {
15531498 return decode ( typeMappings , input ) ;
15541499} ;
15551500
1556- decoders . Comment = ( input ?: Record < string , any > ) => {
1557- const typeMappings : TypeMapping = {
1558- created_at : { type : 'DatetimeType' , isSingle : true } ,
1559-
1560- updated_at : { type : 'DatetimeType' , isSingle : true } ,
1561-
1562- latest_reactions : { type : 'DenormalizedFeedsReaction' , isSingle : false } ,
1563-
1564- mentioned_users : { type : 'User' , isSingle : false } ,
1565-
1566- own_reactions : { type : 'DenormalizedFeedsReaction' , isSingle : false } ,
1567-
1568- reaction_groups : { type : 'FeedsReactionGroup' , isSingle : false } ,
1569-
1570- deleted_at : { type : 'DatetimeType' , isSingle : true } ,
1571-
1572- activity : { type : 'Activity' , isSingle : true } ,
1573-
1574- parent : { type : 'Comment' , isSingle : true } ,
1575-
1576- user : { type : 'User' , isSingle : true } ,
1577- } ;
1578- return decode ( typeMappings , input ) ;
1579- } ;
1580-
15811501decoders . CommentAddedEvent = ( input ?: Record < string , any > ) => {
15821502 const typeMappings : TypeMapping = {
15831503 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -1871,15 +1791,6 @@ decoders.DeleteReactionResponse = (input?: Record<string, any>) => {
18711791 return decode ( typeMappings , input ) ;
18721792} ;
18731793
1874- decoders . DenormalizedFeedsReaction = ( input ?: Record < string , any > ) => {
1875- const typeMappings : TypeMapping = {
1876- created_at : { type : 'DatetimeType' , isSingle : true } ,
1877-
1878- updated_at : { type : 'DatetimeType' , isSingle : true } ,
1879- } ;
1880- return decode ( typeMappings , input ) ;
1881- } ;
1882-
18831794decoders . Device = ( input ?: Record < string , any > ) => {
18841795 const typeMappings : TypeMapping = {
18851796 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -1976,27 +1887,6 @@ decoders.ExportUserResponse = (input?: Record<string, any>) => {
19761887 return decode ( typeMappings , input ) ;
19771888} ;
19781889
1979- decoders . Feed = ( input ?: Record < string , any > ) => {
1980- const typeMappings : TypeMapping = {
1981- created_at : { type : 'DatetimeType' , isSingle : true } ,
1982-
1983- updated_at : { type : 'DatetimeType' , isSingle : true } ,
1984-
1985- deleted_at : { type : 'DatetimeType' , isSingle : true } ,
1986-
1987- last_activity_added_at : { type : 'DatetimeType' , isSingle : true } ,
1988-
1989- last_read_at : { type : 'DatetimeType' , isSingle : true } ,
1990-
1991- last_watched_at : { type : 'DatetimeType' , isSingle : true } ,
1992-
1993- created_by : { type : 'User' , isSingle : true } ,
1994-
1995- group : { type : 'FeedGroup' , isSingle : true } ,
1996- } ;
1997- return decode ( typeMappings , input ) ;
1998- } ;
1999-
20001890decoders . FeedCreatedEvent = ( input ?: Record < string , any > ) => {
20011891 const typeMappings : TypeMapping = {
20021892 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -2023,29 +1913,12 @@ decoders.FeedDeletedEvent = (input?: Record<string, any>) => {
20231913 return decode ( typeMappings , input ) ;
20241914} ;
20251915
2026- decoders . FeedGroup = ( input ?: Record < string , any > ) => {
2027- const typeMappings : TypeMapping = {
2028- created_at : { type : 'DatetimeType' , isSingle : true } ,
2029-
2030- updated_at : { type : 'DatetimeType' , isSingle : true } ,
2031-
2032- activity_selectors : { type : 'ActivitySelectorConfig' , isSingle : false } ,
2033-
2034- deleted_at : { type : 'DatetimeType' , isSingle : true } ,
2035-
2036- last_feed_get_at : { type : 'DatetimeType' , isSingle : true } ,
2037- } ;
2038- return decode ( typeMappings , input ) ;
2039- } ;
2040-
20411916decoders . FeedGroupChangedEvent = ( input ?: Record < string , any > ) => {
20421917 const typeMappings : TypeMapping = {
20431918 created_at : { type : 'DatetimeType' , isSingle : true } ,
20441919
20451920 received_at : { type : 'DatetimeType' , isSingle : true } ,
20461921
2047- feed_group : { type : 'FeedGroup' , isSingle : true } ,
2048-
20491922 user : { type : 'UserResponseCommonFields' , isSingle : true } ,
20501923 } ;
20511924 return decode ( typeMappings , input ) ;
@@ -2189,15 +2062,6 @@ decoders.FeedViewResponse = (input?: Record<string, any>) => {
21892062 return decode ( typeMappings , input ) ;
21902063} ;
21912064
2192- decoders . FeedsReactionGroup = ( input ?: Record < string , any > ) => {
2193- const typeMappings : TypeMapping = {
2194- first_reaction_at : { type : 'DatetimeType' , isSingle : true } ,
2195-
2196- last_reaction_at : { type : 'DatetimeType' , isSingle : true } ,
2197- } ;
2198- return decode ( typeMappings , input ) ;
2199- } ;
2200-
22012065decoders . FeedsReactionResponse = ( input ?: Record < string , any > ) => {
22022066 const typeMappings : TypeMapping = {
22032067 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -3906,9 +3770,9 @@ decoders.ReviewQueueItemResponse = (input?: Record<string, any>) => {
39063770
39073771 feeds_v2_reaction : { type : 'Reaction' , isSingle : true } ,
39083772
3909- feeds_v3_activity : { type : 'Activity ' , isSingle : true } ,
3773+ feeds_v3_activity : { type : 'ActivityResponse ' , isSingle : true } ,
39103774
3911- feeds_v3_comment : { type : 'Comment ' , isSingle : true } ,
3775+ feeds_v3_comment : { type : 'CommentResponse ' , isSingle : true } ,
39123776
39133777 message : { type : 'MessageResponse' , isSingle : true } ,
39143778
0 commit comments