lemmy-js-client 1.0.0-action-structs.1 → 1.0.0-add-liked.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/http.d.ts +78 -26
  2. package/dist/http.js +1001 -893
  3. package/dist/index.d.ts +17 -3
  4. package/dist/other_types.d.ts +14 -2
  5. package/dist/types/AdminListUsers.d.ts +7 -0
  6. package/dist/types/{BannedPersonsResponse.d.ts → AdminListUsersResponse.d.ts} +4 -6
  7. package/dist/types/Comment.d.ts +5 -0
  8. package/dist/types/CommentActions.d.ts +0 -4
  9. package/dist/types/CommentActions.js +1 -0
  10. package/dist/types/CommentReplyView.d.ts +5 -0
  11. package/dist/types/CommentSlimView.d.ts +3 -0
  12. package/dist/types/CommentView.d.ts +5 -0
  13. package/dist/types/Community.d.ts +1 -0
  14. package/dist/types/CommunityActions.d.ts +0 -8
  15. package/dist/types/CommunityIdQuery.d.ts +8 -0
  16. package/dist/types/CommunityIdQuery.js +2 -0
  17. package/dist/types/CommunityView.d.ts +2 -0
  18. package/dist/types/CreateCommunityTag.d.ts +8 -0
  19. package/dist/types/CreateCommunityTag.js +2 -0
  20. package/dist/types/CreateSite.d.ts +1 -2
  21. package/dist/types/DeleteCommunityTag.d.ts +7 -0
  22. package/dist/types/DeleteCommunityTag.js +2 -0
  23. package/dist/types/EditPost.d.ts +1 -1
  24. package/dist/types/EditSite.d.ts +4 -9
  25. package/dist/types/GetComments.d.ts +3 -3
  26. package/dist/types/GetCommentsResponse.d.ts +3 -0
  27. package/dist/types/GetCommentsSlimResponse.d.ts +3 -0
  28. package/dist/types/GetModlog.d.ts +1 -0
  29. package/dist/types/GetModlogResponse.d.ts +1 -0
  30. package/dist/types/GetPosts.d.ts +3 -11
  31. package/dist/types/GetPostsResponse.d.ts +3 -2
  32. package/dist/types/GetSiteResponse.d.ts +2 -0
  33. package/dist/types/Instance.d.ts +2 -1
  34. package/dist/types/InstanceActions.d.ts +8 -4
  35. package/dist/types/InstanceActions.js +1 -0
  36. package/dist/types/LemmyErrorType.d.ts +91 -22
  37. package/dist/types/LikeType.d.ts +4 -0
  38. package/dist/types/ListCommentLikes.d.ts +3 -1
  39. package/dist/types/ListCommentLikesResponse.d.ts +6 -0
  40. package/dist/types/ListCommunities.d.ts +3 -1
  41. package/dist/types/ListCommunitiesResponse.d.ts +6 -0
  42. package/dist/types/ListCommunityPendingFollows.d.ts +3 -1
  43. package/dist/types/ListCommunityPendingFollows.js +0 -1
  44. package/dist/types/ListCommunityPendingFollowsResponse.d.ts +6 -0
  45. package/dist/types/ListCustomEmojis.d.ts +0 -3
  46. package/dist/types/ListInbox.d.ts +1 -0
  47. package/dist/types/ListInboxResponse.d.ts +1 -0
  48. package/dist/types/ListMedia.d.ts +3 -1
  49. package/dist/types/ListMedia.js +0 -1
  50. package/dist/types/ListMediaResponse.d.ts +6 -0
  51. package/dist/types/ListPersonContent.d.ts +1 -0
  52. package/dist/types/ListPersonContentResponse.d.ts +1 -0
  53. package/dist/types/{ListBannedPersons.d.ts → ListPersonHidden.d.ts} +2 -2
  54. package/dist/types/ListPersonHidden.js +2 -0
  55. package/dist/types/ListPersonHiddenResponse.d.ts +13 -0
  56. package/dist/types/ListPersonHiddenResponse.js +2 -0
  57. package/dist/types/ListPersonLiked.d.ts +13 -0
  58. package/dist/types/ListPersonLiked.js +2 -0
  59. package/dist/types/ListPersonLikedResponse.d.ts +13 -0
  60. package/dist/types/ListPersonLikedResponse.js +2 -0
  61. package/dist/types/ListPersonRead.d.ts +9 -0
  62. package/dist/types/ListPersonRead.js +2 -0
  63. package/dist/types/ListPersonReadResponse.d.ts +13 -0
  64. package/dist/types/ListPersonReadResponse.js +2 -0
  65. package/dist/types/ListPersonSaved.d.ts +1 -0
  66. package/dist/types/ListPersonSavedResponse.d.ts +1 -0
  67. package/dist/types/ListPostLikes.d.ts +3 -1
  68. package/dist/types/ListPostLikesResponse.d.ts +6 -0
  69. package/dist/types/ListRegistrationApplications.d.ts +3 -1
  70. package/dist/types/ListRegistrationApplications.js +0 -1
  71. package/dist/types/ListRegistrationApplicationsResponse.d.ts +6 -0
  72. package/dist/types/ListReports.d.ts +1 -0
  73. package/dist/types/ListReportsResponse.d.ts +1 -0
  74. package/dist/types/ListTaglines.d.ts +3 -1
  75. package/dist/types/ListTaglines.js +0 -1
  76. package/dist/types/ListTaglinesResponse.d.ts +6 -0
  77. package/dist/types/LocalImage.d.ts +7 -2
  78. package/dist/types/LocalImageView.d.ts +2 -0
  79. package/dist/types/LocalSite.d.ts +4 -9
  80. package/dist/types/LocalUser.d.ts +2 -1
  81. package/dist/types/LocalUserView.d.ts +2 -0
  82. package/dist/types/LockPost.d.ts +1 -0
  83. package/dist/types/Login.d.ts +3 -0
  84. package/dist/types/ModBan.d.ts +2 -0
  85. package/dist/types/ModChangeCommunityVisibility.d.ts +0 -1
  86. package/dist/types/ModLockPost.d.ts +1 -0
  87. package/dist/types/MyUserInfo.d.ts +1 -0
  88. package/dist/types/Person.d.ts +0 -8
  89. package/dist/types/PersonActions.d.ts +0 -3
  90. package/dist/types/PersonActions.js +1 -0
  91. package/dist/types/PersonCommentMentionView.d.ts +3 -0
  92. package/dist/types/PersonLikedCombinedView.d.ts +7 -0
  93. package/dist/types/PersonLikedCombinedView.js +2 -0
  94. package/dist/types/PersonPostMentionView.d.ts +5 -0
  95. package/dist/types/PersonView.d.ts +4 -0
  96. package/dist/types/PluginMetadata.d.ts +5 -0
  97. package/dist/types/PluginMetadata.js +3 -0
  98. package/dist/types/Post.d.ts +5 -0
  99. package/dist/types/PostActions.d.ts +0 -4
  100. package/dist/types/PostActions.js +1 -0
  101. package/dist/types/PostView.d.ts +5 -0
  102. package/dist/types/SaveUserSettings.d.ts +3 -1
  103. package/dist/types/Search.d.ts +5 -0
  104. package/dist/types/SearchResponse.d.ts +1 -0
  105. package/dist/types/Site.d.ts +2 -1
  106. package/dist/types/SiteResponse.d.ts +0 -4
  107. package/dist/types/SiteView.d.ts +2 -0
  108. package/dist/types/Tag.d.ts +8 -6
  109. package/dist/types/Tagline.d.ts +2 -1
  110. package/dist/types/Tagline.js +0 -1
  111. package/dist/types/TagsView.d.ts +5 -0
  112. package/dist/types/TagsView.js +2 -0
  113. package/dist/types/UpdateCommunityTag.d.ts +8 -0
  114. package/dist/types/UpdateCommunityTag.js +2 -0
  115. package/dist/types/VoteShow.d.ts +4 -0
  116. package/dist/types/VoteShow.js +3 -0
  117. package/package.json +8 -5
  118. package/dist/types/PostPaginationCursor.d.ts +0 -7
  119. /package/dist/types/{BannedPersonsResponse.js → AdminListUsers.js} +0 -0
  120. /package/dist/types/{ListBannedPersons.js → AdminListUsersResponse.js} +0 -0
  121. /package/dist/types/{PostPaginationCursor.js → LikeType.js} +0 -0
