@@ -76,11 +76,24 @@ decoders.ActivityPinResponse = (input?: Record<string, any>) => {
7676
7777 updated_at : { type : 'DatetimeType' , isSingle : true } ,
7878
79+ activity : { type : 'ActivityResponse' , isSingle : true } ,
80+
7981 user : { type : 'UserResponse' , isSingle : true } ,
8082 } ;
8183 return decode ( typeMappings , input ) ;
8284} ;
8385
86+ decoders . ActivityPinnedEvent = ( input ?: Record < string , any > ) => {
87+ const typeMappings : TypeMapping = {
88+ created_at : { type : 'DatetimeType' , isSingle : true } ,
89+
90+ pinned_activity : { type : 'PinActivityResponse' , isSingle : true } ,
91+
92+ received_at : { type : 'DatetimeType' , isSingle : true } ,
93+ } ;
94+ return decode ( typeMappings , input ) ;
95+ } ;
96+
8497decoders . ActivityReactionAddedEvent = ( input ?: Record < string , any > ) => {
8598 const typeMappings : TypeMapping = {
8699 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -160,6 +173,17 @@ decoders.ActivitySelectorConfig = (input?: Record<string, any>) => {
160173 return decode ( typeMappings , input ) ;
161174} ;
162175
176+ decoders . ActivityUnpinnedEvent = ( input ?: Record < string , any > ) => {
177+ const typeMappings : TypeMapping = {
178+ created_at : { type : 'DatetimeType' , isSingle : true } ,
179+
180+ pinned_activity : { type : 'PinActivityResponse' , isSingle : true } ,
181+
182+ received_at : { type : 'DatetimeType' , isSingle : true } ,
183+ } ;
184+ return decode ( typeMappings , input ) ;
185+ } ;
186+
163187decoders . ActivityUpdatedEvent = ( input ?: Record < string , any > ) => {
164188 const typeMappings : TypeMapping = {
165189 created_at : { type : 'DatetimeType' , isSingle : true } ,
@@ -265,6 +289,8 @@ decoders.BookmarkAddedEvent = (input?: Record<string, any>) => {
265289 const typeMappings : TypeMapping = {
266290 created_at : { type : 'DatetimeType' , isSingle : true } ,
267291
292+ bookmark : { type : 'BookmarkResponse' , isSingle : true } ,
293+
268294 received_at : { type : 'DatetimeType' , isSingle : true } ,
269295 } ;
270296 return decode ( typeMappings , input ) ;
@@ -296,9 +322,11 @@ decoders.BookmarkResponse = (input?: Record<string, any>) => {
296322
297323 updated_at : { type : 'DatetimeType' , isSingle : true } ,
298324
299- folder : { type : 'BookmarkFolderResponse ' , isSingle : true } ,
325+ activity : { type : 'ActivityResponse ' , isSingle : true } ,
300326
301327 user : { type : 'UserResponse' , isSingle : true } ,
328+
329+ folder : { type : 'BookmarkFolderResponse' , isSingle : true } ,
302330 } ;
303331 return decode ( typeMappings , input ) ;
304332} ;
@@ -729,6 +757,8 @@ decoders.NotificationStatusResponse = (input?: Record<string, any>) => {
729757decoders . PinActivityResponse = ( input ?: Record < string , any > ) => {
730758 const typeMappings : TypeMapping = {
731759 created_at : { type : 'DatetimeType' , isSingle : true } ,
760+
761+ activity : { type : 'ActivityResponse' , isSingle : true } ,
732762 } ;
733763 return decode ( typeMappings , input ) ;
734764} ;
@@ -801,6 +831,20 @@ decoders.QueryActivityReactionsResponse = (input?: Record<string, any>) => {
801831 return decode ( typeMappings , input ) ;
802832} ;
803833
834+ decoders . QueryBookmarkFoldersResponse = ( input ?: Record < string , any > ) => {
835+ const typeMappings : TypeMapping = {
836+ bookmark_folders : { type : 'BookmarkFolderResponse' , isSingle : false } ,
837+ } ;
838+ return decode ( typeMappings , input ) ;
839+ } ;
840+
841+ decoders . QueryBookmarksResponse = ( input ?: Record < string , any > ) => {
842+ const typeMappings : TypeMapping = {
843+ bookmarks : { type : 'BookmarkResponse' , isSingle : false } ,
844+ } ;
845+ return decode ( typeMappings , input ) ;
846+ } ;
847+
804848decoders . QueryCommentReactionsResponse = ( input ?: Record < string , any > ) => {
805849 const typeMappings : TypeMapping = {
806850 reactions : { type : 'FeedsReactionResponse' , isSingle : false } ,
@@ -815,6 +859,20 @@ decoders.QueryCommentsResponse = (input?: Record<string, any>) => {
815859 return decode ( typeMappings , input ) ;
816860} ;
817861
862+ decoders . QueryFeedMembersResponse = ( input ?: Record < string , any > ) => {
863+ const typeMappings : TypeMapping = {
864+ members : { type : 'FeedMemberResponse' , isSingle : false } ,
865+ } ;
866+ return decode ( typeMappings , input ) ;
867+ } ;
868+
869+ decoders . QueryFeedsResponse = ( input ?: Record < string , any > ) => {
870+ const typeMappings : TypeMapping = {
871+ feeds : { type : 'FeedResponse' , isSingle : false } ,
872+ } ;
873+ return decode ( typeMappings , input ) ;
874+ } ;
875+
818876decoders . QueryFollowsResponse = ( input ?: Record < string , any > ) => {
819877 const typeMappings : TypeMapping = {
820878 follows : { type : 'FollowResponse' , isSingle : false } ,
@@ -880,6 +938,13 @@ decoders.ThreadedCommentResponse = (input?: Record<string, any>) => {
880938 return decode ( typeMappings , input ) ;
881939} ;
882940
941+ decoders . UnpinActivityResponse = ( input ?: Record < string , any > ) => {
942+ const typeMappings : TypeMapping = {
943+ activity : { type : 'ActivityResponse' , isSingle : true } ,
944+ } ;
945+ return decode ( typeMappings , input ) ;
946+ } ;
947+
883948decoders . UpdateActivityPartialResponse = ( input ?: Record < string , any > ) => {
884949 const typeMappings : TypeMapping = {
885950 activity : { type : 'ActivityResponse' , isSingle : true } ,
0 commit comments