@@ -199,6 +199,12 @@ export interface Accounts$SelectStatusesResource {
199199 ) : Paginator < Status [ ] , ListAccountStatusesParams > ;
200200}
201201
202+ export interface Accounts$SelectEndorsementsResource {
203+ list (
204+ params ?: DefaultPaginationParams ,
205+ ) : Paginator < Account [ ] , DefaultPaginationParams > ;
206+ }
207+
202208export interface Accounts$SelectResource {
203209 featuredTags : Accounts$SelectFeaturedTagsResource ;
204210 note : Accounts$SelectNoteResource ;
@@ -207,6 +213,7 @@ export interface Accounts$SelectResource {
207213 followers : Accounts$SelectFollowersResource ;
208214 following : Accounts$SelectFollowingResource ;
209215 statuses : Accounts$SelectStatusesResource ;
216+ endorsements : Accounts$SelectEndorsementsResource ;
210217
211218 /**
212219 * View information about a profile.
@@ -288,6 +295,22 @@ export interface Accounts$SelectResource {
288295 * @returns N/A
289296 */
290297 removeFromFollowers ( meta ?: HttpMetaParams ) : Promise < void > ;
298+
299+ /**
300+ * Add the given account to the user’s featured profiles.
301+ * @params meta Metadata
302+ * @return Relationship
303+ * @see https://docs.joinmastodon.org/methods/accounts/#endorse
304+ */
305+ endorse ( meta ?: HttpMetaParams ) : Promise < Relationship > ;
306+
307+ /**
308+ * Remove the given account from the user’s featured profiles.
309+ * @param meta Metadata
310+ * @returns Relationship
311+ * @see https://docs.joinmastodon.org/methods/accounts/#unendorse
312+ */
313+ unendorse ( meta ?: HttpMetaParams ) : Promise < Relationship > ;
291314}
292315
293316export interface AccountsRelationshipsResource {
0 commit comments