package/dist/http.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Controller } from "tsoa";
2
- import { DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI, GetCommunityPendingFollowsCountI, GetModlogI, GetPersonDetailsI, GetPostI, GetPostsI, GetRandomCommunityI, GetRegistrationApplicationI, GetReportCountI, GetSiteMetadataI, ListBannedPersonsI, ListCommentLikesI, ListCommunitiesI, ListCommunityPendingFollowsI, ListCustomEmojisI, ListInboxI, ListMediaI, ListPersonContentI, ListPersonSavedI, ListPostLikesI, ListRegistrationApplicationsI, ListReportsI, ListTaglinesI, ResolveObjectI, SearchI, UploadImage } from "./other_types";
1
+ import { Controller } from "@tsoa/runtime";
2
+ import { AdminListUsersI, CommunityIdQueryI, DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI, GetCommunityPendingFollowsCountI, GetModlogI, GetPersonDetailsI, GetPostI, GetPostsI, GetRandomCommunityI, GetRegistrationApplicationI, GetReportCountI, GetSiteMetadataI, ListCommentLikesI, ListCommunitiesI, ListCommunityPendingFollowsI, ListCustomEmojisI, ListInboxI, ListMediaI, ListPersonContentI, ListPersonHiddenI, ListPersonLikedI, ListPersonReadI, ListPersonSavedI, ListPostLikesI, ListRegistrationApplicationsI, ListReportsI, ListTaglinesI, ResolveObjectI, SearchI, UploadImage } from "./other_types";
3
3
  import { AddAdmin } from "./types/AddAdmin";
4
4
  import { AddAdminResponse } from "./types/AddAdminResponse";
5
5
  import { AddModToCommunity } from "./types/AddModToCommunity";
@@ -10,7 +10,6 @@ import { BanFromCommunityResponse } from "./types/BanFromCommunityResponse";
10
10
  import { MarkManyPostsAsRead } from "./types/MarkManyPostsAsRead";
11
11
  import { BanPerson } from "./types/BanPerson";
12
12
  import { BanPersonResponse } from "./types/BanPersonResponse";
13
- import { BannedPersonsResponse } from "./types/BannedPersonsResponse";
14
13
  import { BlockCommunity } from "./types/BlockCommunity";
15
14
  import { BlockCommunityResponse } from "./types/BlockCommunityResponse";
16
15
  import { BlockPerson } from "./types/BlockPerson";
@@ -18,11 +17,14 @@ import { BlockPersonResponse } from "./types/BlockPersonResponse";
18
17
  import { ChangePassword } from "./types/ChangePassword";
19
18
  import { CommentReportResponse } from "./types/CommentReportResponse";
20
19
  import { CommentResponse } from "./types/CommentResponse";
20
+ import { CommunityReportResponse } from "./types/CommunityReportResponse";
21
21
  import { CommunityResponse } from "./types/CommunityResponse";
22
22
  import { CreateComment } from "./types/CreateComment";
23
23
  import { CreateCommentLike } from "./types/CreateCommentLike";
24
24
  import { CreateCommentReport } from "./types/CreateCommentReport";
25
25
  import { CreateCommunity } from "./types/CreateCommunity";
26
+ import { CreateCommunityReport } from "./types/CreateCommunityReport";
27
+ import { CreateCommunityTag } from "./types/CreateCommunityTag";
26
28
  import { CreateCustomEmoji } from "./types/CreateCustomEmoji";
27
29
  import { CreateOAuthProvider } from "./types/CreateOAuthProvider";
28
30
  import { CreatePost } from "./types/CreatePost";
@@ -35,6 +37,7 @@ import { CustomEmojiResponse } from "./types/CustomEmojiResponse";
35
37
  import { DeleteAccount } from "./types/DeleteAccount";
36
38
  import { DeleteComment } from "./types/DeleteComment";
37
39
  import { DeleteCommunity } from "./types/DeleteCommunity";
40
+ import { DeleteCommunityTag } from "./types/DeleteCommunityTag";
38
41
  import { DeleteCustomEmoji } from "./types/DeleteCustomEmoji";
39
42
  import { DeleteOAuthProvider } from "./types/DeleteOAuthProvider";
40
43
  import { DeletePost } from "./types/DeletePost";
@@ -87,7 +90,7 @@ import { RemoveComment } from "./types/RemoveComment";
87
90
  import { RemoveCommunity } from "./types/RemoveCommunity";
88
91
  import { RemovePost } from "./types/RemovePost";
89
92
  import { ResolveCommentReport } from "./types/ResolveCommentReport";
90
- import { ResolveObjectResponse } from "./types/ResolveObjectResponse";
93
+ import { ResolveCommunityReport } from "./types/ResolveCommunityReport";
91
94
  import { ResolvePostReport } from "./types/ResolvePostReport";
92
95
  import { ResolvePrivateMessageReport } from "./types/ResolvePrivateMessageReport";
93
96
  import { SaveComment } from "./types/SaveComment";
@@ -96,13 +99,13 @@ import { SaveUserSettings } from "./types/SaveUserSettings";
96
99
  import { SearchResponse } from "./types/SearchResponse";
97
100
  import { SiteResponse } from "./types/SiteResponse";
98
101
  import { TransferCommunity } from "./types/TransferCommunity";
102
+ import { UpdateCommunityTag } from "./types/UpdateCommunityTag";
99
103
  import { VerifyEmail } from "./types/VerifyEmail";
100
104
  import { HideCommunity } from "./types/HideCommunity";
101
105
  import { GenerateTotpSecretResponse } from "./types/GenerateTotpSecretResponse";
102
106
  import { UpdateTotp } from "./types/UpdateTotp";
103
107
  import { UpdateTotpResponse } from "./types/UpdateTotpResponse";
104
108
  import { SuccessResponse } from "./types/SuccessResponse";
105
- import { LoginToken } from "./types/LoginToken";
106
109
  import { ListPostLikesResponse } from "./types/ListPostLikesResponse";
107
110
  import { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
108
111
  import { HidePost } from "./types/HidePost";
@@ -129,7 +132,14 @@ import { ListInboxResponse } from "./types/ListInboxResponse";
129
132
  import { MarkPersonCommentMentionAsRead } from "./types/MarkPersonCommentMentionAsRead";
130
133
  import { MarkPersonPostMentionAsRead } from "./types/MarkPersonPostMentionAsRead";
131
134
  import { GetCommentsSlimResponse } from "./types/GetCommentsSlimResponse";
135
+ import { Tag } from "./types/Tag";
132
136
  import { ResendVerificationEmail } from "./types/ResendVerificationEmail";
137
+ import { ListPersonReadResponse } from "./types/ListPersonReadResponse";
138
+ import { ListPersonHiddenResponse } from "./types/ListPersonHiddenResponse";
139
+ import { CommunityIdQuery } from "./types/CommunityIdQuery";
140
+ import { AdminListUsersResponse } from "./types/AdminListUsersResponse";
141
+ import { ListLoginsResponse } from "./types/ListLoginsResponse";
142
+ import { ListPersonLikedResponse } from "./types/ListPersonLikedResponse";
133
143
  type RequestOptions = Pick<RequestInit, "signal">;
134
144
  /**
135
145
  * Helps build lemmy HTTP requests.
@@ -188,19 +198,27 @@ export declare class LemmyHttp extends Controller {
188
198
  /**
189
199
  * @summary List login tokens for your user
190
200
  */
191
- listLogins(options?: RequestOptions): Promise<LoginToken[]>;
201
+ listLogins(options?: RequestOptions): Promise<ListLoginsResponse>;
192
202
  /**
193
203
  * @summary Returns an error message if your auth token is invalid
194
204
  */
195
205
  validateAuth(options?: RequestOptions): Promise<SuccessResponse>;
196
206
  /**
197
- * @summary List all the media for your user
207
+ * @summary List all the media for your account.
198
208
  */
199
209
  listMedia(form?: ListMediaI, options?: RequestOptions): Promise<ListMediaResponse>;
210
+ /**
211
+ * @summary Delete media for your account.
212
+ */
213
+ deleteMedia(form: DeleteImageParamsI, options?: RequestOptions): Promise<SuccessResponse>;
214
+ /**
215
+ * @summary Delete any media. (Admin only)
216
+ */
217
+ deleteMediaAdmin(form: DeleteImageParamsI, options?: RequestOptions): Promise<SuccessResponse>;
200
218
  /**
201
219
  * @summary List all the media known to your instance.
202
220
  */
203
- listAllMedia(form?: ListMediaI, options?: RequestOptions): Promise<ListMediaResponse>;
221
+ listMediaAdmin(form?: ListMediaI, options?: RequestOptions): Promise<ListMediaResponse>;
204
222
  /**
205
223
  * @summary Enable / Disable TOTP / two-factor authentication.
206
224
  *
@@ -214,13 +232,13 @@ export declare class LemmyHttp extends Controller {
214
232
  */
215
233
  getModlog(form?: GetModlogI, options?: RequestOptions): Promise<GetModlogResponse>;
216
234
  /**
217
- * @summary Search lemmy.
235
+ * @summary Search lemmy. If `search_term` is a url it also attempts to fetch it, just like `resolve_object`.
218
236
  */
219
237
  search(form: SearchI, options?: RequestOptions): Promise<SearchResponse>;
220
238
  /**
221
239
  * @summary Fetch a non-local / federated object.
222
240
  */
223
- resolveObject(form: ResolveObjectI, options?: RequestOptions): Promise<ResolveObjectResponse>;
241
+ resolveObject(form: ResolveObjectI, options?: RequestOptions): Promise<SearchResponse>;
224
242
  /**
225
243
  * @summary Create a new community.
226
244
  */
@@ -285,6 +303,14 @@ export declare class LemmyHttp extends Controller {
285
303
  * @summary Get a random community.
286
304
  */
287
305
  getRandomCommunity(form: GetRandomCommunityI, options?: RequestOptions): Promise<CommunityResponse>;
306
+ /**
307
+ * @summary Create a report for a community.
308
+ */
309
+ createCommunityReport(form: CreateCommunityReport, options?: RequestOptions): Promise<CommunityReportResponse>;
310
+ /**
311
+ * @summary Resolve a report for a private message.
312
+ */
313
+ resolveCommunityReport(form: ResolveCommunityReport, options?: RequestOptions): Promise<CommunityReportResponse>;
288
314
  /**
289
315
  * @summary Create a post.
290
316
  */
@@ -308,7 +334,7 @@ export declare class LemmyHttp extends Controller {
308
334
  /**
309
335
  * @summary Mark a post as read.
310
336
  */
311
- markPostAsRead(form: MarkPostAsRead, options?: RequestOptions): Promise<SuccessResponse>;
337
+ markPostAsRead(form: MarkPostAsRead, options?: RequestOptions): Promise<PostResponse>;
312
338
  /**
313
339
  * @summary Mark multiple posts as read.
314
340
  */
@@ -424,7 +450,7 @@ export declare class LemmyHttp extends Controller {
424
450
  /**
425
451
  * @summary Mark a private message as read.
426
452
  */
427
- markPrivateMessageAsRead(form: MarkPrivateMessageAsRead, options?: RequestOptions): Promise<PrivateMessageResponse>;
453
+ markPrivateMessageAsRead(form: MarkPrivateMessageAsRead, options?: RequestOptions): Promise<SuccessResponse>;
428
454
  /**
429
455
  * @summary Create a report for a private message.
430
456
  */
@@ -466,9 +492,9 @@ export declare class LemmyHttp extends Controller {
466
492
  */
467
493
  banPerson(form: BanPerson, options?: RequestOptions): Promise<BanPersonResponse>;
468
494
  /**
469
- * @summary Get a list of banned users.
495
+ * @summary Get a list of users.
470
496
  */
471
- listBannedPersons(form?: ListBannedPersonsI, options?: RequestOptions): Promise<BannedPersonsResponse>;
497
+ listUsers(form?: AdminListUsersI, options?: RequestOptions): Promise<AdminListUsersResponse>;
472
498
  /**
473
499
  * @summary Block a person.
474
500
  */
@@ -525,6 +551,18 @@ export declare class LemmyHttp extends Controller {
525
551
  * @summary List your saved content.
526
552
  */
527
553
  listPersonSaved(form: ListPersonSavedI, options?: RequestOptions): Promise<ListPersonSavedResponse>;
554
+ /**
555
+ * @summary List your read content.
556
+ */
557
+ listPersonRead(form: ListPersonReadI, options?: RequestOptions): Promise<ListPersonReadResponse>;
558
+ /**
559
+ * @summary List your hidden content.
560
+ */
561
+ listPersonHidden(form: ListPersonHiddenI, options?: RequestOptions): Promise<ListPersonHiddenResponse>;
562
+ /**
563
+ * @summary List your liked content.
564
+ */
565
+ listPersonLiked(form: ListPersonLikedI, options?: RequestOptions): Promise<ListPersonLikedResponse>;
528
566
  /**
529
567
  * @summary Add an admin to your site.
530
568
  */
@@ -593,6 +631,18 @@ export declare class LemmyHttp extends Controller {
593
631
  * @summary List taglines.
594
632
  */
595
633
  listTaglines(form: ListTaglinesI, options?: RequestOptions): Promise<ListTaglinesResponse>;
634
+ /**
635
+ * @summary Create a community post tag.
636
+ */
637
+ createCommunityTag(form: CreateCommunityTag, options?: RequestOptions): Promise<Tag>;
638
+ /**
639
+ * @summary Update a community post tag.
640
+ */
641
+ updateCommunityTag(form: UpdateCommunityTag, options?: RequestOptions): Promise<Tag>;
642
+ /**
643
+ * @summary Delete a post tag in a community.
644
+ */
645
+ deleteCommunityTag(form: DeleteCommunityTag, options?: RequestOptions): Promise<Tag>;
596
646
  /**
597
647
  * @summary Create a new oauth provider method
598
648
  */
@@ -632,7 +682,7 @@ export declare class LemmyHttp extends Controller {
632
682
  /**
633
683
  * @summary Upload new user avatar.
634
684
  */
635
- uploadUserAvatar(image: UploadImage, options?: RequestOptions): Promise<SuccessResponse>;
685
+ uploadUserAvatar(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
636
686
  /**
637
687
  * @summary Delete the user avatar.
638
688
  */
@@ -640,7 +690,7 @@ export declare class LemmyHttp extends Controller {
640
690
  /**
641
691
  * @summary Upload new user banner.
642
692
  */
643
- uploadUserBanner(image: UploadImage, options?: RequestOptions): Promise<SuccessResponse>;
693
+ uploadUserBanner(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
644
694
  /**
645
695
  * @summary Delete the user banner.
646
696
  */
@@ -648,23 +698,23 @@ export declare class LemmyHttp extends Controller {
648
698
  /**
649
699
  * @summary Upload new community icon.
650
700
  */
651
- uploadCommunityIcon(image: UploadImage, options?: RequestOptions): Promise<SuccessResponse>;
701
+ uploadCommunityIcon(query: CommunityIdQueryI, image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
652
702
  /**
653
703
  * @summary Delete the community icon.
654
704
  */
655
- deleteCommunityIcon(options?: RequestOptions): Promise<SuccessResponse>;
705
+ deleteCommunityIcon(form: CommunityIdQuery, options?: RequestOptions): Promise<SuccessResponse>;
656
706
  /**
657
707
  * @summary Upload new community banner.
658
708
  */
659
- uploadCommunityBanner(image: UploadImage, options?: RequestOptions): Promise<SuccessResponse>;
709
+ uploadCommunityBanner(query: CommunityIdQueryI, image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
660
710
  /**
661
711
  * @summary Delete the community banner.
662
712
  */
663
- deleteCommunityBanner(options?: RequestOptions): Promise<SuccessResponse>;
713
+ deleteCommunityBanner(form: CommunityIdQuery, options?: RequestOptions): Promise<SuccessResponse>;
664
714
  /**
665
715
  * @summary Upload new site icon.
666
716
  */
667
- uploadSiteIcon(image: UploadImage, options?: RequestOptions): Promise<SuccessResponse>;
717
+ uploadSiteIcon(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
668
718
  /**
669
719
  * @summary Delete the site icon.
670
720
  */
@@ -672,7 +722,7 @@ export declare class LemmyHttp extends Controller {
672
722
  /**
673
723
  * @summary Upload new site banner.
674
724
  */
675
- uploadSiteBanner(image: UploadImage, options?: RequestOptions): Promise<SuccessResponse>;
725
+ uploadSiteBanner(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
676
726
  /**
677
727
  * @summary Delete the site banner.
678
728
  */
@@ -681,14 +731,16 @@ export declare class LemmyHttp extends Controller {
681
731
  * @summary Upload an image to the server.
682
732
  */
683
733
  uploadImage(image: UploadImage, options?: RequestOptions): Promise<UploadImageResponse>;
684
- /**
685
- * @summary Delete a pictrs image
686
- */
687
- deleteImage(form: DeleteImageParamsI, options?: RequestOptions): Promise<SuccessResponse>;
688
734
  /**
689
735
  * @summary Health check for image functionality
690
736
  */
691
737
  imageHealth(options?: RequestOptions): Promise<SuccessResponse>;
738
+ /**
739
+ * Mark donation dialog as shown, so it isn't displayed anymore.
740
+ *
741
+ * `HTTP.POST /user/donation_dialog_shown`
742
+ */
743
+ donation_dialog_shown(options?: RequestOptions): Promise<SuccessResponse>;
692
744
  /**
693
745
  * Set the headers (can be used to set the auth header)
694
746
  */