@devvit/protos 0.10.19-next-2024-04-23-c35a72ce6.0 → 0.10.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) hide show
  1. package/package.json +6 -5
  2. package/schema/devvit/data/api/v1alpha/delivery.proto +2 -2
  3. package/types/devvit/actor/automation/v1alpha/automation.d.ts +28 -6
  4. package/types/devvit/actor/automation/v1alpha/automation.d.ts.map +1 -1
  5. package/types/devvit/actor/automation/v1alpha/automation_builder.d.ts +142 -6
  6. package/types/devvit/actor/automation/v1alpha/automation_builder.d.ts.map +1 -1
  7. package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts +4007 -96
  8. package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts.map +1 -1
  9. package/types/devvit/actor/automation/v1alpha/step.d.ts +79 -16
  10. package/types/devvit/actor/automation/v1alpha/step.d.ts.map +1 -1
  11. package/types/devvit/actor/automation/v1alpha/trigger.d.ts.map +1 -1
  12. package/types/devvit/actor/automation/v2alpha/automation_ui_builder.d.ts +153 -6
  13. package/types/devvit/actor/automation/v2alpha/automation_ui_builder.d.ts.map +1 -1
  14. package/types/devvit/actor/bot/bot.d.ts +51 -6
  15. package/types/devvit/actor/bot/bot.d.ts.map +1 -1
  16. package/types/devvit/actor/gl/glclient.d.ts +75 -6
  17. package/types/devvit/actor/gl/glclient.d.ts.map +1 -1
  18. package/types/devvit/actor/hello/hello.d.ts +27 -6
  19. package/types/devvit/actor/hello/hello.d.ts.map +1 -1
  20. package/types/devvit/actor/permissions/permissions.d.ts.map +1 -1
  21. package/types/devvit/actor/producer/producer.d.ts +27 -6
  22. package/types/devvit/actor/producer/producer.d.ts.map +1 -1
  23. package/types/devvit/actor/reddit/context_action.d.ts +52 -6
  24. package/types/devvit/actor/reddit/context_action.d.ts.map +1 -1
  25. package/types/devvit/actor/reddit/context_type.d.ts.map +1 -1
  26. package/types/devvit/actor/reddit/post_filter.d.ts +27 -6
  27. package/types/devvit/actor/reddit/post_filter.d.ts.map +1 -1
  28. package/types/devvit/actor/scheduler/action.d.ts.map +1 -1
  29. package/types/devvit/actor/scheduler/handler.d.ts +38 -6
  30. package/types/devvit/actor/scheduler/handler.d.ts.map +1 -1
  31. package/types/devvit/actor/settings/v1alpha/app_settings.d.ts +4 -4
  32. package/types/devvit/actor/settings/v1alpha/app_settings.d.ts.map +1 -1
  33. package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts +4 -4
  34. package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts.map +1 -1
  35. package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts +246 -6
  36. package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts.map +1 -1
  37. package/types/devvit/actor/settings/v1alpha/shared.d.ts.map +1 -1
  38. package/types/devvit/actor/test/streams.d.ts +87 -6
  39. package/types/devvit/actor/test/streams.d.ts.map +1 -1
  40. package/types/devvit/actor/test/wrappertypes.d.ts +260 -6
  41. package/types/devvit/actor/test/wrappertypes.d.ts.map +1 -1
  42. package/types/devvit/actor/user_configurable/user_configurable.d.ts +56 -6
  43. package/types/devvit/actor/user_configurable/user_configurable.d.ts.map +1 -1
  44. package/types/devvit/cli/playtest.d.ts.map +1 -1
  45. package/types/devvit/data/api/v1alpha/admin.d.ts +27 -6
  46. package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  47. package/types/devvit/data/api/v1alpha/filter.d.ts.map +1 -1
  48. package/types/devvit/data/api/v1alpha/intake.d.ts +27 -6
  49. package/types/devvit/data/api/v1alpha/intake.d.ts.map +1 -1
  50. package/types/devvit/data/triggers/v1alpha/triggers.d.ts.map +1 -1
  51. package/types/devvit/debug/v1alpha/debug.d.ts +27 -6
  52. package/types/devvit/debug/v1alpha/debug.d.ts.map +1 -1
  53. package/types/devvit/dev_portal/actor/actor_type.d.ts.map +1 -1
  54. package/types/devvit/dev_portal/admin/waitlist_admin.d.ts +103 -6
  55. package/types/devvit/dev_portal/admin/waitlist_admin.d.ts.map +1 -1
  56. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  57. package/types/devvit/dev_portal/app/categories/categories.d.ts.map +1 -1
  58. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  59. package/types/devvit/dev_portal/app_settings/app_settings.d.ts.map +1 -1
  60. package/types/devvit/dev_portal/app_version/app_version.d.ts.map +1 -1
  61. package/types/devvit/dev_portal/app_version/info/app_version_info.d.ts.map +1 -1
  62. package/types/devvit/dev_portal/data_api/admin/audit/audit.d.ts.map +1 -1
  63. package/types/devvit/dev_portal/data_api/admin/auth/auth.d.ts.map +1 -1
  64. package/types/devvit/dev_portal/data_api/admin/organization/organization.d.ts.map +1 -1
  65. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.d.ts.map +1 -1
  66. package/types/devvit/dev_portal/dev_portal.d.ts +4950 -41
  67. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  68. package/types/devvit/dev_portal/feedback/feedback.d.ts.map +1 -1
  69. package/types/devvit/dev_portal/installation/installation.d.ts.map +1 -1
  70. package/types/devvit/dev_portal/installation_settings/installation_settings.d.ts.map +1 -1
  71. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.d.ts.map +1 -1
  72. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -13
  73. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts.map +1 -1
  74. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.d.ts.map +1 -1
  75. package/types/devvit/dev_portal/internal/media/media.d.ts.map +1 -1
  76. package/types/devvit/dev_portal/nutrition/nutrition.d.ts.map +1 -1
  77. package/types/devvit/dev_portal/reddit/redditor.d.ts.map +1 -1
  78. package/types/devvit/dev_portal/waitlist/waitlist.d.ts +99 -6
  79. package/types/devvit/dev_portal/waitlist/waitlist.d.ts.map +1 -1
  80. package/types/devvit/events/v1alpha/events.d.ts.map +1 -1
  81. package/types/devvit/events/v1alpha/realtime.d.ts +51 -6
  82. package/types/devvit/events/v1alpha/realtime.d.ts.map +1 -1
  83. package/types/devvit/events/v1alpha/wqcleanup.d.ts.map +1 -1
  84. package/types/devvit/gateway/automod.d.ts +27 -6
  85. package/types/devvit/gateway/automod.d.ts.map +1 -1
  86. package/types/devvit/gateway/custom_post_snapshot.d.ts +33 -6
  87. package/types/devvit/gateway/custom_post_snapshot.d.ts.map +1 -1
  88. package/types/devvit/gateway/resolvers.d.ts +171 -6
  89. package/types/devvit/gateway/resolvers.d.ts.map +1 -1
  90. package/types/devvit/gateway/utils/v1alpha/utilities.d.ts +149 -11
  91. package/types/devvit/gateway/utils/v1alpha/utilities.d.ts.map +1 -1
  92. package/types/devvit/gateway/v1alpha/triggers.d.ts +7873 -6
  93. package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
  94. package/types/devvit/gql/snapshot.d.ts.map +1 -1
  95. package/types/devvit/gql/subreddit_metadata.d.ts.map +1 -1
  96. package/types/devvit/options/options.d.ts.map +1 -1
  97. package/types/devvit/plugin/assetresolver/assetresolver.d.ts +53 -6
  98. package/types/devvit/plugin/assetresolver/assetresolver.d.ts.map +1 -1
  99. package/types/devvit/plugin/automodregex/automodregex.d.ts +51 -6
  100. package/types/devvit/plugin/automodregex/automodregex.d.ts.map +1 -1
  101. package/types/devvit/plugin/builder/builder.d.ts +121 -6
  102. package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
  103. package/types/devvit/plugin/buildpack/buildpack.d.ts +442 -6
  104. package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
  105. package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
  106. package/types/devvit/plugin/buildpack/filesystem.d.ts.map +1 -1
  107. package/types/devvit/plugin/clock/clock.d.ts +34 -6
  108. package/types/devvit/plugin/clock/clock.d.ts.map +1 -1
  109. package/types/devvit/plugin/devserver/devserver.d.ts +233 -11
  110. package/types/devvit/plugin/devserver/devserver.d.ts.map +1 -1
  111. package/types/devvit/plugin/devserver/testcases.d.ts.map +1 -1
  112. package/types/devvit/plugin/gl/glrenderer.d.ts +27 -6
  113. package/types/devvit/plugin/gl/glrenderer.d.ts.map +1 -1
  114. package/types/devvit/plugin/gl/methods.d.ts.map +1 -1
  115. package/types/devvit/plugin/gl/methodtype.d.ts.map +1 -1
  116. package/types/devvit/plugin/http/http.d.ts +27 -6
  117. package/types/devvit/plugin/http/http.d.ts.map +1 -1
  118. package/types/devvit/plugin/inspector/inspector.d.ts +51 -6
  119. package/types/devvit/plugin/inspector/inspector.d.ts.map +1 -1
  120. package/types/devvit/plugin/kvstore/kvstore.d.ts +99 -6
  121. package/types/devvit/plugin/kvstore/kvstore.d.ts.map +1 -1
  122. package/types/devvit/plugin/linker/linker.d.ts +143 -6
  123. package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
  124. package/types/devvit/plugin/linker/resolver.d.ts +238 -6
  125. package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
  126. package/types/devvit/plugin/logger/logger.d.ts +104 -6
  127. package/types/devvit/plugin/logger/logger.d.ts.map +1 -1
  128. package/types/devvit/plugin/media/media.d.ts +27 -6
  129. package/types/devvit/plugin/media/media.d.ts.map +1 -1
  130. package/types/devvit/plugin/modlog/modlog.d.ts +27 -6
  131. package/types/devvit/plugin/modlog/modlog.d.ts.map +1 -1
  132. package/types/devvit/plugin/redditapi/common/common_msg.d.ts.map +1 -1
  133. package/types/devvit/plugin/redditapi/flair/flair_msg.d.ts.map +1 -1
  134. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts +732 -6
  135. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts.map +1 -1
  136. package/types/devvit/plugin/redditapi/graphql/graphql_msg.d.ts.map +1 -1
  137. package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts +97 -6
  138. package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts.map +1 -1
  139. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts.map +1 -1
  140. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +2305 -6
  141. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
  142. package/types/devvit/plugin/redditapi/listings/listings_msg.d.ts.map +1 -1
  143. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +3016 -6
  144. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
  145. package/types/devvit/plugin/redditapi/moderation/moderation_msg.d.ts.map +1 -1
  146. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +3162 -6
  147. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
  148. package/types/devvit/plugin/redditapi/modnote/modnote_msg.d.ts.map +1 -1
  149. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts +336 -6
  150. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts.map +1 -1
  151. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.d.ts.map +1 -1
  152. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +4816 -6
  153. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts.map +1 -1
  154. package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.d.ts.map +1 -1
  155. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts +427 -6
  156. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts.map +1 -1
  157. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.d.ts.map +1 -1
  158. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +653 -6
  159. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
  160. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.d.ts.map +1 -1
  161. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +3830 -6
  162. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts.map +1 -1
  163. package/types/devvit/plugin/redditapi/users/users_msg.d.ts.map +1 -1
  164. package/types/devvit/plugin/redditapi/users/users_svc.d.ts +1399 -6
  165. package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
  166. package/types/devvit/plugin/redditapi/widgets/widgets_msg.d.ts.map +1 -1
  167. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts +1681 -6
  168. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts.map +1 -1
  169. package/types/devvit/plugin/redditapi/wiki/wiki_msg.d.ts.map +1 -1
  170. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts +3023 -6
  171. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts.map +1 -1
  172. package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts +100 -6
  173. package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts.map +1 -1
  174. package/types/devvit/plugin/redis/redisapi.d.ts +967 -6
  175. package/types/devvit/plugin/redis/redisapi.d.ts.map +1 -1
  176. package/types/devvit/plugin/scheduler/scheduler.d.ts +78 -6
  177. package/types/devvit/plugin/scheduler/scheduler.d.ts.map +1 -1
  178. package/types/devvit/plugin/settings/v1alpha/settings.d.ts +28 -6
  179. package/types/devvit/plugin/settings/v1alpha/settings.d.ts.map +1 -1
  180. package/types/devvit/plugin/streambroker/streambroker.d.ts +51 -6
  181. package/types/devvit/plugin/streambroker/streambroker.d.ts.map +1 -1
  182. package/types/devvit/plugin/timer/timer.d.ts +27 -6
  183. package/types/devvit/plugin/timer/timer.d.ts.map +1 -1
  184. package/types/devvit/plugin/v2events/v2events.d.ts +27 -6
  185. package/types/devvit/plugin/v2events/v2events.d.ts.map +1 -1
  186. package/types/devvit/reddit/comment.d.ts.map +1 -1
  187. package/types/devvit/reddit/common.d.ts.map +1 -1
  188. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts +51 -6
  189. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts.map +1 -1
  190. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +1801 -6
  191. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  192. package/types/devvit/reddit/post.d.ts.map +1 -1
  193. package/types/devvit/reddit/post_guidance/v1alpha/post_guidance.d.ts +27 -6
  194. package/types/devvit/reddit/post_guidance/v1alpha/post_guidance.d.ts.map +1 -1
  195. package/types/devvit/reddit/subreddit.d.ts.map +1 -1
  196. package/types/devvit/reddit/thing_type.d.ts.map +1 -1
  197. package/types/devvit/reddit/user.d.ts.map +1 -1
  198. package/types/devvit/reddit/v2alpha/commentv2.d.ts.map +1 -1
  199. package/types/devvit/reddit/v2alpha/flair.d.ts.map +1 -1
  200. package/types/devvit/reddit/v2alpha/modaction.d.ts.map +1 -1
  201. package/types/devvit/reddit/v2alpha/modmail.d.ts.map +1 -1
  202. package/types/devvit/reddit/v2alpha/postv2.d.ts.map +1 -1
  203. package/types/devvit/reddit/v2alpha/subredditv2.d.ts.map +1 -1
  204. package/types/devvit/reddit/v2alpha/userv2.d.ts.map +1 -1
  205. package/types/devvit/remote_logger/remote_logger.d.ts +77 -11
  206. package/types/devvit/remote_logger/remote_logger.d.ts.map +1 -1
  207. package/types/devvit/runtime/actor/bootstrap.d.ts +117 -6
  208. package/types/devvit/runtime/actor/bootstrap.d.ts.map +1 -1
  209. package/types/devvit/runtime/actor/echo.d.ts +36 -6
  210. package/types/devvit/runtime/actor/echo.d.ts.map +1 -1
  211. package/types/devvit/runtime/actor/runtime.d.ts +115 -6
  212. package/types/devvit/runtime/actor/runtime.d.ts.map +1 -1
  213. package/types/devvit/runtime/actor/supervisor.d.ts +212 -6
  214. package/types/devvit/runtime/actor/supervisor.d.ts.map +1 -1
  215. package/types/devvit/runtime/actor/v1alpha/health.d.ts +27 -6
  216. package/types/devvit/runtime/actor/v1alpha/health.d.ts.map +1 -1
  217. package/types/devvit/runtime/bundle.d.ts.map +1 -1
  218. package/types/devvit/runtime/envelope.d.ts.map +1 -1
  219. package/types/devvit/runtime/runtime_common.d.ts.map +1 -1
  220. package/types/devvit/runtime/serializable.d.ts.map +1 -1
  221. package/types/devvit/service/bundle_service.d.ts +181 -6
  222. package/types/devvit/service/bundle_service.d.ts.map +1 -1
  223. package/types/devvit/service/envelope_service.d.ts +60 -6
  224. package/types/devvit/service/envelope_service.d.ts.map +1 -1
  225. package/types/devvit/ui/block_kit/v1beta/attributes.d.ts.map +1 -1
  226. package/types/devvit/ui/block_kit/v1beta/block.d.ts.map +1 -1
  227. package/types/devvit/ui/block_kit/v1beta/enums.d.ts.map +1 -1
  228. package/types/devvit/ui/block_kit/v1beta/rendering.d.ts.map +1 -1
  229. package/types/devvit/ui/block_kit/v1beta/ui.d.ts.map +1 -1
  230. package/types/devvit/ui/common/v1alpha/common.d.ts.map +1 -1
  231. package/types/devvit/ui/effects/v1alpha/effect.d.ts.map +1 -1
  232. package/types/devvit/ui/effects/v1alpha/interval.d.ts.map +1 -1
  233. package/types/devvit/ui/effects/v1alpha/navigate_to_url.d.ts.map +1 -1
  234. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.d.ts.map +1 -1
  235. package/types/devvit/ui/effects/v1alpha/reload_part.d.ts.map +1 -1
  236. package/types/devvit/ui/effects/v1alpha/rerender_ui.d.ts.map +1 -1
  237. package/types/devvit/ui/effects/v1alpha/send_event.d.ts.map +1 -1
  238. package/types/devvit/ui/effects/v1alpha/show_form.d.ts.map +1 -1
  239. package/types/devvit/ui/effects/v1alpha/show_toast.d.ts.map +1 -1
  240. package/types/devvit/ui/events/v1alpha/event.d.ts.map +1 -1
  241. package/types/devvit/ui/events/v1alpha/handle_ui.d.ts +27 -6
  242. package/types/devvit/ui/events/v1alpha/handle_ui.d.ts.map +1 -1
  243. package/types/devvit/ui/form_builder/v1alpha/field.d.ts.map +1 -1
  244. package/types/devvit/ui/form_builder/v1alpha/form.d.ts.map +1 -1
  245. package/types/devvit/ui/form_builder/v1alpha/type.d.ts.map +1 -1
  246. package/types/devvit/ui/form_builder/v1alpha/value.d.ts.map +1 -1
  247. package/types/devvit/ui/toast/toast.d.ts.map +1 -1
  248. package/types/devvit/uuid.d.ts.map +1 -1
  249. package/types/typeRegistry.d.ts.map +1 -1
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
6
- import { Metadata, MethodDefinition } from "../../../../../lib/Types.js";
6
+ import _m0 from 'protobufjs/minimal.js';
7
+ import { Metadata } from "../../../../../lib/Types.js";
7
8
  import { Empty } from '../../../../google/protobuf/empty.js';
8
9
  import { StringValue } from '../../../../google/protobuf/wrappers.js';
9
10
  import { JsonRedditObjects, JsonStatus, Listing } from '../common/common_msg.js';
@@ -88,11 +89,3166 @@ export declare class ModerationClientImpl implements Moderation {
88
89
  /** MODERATION - https://www.reddit.com/dev/api#section_moderation */
89
90
  export type ModerationDefinition = typeof ModerationDefinition;
90
91
  export declare const ModerationDefinition: {
91
- name: 'Moderation';
92
- fullName: string;
93
- methods: {
94
- [methodName: string]: MethodDefinition & {
95
- options: {};
92
+ readonly name: "Moderation";
93
+ readonly fullName: "devvit.plugin.redditapi.moderation.Moderation";
94
+ readonly methods: {
95
+ /** https://www.reddit.com/dev/api#GET_about_log */
96
+ readonly aboutLog: {
97
+ readonly name: "AboutLog";
98
+ readonly requestType: {
99
+ $type: "devvit.plugin.redditapi.moderation.AboutLogRequest";
100
+ encode(message: AboutLogRequest, writer?: _m0.Writer): _m0.Writer;
101
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLogRequest;
102
+ fromJSON(object: any): AboutLogRequest;
103
+ toJSON(message: AboutLogRequest): unknown;
104
+ create(base?: {
105
+ after?: string | undefined;
106
+ before?: string | undefined;
107
+ count?: number | undefined;
108
+ limit?: number | undefined;
109
+ show?: string | undefined;
110
+ mod?: string | undefined;
111
+ type?: string | undefined;
112
+ subreddit?: string | undefined;
113
+ } | undefined): AboutLogRequest;
114
+ fromPartial(object: {
115
+ after?: string | undefined;
116
+ before?: string | undefined;
117
+ count?: number | undefined;
118
+ limit?: number | undefined;
119
+ show?: string | undefined;
120
+ mod?: string | undefined;
121
+ type?: string | undefined;
122
+ subreddit?: string | undefined;
123
+ }): AboutLogRequest;
124
+ };
125
+ readonly requestStream: false;
126
+ readonly responseType: {
127
+ $type: "devvit.plugin.redditapi.moderation.AboutLogResponse";
128
+ encode(message: AboutLogResponse, writer?: _m0.Writer): _m0.Writer;
129
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLogResponse;
130
+ fromJSON(object: any): AboutLogResponse;
131
+ toJSON(message: AboutLogResponse): unknown;
132
+ create(base?: {
133
+ kind?: string;
134
+ data?: {
135
+ after?: string | undefined;
136
+ before?: string | undefined;
137
+ children?: {
138
+ kind?: string;
139
+ data?: {
140
+ description?: string | undefined;
141
+ targetBody?: string | undefined;
142
+ modId36?: string | undefined;
143
+ createdUtc?: number | undefined;
144
+ subreddit?: string | undefined;
145
+ targetTitle?: string | undefined;
146
+ targetPermalink?: string | undefined;
147
+ subredditNamePrefixed?: string | undefined;
148
+ details?: string | undefined;
149
+ action?: string | undefined;
150
+ targetAuthor?: string | undefined;
151
+ targetFullname?: string | undefined;
152
+ srId36?: string | undefined;
153
+ id?: string | undefined;
154
+ mod?: string | undefined;
155
+ } | undefined;
156
+ }[];
157
+ dist?: number | undefined;
158
+ } | undefined;
159
+ } | undefined): AboutLogResponse;
160
+ fromPartial(object: {
161
+ kind?: string;
162
+ data?: {
163
+ after?: string | undefined;
164
+ before?: string | undefined;
165
+ children?: {
166
+ kind?: string;
167
+ data?: {
168
+ description?: string | undefined;
169
+ targetBody?: string | undefined;
170
+ modId36?: string | undefined;
171
+ createdUtc?: number | undefined;
172
+ subreddit?: string | undefined;
173
+ targetTitle?: string | undefined;
174
+ targetPermalink?: string | undefined;
175
+ subredditNamePrefixed?: string | undefined;
176
+ details?: string | undefined;
177
+ action?: string | undefined;
178
+ targetAuthor?: string | undefined;
179
+ targetFullname?: string | undefined;
180
+ srId36?: string | undefined;
181
+ id?: string | undefined;
182
+ mod?: string | undefined;
183
+ } | undefined;
184
+ }[];
185
+ dist?: number | undefined;
186
+ } | undefined;
187
+ }): AboutLogResponse;
188
+ };
189
+ readonly responseStream: false;
190
+ readonly options: {};
191
+ };
192
+ /** https://www.reddit.com/dev/api#GET_about_\{location\} */
193
+ readonly aboutLocation: {
194
+ readonly name: "AboutLocation";
195
+ readonly requestType: {
196
+ $type: "devvit.plugin.redditapi.moderation.AboutLocationRequest";
197
+ encode(message: AboutLocationRequest, writer?: _m0.Writer): _m0.Writer;
198
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLocationRequest;
199
+ fromJSON(object: any): AboutLocationRequest;
200
+ toJSON(message: AboutLocationRequest): unknown;
201
+ create(base?: {
202
+ after?: string | undefined;
203
+ before?: string | undefined;
204
+ count?: number | undefined;
205
+ limit?: number | undefined;
206
+ location?: string;
207
+ only?: string | undefined;
208
+ show?: string | undefined;
209
+ subreddit?: string;
210
+ } | undefined): AboutLocationRequest;
211
+ fromPartial(object: {
212
+ after?: string | undefined;
213
+ before?: string | undefined;
214
+ count?: number | undefined;
215
+ limit?: number | undefined;
216
+ location?: string;
217
+ only?: string | undefined;
218
+ show?: string | undefined;
219
+ subreddit?: string;
220
+ }): AboutLocationRequest;
221
+ };
222
+ readonly requestStream: false;
223
+ readonly responseType: {
224
+ $type: "devvit.plugin.redditapi.common.Listing";
225
+ encode(message: Listing, writer?: _m0.Writer): _m0.Writer;
226
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Listing;
227
+ fromJSON(object: any): Listing;
228
+ toJSON(message: Listing): unknown;
229
+ create(base?: {
230
+ kind?: string;
231
+ data?: {
232
+ after?: string | undefined;
233
+ before?: string | undefined;
234
+ children?: {
235
+ kind?: string;
236
+ data?: {
237
+ allAwardings?: {
238
+ typeUrl?: string;
239
+ value?: Uint8Array;
240
+ }[];
241
+ approved?: boolean | undefined;
242
+ approvedAtUtc?: number | undefined;
243
+ approvedBy?: string | undefined;
244
+ archived?: boolean | undefined;
245
+ associatedAward?: string | undefined;
246
+ author?: string | undefined;
247
+ authorFlairBackgroundColor?: string | undefined;
248
+ authorFlairCssClass?: string | undefined;
249
+ authorFlairRichtext?: {
250
+ e?: string | undefined;
251
+ t?: string | undefined;
252
+ a?: string | undefined;
253
+ u?: string | undefined;
254
+ }[];
255
+ authorFlairTemplateId?: string | undefined;
256
+ authorFlairText?: string | undefined;
257
+ authorFlairTextColor?: string | undefined;
258
+ authorFlairType?: string | undefined;
259
+ authorFullname?: string | undefined;
260
+ authorIsBlocked?: boolean | undefined;
261
+ authorPatreonFlair?: boolean | undefined;
262
+ authorPremium?: boolean | undefined;
263
+ awarders?: string[];
264
+ bannedAtUtc?: number | undefined;
265
+ bannedBy?: string | undefined;
266
+ body?: string | undefined;
267
+ bodyHtml?: string | undefined;
268
+ canGild?: boolean | undefined;
269
+ canModPost?: boolean | undefined;
270
+ collapsed?: boolean | undefined;
271
+ collapsedBecauseCrowdControl?: boolean | undefined;
272
+ collapsedReason?: string | undefined;
273
+ collapsedReasonCode?: string | undefined;
274
+ commentType?: string | undefined;
275
+ controversiality?: number | undefined;
276
+ created?: number | undefined;
277
+ createdUtc?: number | undefined;
278
+ distinguished?: string | undefined;
279
+ downs?: number | undefined;
280
+ edited?: boolean | undefined;
281
+ gilded?: number | undefined;
282
+ gildings?: {
283
+ typeUrl?: string;
284
+ value?: Uint8Array;
285
+ } | undefined;
286
+ id?: string | undefined;
287
+ ignoreReports?: boolean | undefined;
288
+ isSubmitter?: boolean | undefined;
289
+ likes?: boolean | undefined;
290
+ linkId?: string | undefined;
291
+ locked?: boolean | undefined;
292
+ modNote?: string | undefined;
293
+ modReasonBy?: string | undefined;
294
+ modReasonTitle?: string | undefined;
295
+ name?: string | undefined;
296
+ noFollow?: boolean | undefined;
297
+ numReports?: number | undefined;
298
+ parentId?: string | undefined;
299
+ permalink?: string | undefined;
300
+ removalReason?: string | undefined;
301
+ removed?: boolean | undefined;
302
+ replies?: string | undefined;
303
+ reportReasons?: any[] | undefined;
304
+ rteMode?: string | undefined;
305
+ saved?: boolean | undefined;
306
+ score?: number | undefined;
307
+ scoreHidden?: boolean | undefined;
308
+ sendReplies?: boolean | undefined;
309
+ spam?: boolean | undefined;
310
+ stickied?: boolean | undefined;
311
+ subreddit?: string | undefined;
312
+ subredditId?: string | undefined;
313
+ subredditNamePrefixed?: string | undefined;
314
+ subredditType?: string | undefined;
315
+ topAwardedType?: string | undefined;
316
+ totalAwardsReceived?: number | undefined;
317
+ treatmentTags?: {
318
+ typeUrl?: string;
319
+ value?: Uint8Array;
320
+ }[];
321
+ unrepliableReason?: string | undefined;
322
+ ups?: number | undefined;
323
+ depth?: number | undefined;
324
+ linkTitle?: string | undefined;
325
+ linkAuthor?: string | undefined;
326
+ numComments?: number | undefined;
327
+ over18?: boolean | undefined;
328
+ linkPermalink?: string | undefined;
329
+ quarantine?: boolean | undefined;
330
+ linkUrl?: string | undefined;
331
+ selftext?: string | undefined;
332
+ selftextHtml?: string | undefined;
333
+ thumbnail?: string | undefined;
334
+ thumbnailWidth?: number | undefined;
335
+ thumbnailHeight?: number | undefined;
336
+ title?: string | undefined;
337
+ url?: string | undefined;
338
+ displayName?: string | undefined;
339
+ modPermissions?: string[];
340
+ count?: number | undefined;
341
+ children?: any[] | undefined;
342
+ replyList?: any | undefined;
343
+ hidden?: boolean | undefined;
344
+ linkFlairBackgroundColor?: string | undefined;
345
+ linkFlairCssClass?: string | undefined;
346
+ linkFlairRichtext?: {
347
+ e?: string | undefined;
348
+ t?: string | undefined;
349
+ a?: string | undefined;
350
+ u?: string | undefined;
351
+ }[];
352
+ linkFlairTemplateId?: string | undefined;
353
+ linkFlairText?: string | undefined;
354
+ linkFlairTextColor?: string | undefined;
355
+ linkFlairType?: string | undefined;
356
+ secureMedia?: {
357
+ type?: string;
358
+ oembed?: {
359
+ type?: string;
360
+ title?: string | undefined;
361
+ providerName?: string | undefined;
362
+ providerUrl?: string | undefined;
363
+ version?: string;
364
+ thumbnailWidth?: number | undefined;
365
+ thumbnailHeight?: number | undefined;
366
+ thumbnailUrl?: string | undefined;
367
+ html?: string;
368
+ height?: number | undefined;
369
+ width?: number | undefined;
370
+ authorUrl?: string | undefined;
371
+ authorName?: string | undefined;
372
+ } | undefined;
373
+ redditVideo?: {
374
+ bitrateKbps?: number | undefined;
375
+ dashUrl?: string | undefined;
376
+ duration?: number | undefined;
377
+ fallbackUrl?: string | undefined;
378
+ height?: number | undefined;
379
+ hlsUrl?: string | undefined;
380
+ isGif?: boolean | undefined;
381
+ scrubberMediaUrl?: string | undefined;
382
+ transcodingStatus?: string | undefined;
383
+ width?: number | undefined;
384
+ } | undefined;
385
+ } | undefined;
386
+ spoiler?: boolean;
387
+ modReports?: any[][];
388
+ userReports?: any[][];
389
+ removedBy?: string | undefined;
390
+ removedByCategory?: string | undefined;
391
+ } | undefined;
392
+ }[];
393
+ dist?: number | undefined;
394
+ } | undefined;
395
+ } | undefined): Listing;
396
+ fromPartial(object: {
397
+ kind?: string;
398
+ data?: {
399
+ after?: string | undefined;
400
+ before?: string | undefined;
401
+ children?: {
402
+ kind?: string;
403
+ data?: {
404
+ allAwardings?: {
405
+ typeUrl?: string;
406
+ value?: Uint8Array;
407
+ }[];
408
+ approved?: boolean | undefined;
409
+ approvedAtUtc?: number | undefined;
410
+ approvedBy?: string | undefined;
411
+ archived?: boolean | undefined;
412
+ associatedAward?: string | undefined;
413
+ author?: string | undefined;
414
+ authorFlairBackgroundColor?: string | undefined;
415
+ authorFlairCssClass?: string | undefined;
416
+ authorFlairRichtext?: {
417
+ e?: string | undefined;
418
+ t?: string | undefined;
419
+ a?: string | undefined;
420
+ u?: string | undefined;
421
+ }[];
422
+ authorFlairTemplateId?: string | undefined;
423
+ authorFlairText?: string | undefined;
424
+ authorFlairTextColor?: string | undefined;
425
+ authorFlairType?: string | undefined;
426
+ authorFullname?: string | undefined;
427
+ authorIsBlocked?: boolean | undefined;
428
+ authorPatreonFlair?: boolean | undefined;
429
+ authorPremium?: boolean | undefined;
430
+ awarders?: string[];
431
+ bannedAtUtc?: number | undefined;
432
+ bannedBy?: string | undefined;
433
+ body?: string | undefined;
434
+ bodyHtml?: string | undefined;
435
+ canGild?: boolean | undefined;
436
+ canModPost?: boolean | undefined;
437
+ collapsed?: boolean | undefined;
438
+ collapsedBecauseCrowdControl?: boolean | undefined;
439
+ collapsedReason?: string | undefined;
440
+ collapsedReasonCode?: string | undefined;
441
+ commentType?: string | undefined;
442
+ controversiality?: number | undefined;
443
+ created?: number | undefined;
444
+ createdUtc?: number | undefined;
445
+ distinguished?: string | undefined;
446
+ downs?: number | undefined;
447
+ edited?: boolean | undefined;
448
+ gilded?: number | undefined;
449
+ gildings?: {
450
+ typeUrl?: string;
451
+ value?: Uint8Array;
452
+ } | undefined;
453
+ id?: string | undefined;
454
+ ignoreReports?: boolean | undefined;
455
+ isSubmitter?: boolean | undefined;
456
+ likes?: boolean | undefined;
457
+ linkId?: string | undefined;
458
+ locked?: boolean | undefined;
459
+ modNote?: string | undefined;
460
+ modReasonBy?: string | undefined;
461
+ modReasonTitle?: string | undefined;
462
+ name?: string | undefined;
463
+ noFollow?: boolean | undefined;
464
+ numReports?: number | undefined;
465
+ parentId?: string | undefined;
466
+ permalink?: string | undefined;
467
+ removalReason?: string | undefined;
468
+ removed?: boolean | undefined;
469
+ replies?: string | undefined;
470
+ reportReasons?: any[] | undefined;
471
+ rteMode?: string | undefined;
472
+ saved?: boolean | undefined;
473
+ score?: number | undefined;
474
+ scoreHidden?: boolean | undefined;
475
+ sendReplies?: boolean | undefined;
476
+ spam?: boolean | undefined;
477
+ stickied?: boolean | undefined;
478
+ subreddit?: string | undefined;
479
+ subredditId?: string | undefined;
480
+ subredditNamePrefixed?: string | undefined;
481
+ subredditType?: string | undefined;
482
+ topAwardedType?: string | undefined;
483
+ totalAwardsReceived?: number | undefined;
484
+ treatmentTags?: {
485
+ typeUrl?: string;
486
+ value?: Uint8Array;
487
+ }[];
488
+ unrepliableReason?: string | undefined;
489
+ ups?: number | undefined;
490
+ depth?: number | undefined;
491
+ linkTitle?: string | undefined;
492
+ linkAuthor?: string | undefined;
493
+ numComments?: number | undefined;
494
+ over18?: boolean | undefined;
495
+ linkPermalink?: string | undefined;
496
+ quarantine?: boolean | undefined;
497
+ linkUrl?: string | undefined;
498
+ selftext?: string | undefined;
499
+ selftextHtml?: string | undefined;
500
+ thumbnail?: string | undefined;
501
+ thumbnailWidth?: number | undefined;
502
+ thumbnailHeight?: number | undefined;
503
+ title?: string | undefined;
504
+ url?: string | undefined;
505
+ displayName?: string | undefined;
506
+ modPermissions?: string[];
507
+ count?: number | undefined;
508
+ children?: any[] | undefined;
509
+ replyList?: any | undefined;
510
+ hidden?: boolean | undefined;
511
+ linkFlairBackgroundColor?: string | undefined;
512
+ linkFlairCssClass?: string | undefined;
513
+ linkFlairRichtext?: {
514
+ e?: string | undefined;
515
+ t?: string | undefined;
516
+ a?: string | undefined;
517
+ u?: string | undefined;
518
+ }[];
519
+ linkFlairTemplateId?: string | undefined;
520
+ linkFlairText?: string | undefined;
521
+ linkFlairTextColor?: string | undefined;
522
+ linkFlairType?: string | undefined;
523
+ secureMedia?: {
524
+ type?: string;
525
+ oembed?: {
526
+ type?: string;
527
+ title?: string | undefined;
528
+ providerName?: string | undefined;
529
+ providerUrl?: string | undefined;
530
+ version?: string;
531
+ thumbnailWidth?: number | undefined;
532
+ thumbnailHeight?: number | undefined;
533
+ thumbnailUrl?: string | undefined;
534
+ html?: string;
535
+ height?: number | undefined;
536
+ width?: number | undefined;
537
+ authorUrl?: string | undefined;
538
+ authorName?: string | undefined;
539
+ } | undefined;
540
+ redditVideo?: {
541
+ bitrateKbps?: number | undefined;
542
+ dashUrl?: string | undefined;
543
+ duration?: number | undefined;
544
+ fallbackUrl?: string | undefined;
545
+ height?: number | undefined;
546
+ hlsUrl?: string | undefined;
547
+ isGif?: boolean | undefined;
548
+ scrubberMediaUrl?: string | undefined;
549
+ transcodingStatus?: string | undefined;
550
+ width?: number | undefined;
551
+ } | undefined;
552
+ } | undefined;
553
+ spoiler?: boolean;
554
+ modReports?: any[][];
555
+ userReports?: any[][];
556
+ removedBy?: string | undefined;
557
+ removedByCategory?: string | undefined;
558
+ } | undefined;
559
+ }[];
560
+ dist?: number | undefined;
561
+ } | undefined;
562
+ }): Listing;
563
+ };
564
+ readonly responseStream: false;
565
+ readonly options: {};
566
+ };
567
+ /** https://www.reddit.com/dev/api#GET_about_\reports */
568
+ readonly aboutReports: {
569
+ readonly name: "AboutReports";
570
+ readonly requestType: {
571
+ $type: "devvit.plugin.redditapi.moderation.AboutLocationRequest";
572
+ encode(message: AboutLocationRequest, writer?: _m0.Writer): _m0.Writer;
573
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLocationRequest;
574
+ fromJSON(object: any): AboutLocationRequest;
575
+ toJSON(message: AboutLocationRequest): unknown;
576
+ create(base?: {
577
+ after?: string | undefined;
578
+ before?: string | undefined;
579
+ count?: number | undefined;
580
+ limit?: number | undefined;
581
+ location?: string;
582
+ only?: string | undefined;
583
+ show?: string | undefined;
584
+ subreddit?: string;
585
+ } | undefined): AboutLocationRequest;
586
+ fromPartial(object: {
587
+ after?: string | undefined;
588
+ before?: string | undefined;
589
+ count?: number | undefined;
590
+ limit?: number | undefined;
591
+ location?: string;
592
+ only?: string | undefined;
593
+ show?: string | undefined;
594
+ subreddit?: string;
595
+ }): AboutLocationRequest;
596
+ };
597
+ readonly requestStream: false;
598
+ readonly responseType: {
599
+ $type: "devvit.plugin.redditapi.common.Listing";
600
+ encode(message: Listing, writer?: _m0.Writer): _m0.Writer;
601
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Listing;
602
+ fromJSON(object: any): Listing;
603
+ toJSON(message: Listing): unknown;
604
+ create(base?: {
605
+ kind?: string;
606
+ data?: {
607
+ after?: string | undefined;
608
+ before?: string | undefined;
609
+ children?: {
610
+ kind?: string;
611
+ data?: {
612
+ allAwardings?: {
613
+ typeUrl?: string;
614
+ value?: Uint8Array;
615
+ }[];
616
+ approved?: boolean | undefined;
617
+ approvedAtUtc?: number | undefined;
618
+ approvedBy?: string | undefined;
619
+ archived?: boolean | undefined;
620
+ associatedAward?: string | undefined;
621
+ author?: string | undefined;
622
+ authorFlairBackgroundColor?: string | undefined;
623
+ authorFlairCssClass?: string | undefined;
624
+ authorFlairRichtext?: {
625
+ e?: string | undefined;
626
+ t?: string | undefined;
627
+ a?: string | undefined;
628
+ u?: string | undefined;
629
+ }[];
630
+ authorFlairTemplateId?: string | undefined;
631
+ authorFlairText?: string | undefined;
632
+ authorFlairTextColor?: string | undefined;
633
+ authorFlairType?: string | undefined;
634
+ authorFullname?: string | undefined;
635
+ authorIsBlocked?: boolean | undefined;
636
+ authorPatreonFlair?: boolean | undefined;
637
+ authorPremium?: boolean | undefined;
638
+ awarders?: string[];
639
+ bannedAtUtc?: number | undefined;
640
+ bannedBy?: string | undefined;
641
+ body?: string | undefined;
642
+ bodyHtml?: string | undefined;
643
+ canGild?: boolean | undefined;
644
+ canModPost?: boolean | undefined;
645
+ collapsed?: boolean | undefined;
646
+ collapsedBecauseCrowdControl?: boolean | undefined;
647
+ collapsedReason?: string | undefined;
648
+ collapsedReasonCode?: string | undefined;
649
+ commentType?: string | undefined;
650
+ controversiality?: number | undefined;
651
+ created?: number | undefined;
652
+ createdUtc?: number | undefined;
653
+ distinguished?: string | undefined;
654
+ downs?: number | undefined;
655
+ edited?: boolean | undefined;
656
+ gilded?: number | undefined;
657
+ gildings?: {
658
+ typeUrl?: string;
659
+ value?: Uint8Array;
660
+ } | undefined;
661
+ id?: string | undefined;
662
+ ignoreReports?: boolean | undefined;
663
+ isSubmitter?: boolean | undefined;
664
+ likes?: boolean | undefined;
665
+ linkId?: string | undefined;
666
+ locked?: boolean | undefined;
667
+ modNote?: string | undefined;
668
+ modReasonBy?: string | undefined;
669
+ modReasonTitle?: string | undefined;
670
+ name?: string | undefined;
671
+ noFollow?: boolean | undefined;
672
+ numReports?: number | undefined;
673
+ parentId?: string | undefined;
674
+ permalink?: string | undefined;
675
+ removalReason?: string | undefined;
676
+ removed?: boolean | undefined;
677
+ replies?: string | undefined;
678
+ reportReasons?: any[] | undefined;
679
+ rteMode?: string | undefined;
680
+ saved?: boolean | undefined;
681
+ score?: number | undefined;
682
+ scoreHidden?: boolean | undefined;
683
+ sendReplies?: boolean | undefined;
684
+ spam?: boolean | undefined;
685
+ stickied?: boolean | undefined;
686
+ subreddit?: string | undefined;
687
+ subredditId?: string | undefined;
688
+ subredditNamePrefixed?: string | undefined;
689
+ subredditType?: string | undefined;
690
+ topAwardedType?: string | undefined;
691
+ totalAwardsReceived?: number | undefined;
692
+ treatmentTags?: {
693
+ typeUrl?: string;
694
+ value?: Uint8Array;
695
+ }[];
696
+ unrepliableReason?: string | undefined;
697
+ ups?: number | undefined;
698
+ depth?: number | undefined;
699
+ linkTitle?: string | undefined;
700
+ linkAuthor?: string | undefined;
701
+ numComments?: number | undefined;
702
+ over18?: boolean | undefined;
703
+ linkPermalink?: string | undefined;
704
+ quarantine?: boolean | undefined;
705
+ linkUrl?: string | undefined;
706
+ selftext?: string | undefined;
707
+ selftextHtml?: string | undefined;
708
+ thumbnail?: string | undefined;
709
+ thumbnailWidth?: number | undefined;
710
+ thumbnailHeight?: number | undefined;
711
+ title?: string | undefined;
712
+ url?: string | undefined;
713
+ displayName?: string | undefined;
714
+ modPermissions?: string[];
715
+ count?: number | undefined;
716
+ children?: any[] | undefined;
717
+ replyList?: any | undefined;
718
+ hidden?: boolean | undefined;
719
+ linkFlairBackgroundColor?: string | undefined;
720
+ linkFlairCssClass?: string | undefined;
721
+ linkFlairRichtext?: {
722
+ e?: string | undefined;
723
+ t?: string | undefined;
724
+ a?: string | undefined;
725
+ u?: string | undefined;
726
+ }[];
727
+ linkFlairTemplateId?: string | undefined;
728
+ linkFlairText?: string | undefined;
729
+ linkFlairTextColor?: string | undefined;
730
+ linkFlairType?: string | undefined;
731
+ secureMedia?: {
732
+ type?: string;
733
+ oembed?: {
734
+ type?: string;
735
+ title?: string | undefined;
736
+ providerName?: string | undefined;
737
+ providerUrl?: string | undefined;
738
+ version?: string;
739
+ thumbnailWidth?: number | undefined;
740
+ thumbnailHeight?: number | undefined;
741
+ thumbnailUrl?: string | undefined;
742
+ html?: string;
743
+ height?: number | undefined;
744
+ width?: number | undefined;
745
+ authorUrl?: string | undefined;
746
+ authorName?: string | undefined;
747
+ } | undefined;
748
+ redditVideo?: {
749
+ bitrateKbps?: number | undefined;
750
+ dashUrl?: string | undefined;
751
+ duration?: number | undefined;
752
+ fallbackUrl?: string | undefined;
753
+ height?: number | undefined;
754
+ hlsUrl?: string | undefined;
755
+ isGif?: boolean | undefined;
756
+ scrubberMediaUrl?: string | undefined;
757
+ transcodingStatus?: string | undefined;
758
+ width?: number | undefined;
759
+ } | undefined;
760
+ } | undefined;
761
+ spoiler?: boolean;
762
+ modReports?: any[][];
763
+ userReports?: any[][];
764
+ removedBy?: string | undefined;
765
+ removedByCategory?: string | undefined;
766
+ } | undefined;
767
+ }[];
768
+ dist?: number | undefined;
769
+ } | undefined;
770
+ } | undefined): Listing;
771
+ fromPartial(object: {
772
+ kind?: string;
773
+ data?: {
774
+ after?: string | undefined;
775
+ before?: string | undefined;
776
+ children?: {
777
+ kind?: string;
778
+ data?: {
779
+ allAwardings?: {
780
+ typeUrl?: string;
781
+ value?: Uint8Array;
782
+ }[];
783
+ approved?: boolean | undefined;
784
+ approvedAtUtc?: number | undefined;
785
+ approvedBy?: string | undefined;
786
+ archived?: boolean | undefined;
787
+ associatedAward?: string | undefined;
788
+ author?: string | undefined;
789
+ authorFlairBackgroundColor?: string | undefined;
790
+ authorFlairCssClass?: string | undefined;
791
+ authorFlairRichtext?: {
792
+ e?: string | undefined;
793
+ t?: string | undefined;
794
+ a?: string | undefined;
795
+ u?: string | undefined;
796
+ }[];
797
+ authorFlairTemplateId?: string | undefined;
798
+ authorFlairText?: string | undefined;
799
+ authorFlairTextColor?: string | undefined;
800
+ authorFlairType?: string | undefined;
801
+ authorFullname?: string | undefined;
802
+ authorIsBlocked?: boolean | undefined;
803
+ authorPatreonFlair?: boolean | undefined;
804
+ authorPremium?: boolean | undefined;
805
+ awarders?: string[];
806
+ bannedAtUtc?: number | undefined;
807
+ bannedBy?: string | undefined;
808
+ body?: string | undefined;
809
+ bodyHtml?: string | undefined;
810
+ canGild?: boolean | undefined;
811
+ canModPost?: boolean | undefined;
812
+ collapsed?: boolean | undefined;
813
+ collapsedBecauseCrowdControl?: boolean | undefined;
814
+ collapsedReason?: string | undefined;
815
+ collapsedReasonCode?: string | undefined;
816
+ commentType?: string | undefined;
817
+ controversiality?: number | undefined;
818
+ created?: number | undefined;
819
+ createdUtc?: number | undefined;
820
+ distinguished?: string | undefined;
821
+ downs?: number | undefined;
822
+ edited?: boolean | undefined;
823
+ gilded?: number | undefined;
824
+ gildings?: {
825
+ typeUrl?: string;
826
+ value?: Uint8Array;
827
+ } | undefined;
828
+ id?: string | undefined;
829
+ ignoreReports?: boolean | undefined;
830
+ isSubmitter?: boolean | undefined;
831
+ likes?: boolean | undefined;
832
+ linkId?: string | undefined;
833
+ locked?: boolean | undefined;
834
+ modNote?: string | undefined;
835
+ modReasonBy?: string | undefined;
836
+ modReasonTitle?: string | undefined;
837
+ name?: string | undefined;
838
+ noFollow?: boolean | undefined;
839
+ numReports?: number | undefined;
840
+ parentId?: string | undefined;
841
+ permalink?: string | undefined;
842
+ removalReason?: string | undefined;
843
+ removed?: boolean | undefined;
844
+ replies?: string | undefined;
845
+ reportReasons?: any[] | undefined;
846
+ rteMode?: string | undefined;
847
+ saved?: boolean | undefined;
848
+ score?: number | undefined;
849
+ scoreHidden?: boolean | undefined;
850
+ sendReplies?: boolean | undefined;
851
+ spam?: boolean | undefined;
852
+ stickied?: boolean | undefined;
853
+ subreddit?: string | undefined;
854
+ subredditId?: string | undefined;
855
+ subredditNamePrefixed?: string | undefined;
856
+ subredditType?: string | undefined;
857
+ topAwardedType?: string | undefined;
858
+ totalAwardsReceived?: number | undefined;
859
+ treatmentTags?: {
860
+ typeUrl?: string;
861
+ value?: Uint8Array;
862
+ }[];
863
+ unrepliableReason?: string | undefined;
864
+ ups?: number | undefined;
865
+ depth?: number | undefined;
866
+ linkTitle?: string | undefined;
867
+ linkAuthor?: string | undefined;
868
+ numComments?: number | undefined;
869
+ over18?: boolean | undefined;
870
+ linkPermalink?: string | undefined;
871
+ quarantine?: boolean | undefined;
872
+ linkUrl?: string | undefined;
873
+ selftext?: string | undefined;
874
+ selftextHtml?: string | undefined;
875
+ thumbnail?: string | undefined;
876
+ thumbnailWidth?: number | undefined;
877
+ thumbnailHeight?: number | undefined;
878
+ title?: string | undefined;
879
+ url?: string | undefined;
880
+ displayName?: string | undefined;
881
+ modPermissions?: string[];
882
+ count?: number | undefined;
883
+ children?: any[] | undefined;
884
+ replyList?: any | undefined;
885
+ hidden?: boolean | undefined;
886
+ linkFlairBackgroundColor?: string | undefined;
887
+ linkFlairCssClass?: string | undefined;
888
+ linkFlairRichtext?: {
889
+ e?: string | undefined;
890
+ t?: string | undefined;
891
+ a?: string | undefined;
892
+ u?: string | undefined;
893
+ }[];
894
+ linkFlairTemplateId?: string | undefined;
895
+ linkFlairText?: string | undefined;
896
+ linkFlairTextColor?: string | undefined;
897
+ linkFlairType?: string | undefined;
898
+ secureMedia?: {
899
+ type?: string;
900
+ oembed?: {
901
+ type?: string;
902
+ title?: string | undefined;
903
+ providerName?: string | undefined;
904
+ providerUrl?: string | undefined;
905
+ version?: string;
906
+ thumbnailWidth?: number | undefined;
907
+ thumbnailHeight?: number | undefined;
908
+ thumbnailUrl?: string | undefined;
909
+ html?: string;
910
+ height?: number | undefined;
911
+ width?: number | undefined;
912
+ authorUrl?: string | undefined;
913
+ authorName?: string | undefined;
914
+ } | undefined;
915
+ redditVideo?: {
916
+ bitrateKbps?: number | undefined;
917
+ dashUrl?: string | undefined;
918
+ duration?: number | undefined;
919
+ fallbackUrl?: string | undefined;
920
+ height?: number | undefined;
921
+ hlsUrl?: string | undefined;
922
+ isGif?: boolean | undefined;
923
+ scrubberMediaUrl?: string | undefined;
924
+ transcodingStatus?: string | undefined;
925
+ width?: number | undefined;
926
+ } | undefined;
927
+ } | undefined;
928
+ spoiler?: boolean;
929
+ modReports?: any[][];
930
+ userReports?: any[][];
931
+ removedBy?: string | undefined;
932
+ removedByCategory?: string | undefined;
933
+ } | undefined;
934
+ }[];
935
+ dist?: number | undefined;
936
+ } | undefined;
937
+ }): Listing;
938
+ };
939
+ readonly responseStream: false;
940
+ readonly options: {};
941
+ };
942
+ /** https://www.reddit.com/dev/api#GET_about_\spam */
943
+ readonly aboutSpam: {
944
+ readonly name: "AboutSpam";
945
+ readonly requestType: {
946
+ $type: "devvit.plugin.redditapi.moderation.AboutLocationRequest";
947
+ encode(message: AboutLocationRequest, writer?: _m0.Writer): _m0.Writer;
948
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLocationRequest;
949
+ fromJSON(object: any): AboutLocationRequest;
950
+ toJSON(message: AboutLocationRequest): unknown;
951
+ create(base?: {
952
+ after?: string | undefined;
953
+ before?: string | undefined;
954
+ count?: number | undefined;
955
+ limit?: number | undefined;
956
+ location?: string;
957
+ only?: string | undefined;
958
+ show?: string | undefined;
959
+ subreddit?: string;
960
+ } | undefined): AboutLocationRequest;
961
+ fromPartial(object: {
962
+ after?: string | undefined;
963
+ before?: string | undefined;
964
+ count?: number | undefined;
965
+ limit?: number | undefined;
966
+ location?: string;
967
+ only?: string | undefined;
968
+ show?: string | undefined;
969
+ subreddit?: string;
970
+ }): AboutLocationRequest;
971
+ };
972
+ readonly requestStream: false;
973
+ readonly responseType: {
974
+ $type: "devvit.plugin.redditapi.common.Listing";
975
+ encode(message: Listing, writer?: _m0.Writer): _m0.Writer;
976
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Listing;
977
+ fromJSON(object: any): Listing;
978
+ toJSON(message: Listing): unknown;
979
+ create(base?: {
980
+ kind?: string;
981
+ data?: {
982
+ after?: string | undefined;
983
+ before?: string | undefined;
984
+ children?: {
985
+ kind?: string;
986
+ data?: {
987
+ allAwardings?: {
988
+ typeUrl?: string;
989
+ value?: Uint8Array;
990
+ }[];
991
+ approved?: boolean | undefined;
992
+ approvedAtUtc?: number | undefined;
993
+ approvedBy?: string | undefined;
994
+ archived?: boolean | undefined;
995
+ associatedAward?: string | undefined;
996
+ author?: string | undefined;
997
+ authorFlairBackgroundColor?: string | undefined;
998
+ authorFlairCssClass?: string | undefined;
999
+ authorFlairRichtext?: {
1000
+ e?: string | undefined;
1001
+ t?: string | undefined;
1002
+ a?: string | undefined;
1003
+ u?: string | undefined;
1004
+ }[];
1005
+ authorFlairTemplateId?: string | undefined;
1006
+ authorFlairText?: string | undefined;
1007
+ authorFlairTextColor?: string | undefined;
1008
+ authorFlairType?: string | undefined;
1009
+ authorFullname?: string | undefined;
1010
+ authorIsBlocked?: boolean | undefined;
1011
+ authorPatreonFlair?: boolean | undefined;
1012
+ authorPremium?: boolean | undefined;
1013
+ awarders?: string[];
1014
+ bannedAtUtc?: number | undefined;
1015
+ bannedBy?: string | undefined;
1016
+ body?: string | undefined;
1017
+ bodyHtml?: string | undefined;
1018
+ canGild?: boolean | undefined;
1019
+ canModPost?: boolean | undefined;
1020
+ collapsed?: boolean | undefined;
1021
+ collapsedBecauseCrowdControl?: boolean | undefined;
1022
+ collapsedReason?: string | undefined;
1023
+ collapsedReasonCode?: string | undefined;
1024
+ commentType?: string | undefined;
1025
+ controversiality?: number | undefined;
1026
+ created?: number | undefined;
1027
+ createdUtc?: number | undefined;
1028
+ distinguished?: string | undefined;
1029
+ downs?: number | undefined;
1030
+ edited?: boolean | undefined;
1031
+ gilded?: number | undefined;
1032
+ gildings?: {
1033
+ typeUrl?: string;
1034
+ value?: Uint8Array;
1035
+ } | undefined;
1036
+ id?: string | undefined;
1037
+ ignoreReports?: boolean | undefined;
1038
+ isSubmitter?: boolean | undefined;
1039
+ likes?: boolean | undefined;
1040
+ linkId?: string | undefined;
1041
+ locked?: boolean | undefined;
1042
+ modNote?: string | undefined;
1043
+ modReasonBy?: string | undefined;
1044
+ modReasonTitle?: string | undefined;
1045
+ name?: string | undefined;
1046
+ noFollow?: boolean | undefined;
1047
+ numReports?: number | undefined;
1048
+ parentId?: string | undefined;
1049
+ permalink?: string | undefined;
1050
+ removalReason?: string | undefined;
1051
+ removed?: boolean | undefined;
1052
+ replies?: string | undefined;
1053
+ reportReasons?: any[] | undefined;
1054
+ rteMode?: string | undefined;
1055
+ saved?: boolean | undefined;
1056
+ score?: number | undefined;
1057
+ scoreHidden?: boolean | undefined;
1058
+ sendReplies?: boolean | undefined;
1059
+ spam?: boolean | undefined;
1060
+ stickied?: boolean | undefined;
1061
+ subreddit?: string | undefined;
1062
+ subredditId?: string | undefined;
1063
+ subredditNamePrefixed?: string | undefined;
1064
+ subredditType?: string | undefined;
1065
+ topAwardedType?: string | undefined;
1066
+ totalAwardsReceived?: number | undefined;
1067
+ treatmentTags?: {
1068
+ typeUrl?: string;
1069
+ value?: Uint8Array;
1070
+ }[];
1071
+ unrepliableReason?: string | undefined;
1072
+ ups?: number | undefined;
1073
+ depth?: number | undefined;
1074
+ linkTitle?: string | undefined;
1075
+ linkAuthor?: string | undefined;
1076
+ numComments?: number | undefined;
1077
+ over18?: boolean | undefined;
1078
+ linkPermalink?: string | undefined;
1079
+ quarantine?: boolean | undefined;
1080
+ linkUrl?: string | undefined;
1081
+ selftext?: string | undefined;
1082
+ selftextHtml?: string | undefined;
1083
+ thumbnail?: string | undefined;
1084
+ thumbnailWidth?: number | undefined;
1085
+ thumbnailHeight?: number | undefined;
1086
+ title?: string | undefined;
1087
+ url?: string | undefined;
1088
+ displayName?: string | undefined;
1089
+ modPermissions?: string[];
1090
+ count?: number | undefined;
1091
+ children?: any[] | undefined;
1092
+ replyList?: any | undefined;
1093
+ hidden?: boolean | undefined;
1094
+ linkFlairBackgroundColor?: string | undefined;
1095
+ linkFlairCssClass?: string | undefined;
1096
+ linkFlairRichtext?: {
1097
+ e?: string | undefined;
1098
+ t?: string | undefined;
1099
+ a?: string | undefined;
1100
+ u?: string | undefined;
1101
+ }[];
1102
+ linkFlairTemplateId?: string | undefined;
1103
+ linkFlairText?: string | undefined;
1104
+ linkFlairTextColor?: string | undefined;
1105
+ linkFlairType?: string | undefined;
1106
+ secureMedia?: {
1107
+ type?: string;
1108
+ oembed?: {
1109
+ type?: string;
1110
+ title?: string | undefined;
1111
+ providerName?: string | undefined;
1112
+ providerUrl?: string | undefined;
1113
+ version?: string;
1114
+ thumbnailWidth?: number | undefined;
1115
+ thumbnailHeight?: number | undefined;
1116
+ thumbnailUrl?: string | undefined;
1117
+ html?: string;
1118
+ height?: number | undefined;
1119
+ width?: number | undefined;
1120
+ authorUrl?: string | undefined;
1121
+ authorName?: string | undefined;
1122
+ } | undefined;
1123
+ redditVideo?: {
1124
+ bitrateKbps?: number | undefined;
1125
+ dashUrl?: string | undefined;
1126
+ duration?: number | undefined;
1127
+ fallbackUrl?: string | undefined;
1128
+ height?: number | undefined;
1129
+ hlsUrl?: string | undefined;
1130
+ isGif?: boolean | undefined;
1131
+ scrubberMediaUrl?: string | undefined;
1132
+ transcodingStatus?: string | undefined;
1133
+ width?: number | undefined;
1134
+ } | undefined;
1135
+ } | undefined;
1136
+ spoiler?: boolean;
1137
+ modReports?: any[][];
1138
+ userReports?: any[][];
1139
+ removedBy?: string | undefined;
1140
+ removedByCategory?: string | undefined;
1141
+ } | undefined;
1142
+ }[];
1143
+ dist?: number | undefined;
1144
+ } | undefined;
1145
+ } | undefined): Listing;
1146
+ fromPartial(object: {
1147
+ kind?: string;
1148
+ data?: {
1149
+ after?: string | undefined;
1150
+ before?: string | undefined;
1151
+ children?: {
1152
+ kind?: string;
1153
+ data?: {
1154
+ allAwardings?: {
1155
+ typeUrl?: string;
1156
+ value?: Uint8Array;
1157
+ }[];
1158
+ approved?: boolean | undefined;
1159
+ approvedAtUtc?: number | undefined;
1160
+ approvedBy?: string | undefined;
1161
+ archived?: boolean | undefined;
1162
+ associatedAward?: string | undefined;
1163
+ author?: string | undefined;
1164
+ authorFlairBackgroundColor?: string | undefined;
1165
+ authorFlairCssClass?: string | undefined;
1166
+ authorFlairRichtext?: {
1167
+ e?: string | undefined;
1168
+ t?: string | undefined;
1169
+ a?: string | undefined;
1170
+ u?: string | undefined;
1171
+ }[];
1172
+ authorFlairTemplateId?: string | undefined;
1173
+ authorFlairText?: string | undefined;
1174
+ authorFlairTextColor?: string | undefined;
1175
+ authorFlairType?: string | undefined;
1176
+ authorFullname?: string | undefined;
1177
+ authorIsBlocked?: boolean | undefined;
1178
+ authorPatreonFlair?: boolean | undefined;
1179
+ authorPremium?: boolean | undefined;
1180
+ awarders?: string[];
1181
+ bannedAtUtc?: number | undefined;
1182
+ bannedBy?: string | undefined;
1183
+ body?: string | undefined;
1184
+ bodyHtml?: string | undefined;
1185
+ canGild?: boolean | undefined;
1186
+ canModPost?: boolean | undefined;
1187
+ collapsed?: boolean | undefined;
1188
+ collapsedBecauseCrowdControl?: boolean | undefined;
1189
+ collapsedReason?: string | undefined;
1190
+ collapsedReasonCode?: string | undefined;
1191
+ commentType?: string | undefined;
1192
+ controversiality?: number | undefined;
1193
+ created?: number | undefined;
1194
+ createdUtc?: number | undefined;
1195
+ distinguished?: string | undefined;
1196
+ downs?: number | undefined;
1197
+ edited?: boolean | undefined;
1198
+ gilded?: number | undefined;
1199
+ gildings?: {
1200
+ typeUrl?: string;
1201
+ value?: Uint8Array;
1202
+ } | undefined;
1203
+ id?: string | undefined;
1204
+ ignoreReports?: boolean | undefined;
1205
+ isSubmitter?: boolean | undefined;
1206
+ likes?: boolean | undefined;
1207
+ linkId?: string | undefined;
1208
+ locked?: boolean | undefined;
1209
+ modNote?: string | undefined;
1210
+ modReasonBy?: string | undefined;
1211
+ modReasonTitle?: string | undefined;
1212
+ name?: string | undefined;
1213
+ noFollow?: boolean | undefined;
1214
+ numReports?: number | undefined;
1215
+ parentId?: string | undefined;
1216
+ permalink?: string | undefined;
1217
+ removalReason?: string | undefined;
1218
+ removed?: boolean | undefined;
1219
+ replies?: string | undefined;
1220
+ reportReasons?: any[] | undefined;
1221
+ rteMode?: string | undefined;
1222
+ saved?: boolean | undefined;
1223
+ score?: number | undefined;
1224
+ scoreHidden?: boolean | undefined;
1225
+ sendReplies?: boolean | undefined;
1226
+ spam?: boolean | undefined;
1227
+ stickied?: boolean | undefined;
1228
+ subreddit?: string | undefined;
1229
+ subredditId?: string | undefined;
1230
+ subredditNamePrefixed?: string | undefined;
1231
+ subredditType?: string | undefined;
1232
+ topAwardedType?: string | undefined;
1233
+ totalAwardsReceived?: number | undefined;
1234
+ treatmentTags?: {
1235
+ typeUrl?: string;
1236
+ value?: Uint8Array;
1237
+ }[];
1238
+ unrepliableReason?: string | undefined;
1239
+ ups?: number | undefined;
1240
+ depth?: number | undefined;
1241
+ linkTitle?: string | undefined;
1242
+ linkAuthor?: string | undefined;
1243
+ numComments?: number | undefined;
1244
+ over18?: boolean | undefined;
1245
+ linkPermalink?: string | undefined;
1246
+ quarantine?: boolean | undefined;
1247
+ linkUrl?: string | undefined;
1248
+ selftext?: string | undefined;
1249
+ selftextHtml?: string | undefined;
1250
+ thumbnail?: string | undefined;
1251
+ thumbnailWidth?: number | undefined;
1252
+ thumbnailHeight?: number | undefined;
1253
+ title?: string | undefined;
1254
+ url?: string | undefined;
1255
+ displayName?: string | undefined;
1256
+ modPermissions?: string[];
1257
+ count?: number | undefined;
1258
+ children?: any[] | undefined;
1259
+ replyList?: any | undefined;
1260
+ hidden?: boolean | undefined;
1261
+ linkFlairBackgroundColor?: string | undefined;
1262
+ linkFlairCssClass?: string | undefined;
1263
+ linkFlairRichtext?: {
1264
+ e?: string | undefined;
1265
+ t?: string | undefined;
1266
+ a?: string | undefined;
1267
+ u?: string | undefined;
1268
+ }[];
1269
+ linkFlairTemplateId?: string | undefined;
1270
+ linkFlairText?: string | undefined;
1271
+ linkFlairTextColor?: string | undefined;
1272
+ linkFlairType?: string | undefined;
1273
+ secureMedia?: {
1274
+ type?: string;
1275
+ oembed?: {
1276
+ type?: string;
1277
+ title?: string | undefined;
1278
+ providerName?: string | undefined;
1279
+ providerUrl?: string | undefined;
1280
+ version?: string;
1281
+ thumbnailWidth?: number | undefined;
1282
+ thumbnailHeight?: number | undefined;
1283
+ thumbnailUrl?: string | undefined;
1284
+ html?: string;
1285
+ height?: number | undefined;
1286
+ width?: number | undefined;
1287
+ authorUrl?: string | undefined;
1288
+ authorName?: string | undefined;
1289
+ } | undefined;
1290
+ redditVideo?: {
1291
+ bitrateKbps?: number | undefined;
1292
+ dashUrl?: string | undefined;
1293
+ duration?: number | undefined;
1294
+ fallbackUrl?: string | undefined;
1295
+ height?: number | undefined;
1296
+ hlsUrl?: string | undefined;
1297
+ isGif?: boolean | undefined;
1298
+ scrubberMediaUrl?: string | undefined;
1299
+ transcodingStatus?: string | undefined;
1300
+ width?: number | undefined;
1301
+ } | undefined;
1302
+ } | undefined;
1303
+ spoiler?: boolean;
1304
+ modReports?: any[][];
1305
+ userReports?: any[][];
1306
+ removedBy?: string | undefined;
1307
+ removedByCategory?: string | undefined;
1308
+ } | undefined;
1309
+ }[];
1310
+ dist?: number | undefined;
1311
+ } | undefined;
1312
+ }): Listing;
1313
+ };
1314
+ readonly responseStream: false;
1315
+ readonly options: {};
1316
+ };
1317
+ /** https://www.reddit.com/dev/api#GET_about_\modqueue */
1318
+ readonly aboutModqueue: {
1319
+ readonly name: "AboutModqueue";
1320
+ readonly requestType: {
1321
+ $type: "devvit.plugin.redditapi.moderation.AboutLocationRequest";
1322
+ encode(message: AboutLocationRequest, writer?: _m0.Writer): _m0.Writer;
1323
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLocationRequest;
1324
+ fromJSON(object: any): AboutLocationRequest;
1325
+ toJSON(message: AboutLocationRequest): unknown;
1326
+ create(base?: {
1327
+ after?: string | undefined;
1328
+ before?: string | undefined;
1329
+ count?: number | undefined;
1330
+ limit?: number | undefined;
1331
+ location?: string;
1332
+ only?: string | undefined;
1333
+ show?: string | undefined;
1334
+ subreddit?: string;
1335
+ } | undefined): AboutLocationRequest;
1336
+ fromPartial(object: {
1337
+ after?: string | undefined;
1338
+ before?: string | undefined;
1339
+ count?: number | undefined;
1340
+ limit?: number | undefined;
1341
+ location?: string;
1342
+ only?: string | undefined;
1343
+ show?: string | undefined;
1344
+ subreddit?: string;
1345
+ }): AboutLocationRequest;
1346
+ };
1347
+ readonly requestStream: false;
1348
+ readonly responseType: {
1349
+ $type: "devvit.plugin.redditapi.common.Listing";
1350
+ encode(message: Listing, writer?: _m0.Writer): _m0.Writer;
1351
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Listing;
1352
+ fromJSON(object: any): Listing;
1353
+ toJSON(message: Listing): unknown;
1354
+ create(base?: {
1355
+ kind?: string;
1356
+ data?: {
1357
+ after?: string | undefined;
1358
+ before?: string | undefined;
1359
+ children?: {
1360
+ kind?: string;
1361
+ data?: {
1362
+ allAwardings?: {
1363
+ typeUrl?: string;
1364
+ value?: Uint8Array;
1365
+ }[];
1366
+ approved?: boolean | undefined;
1367
+ approvedAtUtc?: number | undefined;
1368
+ approvedBy?: string | undefined;
1369
+ archived?: boolean | undefined;
1370
+ associatedAward?: string | undefined;
1371
+ author?: string | undefined;
1372
+ authorFlairBackgroundColor?: string | undefined;
1373
+ authorFlairCssClass?: string | undefined;
1374
+ authorFlairRichtext?: {
1375
+ e?: string | undefined;
1376
+ t?: string | undefined;
1377
+ a?: string | undefined;
1378
+ u?: string | undefined;
1379
+ }[];
1380
+ authorFlairTemplateId?: string | undefined;
1381
+ authorFlairText?: string | undefined;
1382
+ authorFlairTextColor?: string | undefined;
1383
+ authorFlairType?: string | undefined;
1384
+ authorFullname?: string | undefined;
1385
+ authorIsBlocked?: boolean | undefined;
1386
+ authorPatreonFlair?: boolean | undefined;
1387
+ authorPremium?: boolean | undefined;
1388
+ awarders?: string[];
1389
+ bannedAtUtc?: number | undefined;
1390
+ bannedBy?: string | undefined;
1391
+ body?: string | undefined;
1392
+ bodyHtml?: string | undefined;
1393
+ canGild?: boolean | undefined;
1394
+ canModPost?: boolean | undefined;
1395
+ collapsed?: boolean | undefined;
1396
+ collapsedBecauseCrowdControl?: boolean | undefined;
1397
+ collapsedReason?: string | undefined;
1398
+ collapsedReasonCode?: string | undefined;
1399
+ commentType?: string | undefined;
1400
+ controversiality?: number | undefined;
1401
+ created?: number | undefined;
1402
+ createdUtc?: number | undefined;
1403
+ distinguished?: string | undefined;
1404
+ downs?: number | undefined;
1405
+ edited?: boolean | undefined;
1406
+ gilded?: number | undefined;
1407
+ gildings?: {
1408
+ typeUrl?: string;
1409
+ value?: Uint8Array;
1410
+ } | undefined;
1411
+ id?: string | undefined;
1412
+ ignoreReports?: boolean | undefined;
1413
+ isSubmitter?: boolean | undefined;
1414
+ likes?: boolean | undefined;
1415
+ linkId?: string | undefined;
1416
+ locked?: boolean | undefined;
1417
+ modNote?: string | undefined;
1418
+ modReasonBy?: string | undefined;
1419
+ modReasonTitle?: string | undefined;
1420
+ name?: string | undefined;
1421
+ noFollow?: boolean | undefined;
1422
+ numReports?: number | undefined;
1423
+ parentId?: string | undefined;
1424
+ permalink?: string | undefined;
1425
+ removalReason?: string | undefined;
1426
+ removed?: boolean | undefined;
1427
+ replies?: string | undefined;
1428
+ reportReasons?: any[] | undefined;
1429
+ rteMode?: string | undefined;
1430
+ saved?: boolean | undefined;
1431
+ score?: number | undefined;
1432
+ scoreHidden?: boolean | undefined;
1433
+ sendReplies?: boolean | undefined;
1434
+ spam?: boolean | undefined;
1435
+ stickied?: boolean | undefined;
1436
+ subreddit?: string | undefined;
1437
+ subredditId?: string | undefined;
1438
+ subredditNamePrefixed?: string | undefined;
1439
+ subredditType?: string | undefined;
1440
+ topAwardedType?: string | undefined;
1441
+ totalAwardsReceived?: number | undefined;
1442
+ treatmentTags?: {
1443
+ typeUrl?: string;
1444
+ value?: Uint8Array;
1445
+ }[];
1446
+ unrepliableReason?: string | undefined;
1447
+ ups?: number | undefined;
1448
+ depth?: number | undefined;
1449
+ linkTitle?: string | undefined;
1450
+ linkAuthor?: string | undefined;
1451
+ numComments?: number | undefined;
1452
+ over18?: boolean | undefined;
1453
+ linkPermalink?: string | undefined;
1454
+ quarantine?: boolean | undefined;
1455
+ linkUrl?: string | undefined;
1456
+ selftext?: string | undefined;
1457
+ selftextHtml?: string | undefined;
1458
+ thumbnail?: string | undefined;
1459
+ thumbnailWidth?: number | undefined;
1460
+ thumbnailHeight?: number | undefined;
1461
+ title?: string | undefined;
1462
+ url?: string | undefined;
1463
+ displayName?: string | undefined;
1464
+ modPermissions?: string[];
1465
+ count?: number | undefined;
1466
+ children?: any[] | undefined;
1467
+ replyList?: any | undefined;
1468
+ hidden?: boolean | undefined;
1469
+ linkFlairBackgroundColor?: string | undefined;
1470
+ linkFlairCssClass?: string | undefined;
1471
+ linkFlairRichtext?: {
1472
+ e?: string | undefined;
1473
+ t?: string | undefined;
1474
+ a?: string | undefined;
1475
+ u?: string | undefined;
1476
+ }[];
1477
+ linkFlairTemplateId?: string | undefined;
1478
+ linkFlairText?: string | undefined;
1479
+ linkFlairTextColor?: string | undefined;
1480
+ linkFlairType?: string | undefined;
1481
+ secureMedia?: {
1482
+ type?: string;
1483
+ oembed?: {
1484
+ type?: string;
1485
+ title?: string | undefined;
1486
+ providerName?: string | undefined;
1487
+ providerUrl?: string | undefined;
1488
+ version?: string;
1489
+ thumbnailWidth?: number | undefined;
1490
+ thumbnailHeight?: number | undefined;
1491
+ thumbnailUrl?: string | undefined;
1492
+ html?: string;
1493
+ height?: number | undefined;
1494
+ width?: number | undefined;
1495
+ authorUrl?: string | undefined;
1496
+ authorName?: string | undefined;
1497
+ } | undefined;
1498
+ redditVideo?: {
1499
+ bitrateKbps?: number | undefined;
1500
+ dashUrl?: string | undefined;
1501
+ duration?: number | undefined;
1502
+ fallbackUrl?: string | undefined;
1503
+ height?: number | undefined;
1504
+ hlsUrl?: string | undefined;
1505
+ isGif?: boolean | undefined;
1506
+ scrubberMediaUrl?: string | undefined;
1507
+ transcodingStatus?: string | undefined;
1508
+ width?: number | undefined;
1509
+ } | undefined;
1510
+ } | undefined;
1511
+ spoiler?: boolean;
1512
+ modReports?: any[][];
1513
+ userReports?: any[][];
1514
+ removedBy?: string | undefined;
1515
+ removedByCategory?: string | undefined;
1516
+ } | undefined;
1517
+ }[];
1518
+ dist?: number | undefined;
1519
+ } | undefined;
1520
+ } | undefined): Listing;
1521
+ fromPartial(object: {
1522
+ kind?: string;
1523
+ data?: {
1524
+ after?: string | undefined;
1525
+ before?: string | undefined;
1526
+ children?: {
1527
+ kind?: string;
1528
+ data?: {
1529
+ allAwardings?: {
1530
+ typeUrl?: string;
1531
+ value?: Uint8Array;
1532
+ }[];
1533
+ approved?: boolean | undefined;
1534
+ approvedAtUtc?: number | undefined;
1535
+ approvedBy?: string | undefined;
1536
+ archived?: boolean | undefined;
1537
+ associatedAward?: string | undefined;
1538
+ author?: string | undefined;
1539
+ authorFlairBackgroundColor?: string | undefined;
1540
+ authorFlairCssClass?: string | undefined;
1541
+ authorFlairRichtext?: {
1542
+ e?: string | undefined;
1543
+ t?: string | undefined;
1544
+ a?: string | undefined;
1545
+ u?: string | undefined;
1546
+ }[];
1547
+ authorFlairTemplateId?: string | undefined;
1548
+ authorFlairText?: string | undefined;
1549
+ authorFlairTextColor?: string | undefined;
1550
+ authorFlairType?: string | undefined;
1551
+ authorFullname?: string | undefined;
1552
+ authorIsBlocked?: boolean | undefined;
1553
+ authorPatreonFlair?: boolean | undefined;
1554
+ authorPremium?: boolean | undefined;
1555
+ awarders?: string[];
1556
+ bannedAtUtc?: number | undefined;
1557
+ bannedBy?: string | undefined;
1558
+ body?: string | undefined;
1559
+ bodyHtml?: string | undefined;
1560
+ canGild?: boolean | undefined;
1561
+ canModPost?: boolean | undefined;
1562
+ collapsed?: boolean | undefined;
1563
+ collapsedBecauseCrowdControl?: boolean | undefined;
1564
+ collapsedReason?: string | undefined;
1565
+ collapsedReasonCode?: string | undefined;
1566
+ commentType?: string | undefined;
1567
+ controversiality?: number | undefined;
1568
+ created?: number | undefined;
1569
+ createdUtc?: number | undefined;
1570
+ distinguished?: string | undefined;
1571
+ downs?: number | undefined;
1572
+ edited?: boolean | undefined;
1573
+ gilded?: number | undefined;
1574
+ gildings?: {
1575
+ typeUrl?: string;
1576
+ value?: Uint8Array;
1577
+ } | undefined;
1578
+ id?: string | undefined;
1579
+ ignoreReports?: boolean | undefined;
1580
+ isSubmitter?: boolean | undefined;
1581
+ likes?: boolean | undefined;
1582
+ linkId?: string | undefined;
1583
+ locked?: boolean | undefined;
1584
+ modNote?: string | undefined;
1585
+ modReasonBy?: string | undefined;
1586
+ modReasonTitle?: string | undefined;
1587
+ name?: string | undefined;
1588
+ noFollow?: boolean | undefined;
1589
+ numReports?: number | undefined;
1590
+ parentId?: string | undefined;
1591
+ permalink?: string | undefined;
1592
+ removalReason?: string | undefined;
1593
+ removed?: boolean | undefined;
1594
+ replies?: string | undefined;
1595
+ reportReasons?: any[] | undefined;
1596
+ rteMode?: string | undefined;
1597
+ saved?: boolean | undefined;
1598
+ score?: number | undefined;
1599
+ scoreHidden?: boolean | undefined;
1600
+ sendReplies?: boolean | undefined;
1601
+ spam?: boolean | undefined;
1602
+ stickied?: boolean | undefined;
1603
+ subreddit?: string | undefined;
1604
+ subredditId?: string | undefined;
1605
+ subredditNamePrefixed?: string | undefined;
1606
+ subredditType?: string | undefined;
1607
+ topAwardedType?: string | undefined;
1608
+ totalAwardsReceived?: number | undefined;
1609
+ treatmentTags?: {
1610
+ typeUrl?: string;
1611
+ value?: Uint8Array;
1612
+ }[];
1613
+ unrepliableReason?: string | undefined;
1614
+ ups?: number | undefined;
1615
+ depth?: number | undefined;
1616
+ linkTitle?: string | undefined;
1617
+ linkAuthor?: string | undefined;
1618
+ numComments?: number | undefined;
1619
+ over18?: boolean | undefined;
1620
+ linkPermalink?: string | undefined;
1621
+ quarantine?: boolean | undefined;
1622
+ linkUrl?: string | undefined;
1623
+ selftext?: string | undefined;
1624
+ selftextHtml?: string | undefined;
1625
+ thumbnail?: string | undefined;
1626
+ thumbnailWidth?: number | undefined;
1627
+ thumbnailHeight?: number | undefined;
1628
+ title?: string | undefined;
1629
+ url?: string | undefined;
1630
+ displayName?: string | undefined;
1631
+ modPermissions?: string[];
1632
+ count?: number | undefined;
1633
+ children?: any[] | undefined;
1634
+ replyList?: any | undefined;
1635
+ hidden?: boolean | undefined;
1636
+ linkFlairBackgroundColor?: string | undefined;
1637
+ linkFlairCssClass?: string | undefined;
1638
+ linkFlairRichtext?: {
1639
+ e?: string | undefined;
1640
+ t?: string | undefined;
1641
+ a?: string | undefined;
1642
+ u?: string | undefined;
1643
+ }[];
1644
+ linkFlairTemplateId?: string | undefined;
1645
+ linkFlairText?: string | undefined;
1646
+ linkFlairTextColor?: string | undefined;
1647
+ linkFlairType?: string | undefined;
1648
+ secureMedia?: {
1649
+ type?: string;
1650
+ oembed?: {
1651
+ type?: string;
1652
+ title?: string | undefined;
1653
+ providerName?: string | undefined;
1654
+ providerUrl?: string | undefined;
1655
+ version?: string;
1656
+ thumbnailWidth?: number | undefined;
1657
+ thumbnailHeight?: number | undefined;
1658
+ thumbnailUrl?: string | undefined;
1659
+ html?: string;
1660
+ height?: number | undefined;
1661
+ width?: number | undefined;
1662
+ authorUrl?: string | undefined;
1663
+ authorName?: string | undefined;
1664
+ } | undefined;
1665
+ redditVideo?: {
1666
+ bitrateKbps?: number | undefined;
1667
+ dashUrl?: string | undefined;
1668
+ duration?: number | undefined;
1669
+ fallbackUrl?: string | undefined;
1670
+ height?: number | undefined;
1671
+ hlsUrl?: string | undefined;
1672
+ isGif?: boolean | undefined;
1673
+ scrubberMediaUrl?: string | undefined;
1674
+ transcodingStatus?: string | undefined;
1675
+ width?: number | undefined;
1676
+ } | undefined;
1677
+ } | undefined;
1678
+ spoiler?: boolean;
1679
+ modReports?: any[][];
1680
+ userReports?: any[][];
1681
+ removedBy?: string | undefined;
1682
+ removedByCategory?: string | undefined;
1683
+ } | undefined;
1684
+ }[];
1685
+ dist?: number | undefined;
1686
+ } | undefined;
1687
+ }): Listing;
1688
+ };
1689
+ readonly responseStream: false;
1690
+ readonly options: {};
1691
+ };
1692
+ /** https://www.reddit.com/dev/api#GET_about_\unmoderated */
1693
+ readonly aboutUnmoderated: {
1694
+ readonly name: "AboutUnmoderated";
1695
+ readonly requestType: {
1696
+ $type: "devvit.plugin.redditapi.moderation.AboutLocationRequest";
1697
+ encode(message: AboutLocationRequest, writer?: _m0.Writer): _m0.Writer;
1698
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLocationRequest;
1699
+ fromJSON(object: any): AboutLocationRequest;
1700
+ toJSON(message: AboutLocationRequest): unknown;
1701
+ create(base?: {
1702
+ after?: string | undefined;
1703
+ before?: string | undefined;
1704
+ count?: number | undefined;
1705
+ limit?: number | undefined;
1706
+ location?: string;
1707
+ only?: string | undefined;
1708
+ show?: string | undefined;
1709
+ subreddit?: string;
1710
+ } | undefined): AboutLocationRequest;
1711
+ fromPartial(object: {
1712
+ after?: string | undefined;
1713
+ before?: string | undefined;
1714
+ count?: number | undefined;
1715
+ limit?: number | undefined;
1716
+ location?: string;
1717
+ only?: string | undefined;
1718
+ show?: string | undefined;
1719
+ subreddit?: string;
1720
+ }): AboutLocationRequest;
1721
+ };
1722
+ readonly requestStream: false;
1723
+ readonly responseType: {
1724
+ $type: "devvit.plugin.redditapi.common.Listing";
1725
+ encode(message: Listing, writer?: _m0.Writer): _m0.Writer;
1726
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Listing;
1727
+ fromJSON(object: any): Listing;
1728
+ toJSON(message: Listing): unknown;
1729
+ create(base?: {
1730
+ kind?: string;
1731
+ data?: {
1732
+ after?: string | undefined;
1733
+ before?: string | undefined;
1734
+ children?: {
1735
+ kind?: string;
1736
+ data?: {
1737
+ allAwardings?: {
1738
+ typeUrl?: string;
1739
+ value?: Uint8Array;
1740
+ }[];
1741
+ approved?: boolean | undefined;
1742
+ approvedAtUtc?: number | undefined;
1743
+ approvedBy?: string | undefined;
1744
+ archived?: boolean | undefined;
1745
+ associatedAward?: string | undefined;
1746
+ author?: string | undefined;
1747
+ authorFlairBackgroundColor?: string | undefined;
1748
+ authorFlairCssClass?: string | undefined;
1749
+ authorFlairRichtext?: {
1750
+ e?: string | undefined;
1751
+ t?: string | undefined;
1752
+ a?: string | undefined;
1753
+ u?: string | undefined;
1754
+ }[];
1755
+ authorFlairTemplateId?: string | undefined;
1756
+ authorFlairText?: string | undefined;
1757
+ authorFlairTextColor?: string | undefined;
1758
+ authorFlairType?: string | undefined;
1759
+ authorFullname?: string | undefined;
1760
+ authorIsBlocked?: boolean | undefined;
1761
+ authorPatreonFlair?: boolean | undefined;
1762
+ authorPremium?: boolean | undefined;
1763
+ awarders?: string[];
1764
+ bannedAtUtc?: number | undefined;
1765
+ bannedBy?: string | undefined;
1766
+ body?: string | undefined;
1767
+ bodyHtml?: string | undefined;
1768
+ canGild?: boolean | undefined;
1769
+ canModPost?: boolean | undefined;
1770
+ collapsed?: boolean | undefined;
1771
+ collapsedBecauseCrowdControl?: boolean | undefined;
1772
+ collapsedReason?: string | undefined;
1773
+ collapsedReasonCode?: string | undefined;
1774
+ commentType?: string | undefined;
1775
+ controversiality?: number | undefined;
1776
+ created?: number | undefined;
1777
+ createdUtc?: number | undefined;
1778
+ distinguished?: string | undefined;
1779
+ downs?: number | undefined;
1780
+ edited?: boolean | undefined;
1781
+ gilded?: number | undefined;
1782
+ gildings?: {
1783
+ typeUrl?: string;
1784
+ value?: Uint8Array;
1785
+ } | undefined;
1786
+ id?: string | undefined;
1787
+ ignoreReports?: boolean | undefined;
1788
+ isSubmitter?: boolean | undefined;
1789
+ likes?: boolean | undefined;
1790
+ linkId?: string | undefined;
1791
+ locked?: boolean | undefined;
1792
+ modNote?: string | undefined;
1793
+ modReasonBy?: string | undefined;
1794
+ modReasonTitle?: string | undefined;
1795
+ name?: string | undefined;
1796
+ noFollow?: boolean | undefined;
1797
+ numReports?: number | undefined;
1798
+ parentId?: string | undefined;
1799
+ permalink?: string | undefined;
1800
+ removalReason?: string | undefined;
1801
+ removed?: boolean | undefined;
1802
+ replies?: string | undefined;
1803
+ reportReasons?: any[] | undefined;
1804
+ rteMode?: string | undefined;
1805
+ saved?: boolean | undefined;
1806
+ score?: number | undefined;
1807
+ scoreHidden?: boolean | undefined;
1808
+ sendReplies?: boolean | undefined;
1809
+ spam?: boolean | undefined;
1810
+ stickied?: boolean | undefined;
1811
+ subreddit?: string | undefined;
1812
+ subredditId?: string | undefined;
1813
+ subredditNamePrefixed?: string | undefined;
1814
+ subredditType?: string | undefined;
1815
+ topAwardedType?: string | undefined;
1816
+ totalAwardsReceived?: number | undefined;
1817
+ treatmentTags?: {
1818
+ typeUrl?: string;
1819
+ value?: Uint8Array;
1820
+ }[];
1821
+ unrepliableReason?: string | undefined;
1822
+ ups?: number | undefined;
1823
+ depth?: number | undefined;
1824
+ linkTitle?: string | undefined;
1825
+ linkAuthor?: string | undefined;
1826
+ numComments?: number | undefined;
1827
+ over18?: boolean | undefined;
1828
+ linkPermalink?: string | undefined;
1829
+ quarantine?: boolean | undefined;
1830
+ linkUrl?: string | undefined;
1831
+ selftext?: string | undefined;
1832
+ selftextHtml?: string | undefined;
1833
+ thumbnail?: string | undefined;
1834
+ thumbnailWidth?: number | undefined;
1835
+ thumbnailHeight?: number | undefined;
1836
+ title?: string | undefined;
1837
+ url?: string | undefined;
1838
+ displayName?: string | undefined;
1839
+ modPermissions?: string[];
1840
+ count?: number | undefined;
1841
+ children?: any[] | undefined;
1842
+ replyList?: any | undefined;
1843
+ hidden?: boolean | undefined;
1844
+ linkFlairBackgroundColor?: string | undefined;
1845
+ linkFlairCssClass?: string | undefined;
1846
+ linkFlairRichtext?: {
1847
+ e?: string | undefined;
1848
+ t?: string | undefined;
1849
+ a?: string | undefined;
1850
+ u?: string | undefined;
1851
+ }[];
1852
+ linkFlairTemplateId?: string | undefined;
1853
+ linkFlairText?: string | undefined;
1854
+ linkFlairTextColor?: string | undefined;
1855
+ linkFlairType?: string | undefined;
1856
+ secureMedia?: {
1857
+ type?: string;
1858
+ oembed?: {
1859
+ type?: string;
1860
+ title?: string | undefined;
1861
+ providerName?: string | undefined;
1862
+ providerUrl?: string | undefined;
1863
+ version?: string;
1864
+ thumbnailWidth?: number | undefined;
1865
+ thumbnailHeight?: number | undefined;
1866
+ thumbnailUrl?: string | undefined;
1867
+ html?: string;
1868
+ height?: number | undefined;
1869
+ width?: number | undefined;
1870
+ authorUrl?: string | undefined;
1871
+ authorName?: string | undefined;
1872
+ } | undefined;
1873
+ redditVideo?: {
1874
+ bitrateKbps?: number | undefined;
1875
+ dashUrl?: string | undefined;
1876
+ duration?: number | undefined;
1877
+ fallbackUrl?: string | undefined;
1878
+ height?: number | undefined;
1879
+ hlsUrl?: string | undefined;
1880
+ isGif?: boolean | undefined;
1881
+ scrubberMediaUrl?: string | undefined;
1882
+ transcodingStatus?: string | undefined;
1883
+ width?: number | undefined;
1884
+ } | undefined;
1885
+ } | undefined;
1886
+ spoiler?: boolean;
1887
+ modReports?: any[][];
1888
+ userReports?: any[][];
1889
+ removedBy?: string | undefined;
1890
+ removedByCategory?: string | undefined;
1891
+ } | undefined;
1892
+ }[];
1893
+ dist?: number | undefined;
1894
+ } | undefined;
1895
+ } | undefined): Listing;
1896
+ fromPartial(object: {
1897
+ kind?: string;
1898
+ data?: {
1899
+ after?: string | undefined;
1900
+ before?: string | undefined;
1901
+ children?: {
1902
+ kind?: string;
1903
+ data?: {
1904
+ allAwardings?: {
1905
+ typeUrl?: string;
1906
+ value?: Uint8Array;
1907
+ }[];
1908
+ approved?: boolean | undefined;
1909
+ approvedAtUtc?: number | undefined;
1910
+ approvedBy?: string | undefined;
1911
+ archived?: boolean | undefined;
1912
+ associatedAward?: string | undefined;
1913
+ author?: string | undefined;
1914
+ authorFlairBackgroundColor?: string | undefined;
1915
+ authorFlairCssClass?: string | undefined;
1916
+ authorFlairRichtext?: {
1917
+ e?: string | undefined;
1918
+ t?: string | undefined;
1919
+ a?: string | undefined;
1920
+ u?: string | undefined;
1921
+ }[];
1922
+ authorFlairTemplateId?: string | undefined;
1923
+ authorFlairText?: string | undefined;
1924
+ authorFlairTextColor?: string | undefined;
1925
+ authorFlairType?: string | undefined;
1926
+ authorFullname?: string | undefined;
1927
+ authorIsBlocked?: boolean | undefined;
1928
+ authorPatreonFlair?: boolean | undefined;
1929
+ authorPremium?: boolean | undefined;
1930
+ awarders?: string[];
1931
+ bannedAtUtc?: number | undefined;
1932
+ bannedBy?: string | undefined;
1933
+ body?: string | undefined;
1934
+ bodyHtml?: string | undefined;
1935
+ canGild?: boolean | undefined;
1936
+ canModPost?: boolean | undefined;
1937
+ collapsed?: boolean | undefined;
1938
+ collapsedBecauseCrowdControl?: boolean | undefined;
1939
+ collapsedReason?: string | undefined;
1940
+ collapsedReasonCode?: string | undefined;
1941
+ commentType?: string | undefined;
1942
+ controversiality?: number | undefined;
1943
+ created?: number | undefined;
1944
+ createdUtc?: number | undefined;
1945
+ distinguished?: string | undefined;
1946
+ downs?: number | undefined;
1947
+ edited?: boolean | undefined;
1948
+ gilded?: number | undefined;
1949
+ gildings?: {
1950
+ typeUrl?: string;
1951
+ value?: Uint8Array;
1952
+ } | undefined;
1953
+ id?: string | undefined;
1954
+ ignoreReports?: boolean | undefined;
1955
+ isSubmitter?: boolean | undefined;
1956
+ likes?: boolean | undefined;
1957
+ linkId?: string | undefined;
1958
+ locked?: boolean | undefined;
1959
+ modNote?: string | undefined;
1960
+ modReasonBy?: string | undefined;
1961
+ modReasonTitle?: string | undefined;
1962
+ name?: string | undefined;
1963
+ noFollow?: boolean | undefined;
1964
+ numReports?: number | undefined;
1965
+ parentId?: string | undefined;
1966
+ permalink?: string | undefined;
1967
+ removalReason?: string | undefined;
1968
+ removed?: boolean | undefined;
1969
+ replies?: string | undefined;
1970
+ reportReasons?: any[] | undefined;
1971
+ rteMode?: string | undefined;
1972
+ saved?: boolean | undefined;
1973
+ score?: number | undefined;
1974
+ scoreHidden?: boolean | undefined;
1975
+ sendReplies?: boolean | undefined;
1976
+ spam?: boolean | undefined;
1977
+ stickied?: boolean | undefined;
1978
+ subreddit?: string | undefined;
1979
+ subredditId?: string | undefined;
1980
+ subredditNamePrefixed?: string | undefined;
1981
+ subredditType?: string | undefined;
1982
+ topAwardedType?: string | undefined;
1983
+ totalAwardsReceived?: number | undefined;
1984
+ treatmentTags?: {
1985
+ typeUrl?: string;
1986
+ value?: Uint8Array;
1987
+ }[];
1988
+ unrepliableReason?: string | undefined;
1989
+ ups?: number | undefined;
1990
+ depth?: number | undefined;
1991
+ linkTitle?: string | undefined;
1992
+ linkAuthor?: string | undefined;
1993
+ numComments?: number | undefined;
1994
+ over18?: boolean | undefined;
1995
+ linkPermalink?: string | undefined;
1996
+ quarantine?: boolean | undefined;
1997
+ linkUrl?: string | undefined;
1998
+ selftext?: string | undefined;
1999
+ selftextHtml?: string | undefined;
2000
+ thumbnail?: string | undefined;
2001
+ thumbnailWidth?: number | undefined;
2002
+ thumbnailHeight?: number | undefined;
2003
+ title?: string | undefined;
2004
+ url?: string | undefined;
2005
+ displayName?: string | undefined;
2006
+ modPermissions?: string[];
2007
+ count?: number | undefined;
2008
+ children?: any[] | undefined;
2009
+ replyList?: any | undefined;
2010
+ hidden?: boolean | undefined;
2011
+ linkFlairBackgroundColor?: string | undefined;
2012
+ linkFlairCssClass?: string | undefined;
2013
+ linkFlairRichtext?: {
2014
+ e?: string | undefined;
2015
+ t?: string | undefined;
2016
+ a?: string | undefined;
2017
+ u?: string | undefined;
2018
+ }[];
2019
+ linkFlairTemplateId?: string | undefined;
2020
+ linkFlairText?: string | undefined;
2021
+ linkFlairTextColor?: string | undefined;
2022
+ linkFlairType?: string | undefined;
2023
+ secureMedia?: {
2024
+ type?: string;
2025
+ oembed?: {
2026
+ type?: string;
2027
+ title?: string | undefined;
2028
+ providerName?: string | undefined;
2029
+ providerUrl?: string | undefined;
2030
+ version?: string;
2031
+ thumbnailWidth?: number | undefined;
2032
+ thumbnailHeight?: number | undefined;
2033
+ thumbnailUrl?: string | undefined;
2034
+ html?: string;
2035
+ height?: number | undefined;
2036
+ width?: number | undefined;
2037
+ authorUrl?: string | undefined;
2038
+ authorName?: string | undefined;
2039
+ } | undefined;
2040
+ redditVideo?: {
2041
+ bitrateKbps?: number | undefined;
2042
+ dashUrl?: string | undefined;
2043
+ duration?: number | undefined;
2044
+ fallbackUrl?: string | undefined;
2045
+ height?: number | undefined;
2046
+ hlsUrl?: string | undefined;
2047
+ isGif?: boolean | undefined;
2048
+ scrubberMediaUrl?: string | undefined;
2049
+ transcodingStatus?: string | undefined;
2050
+ width?: number | undefined;
2051
+ } | undefined;
2052
+ } | undefined;
2053
+ spoiler?: boolean;
2054
+ modReports?: any[][];
2055
+ userReports?: any[][];
2056
+ removedBy?: string | undefined;
2057
+ removedByCategory?: string | undefined;
2058
+ } | undefined;
2059
+ }[];
2060
+ dist?: number | undefined;
2061
+ } | undefined;
2062
+ }): Listing;
2063
+ };
2064
+ readonly responseStream: false;
2065
+ readonly options: {};
2066
+ };
2067
+ /** https://www.reddit.com/dev/api#GET_about_\edited */
2068
+ readonly aboutEdited: {
2069
+ readonly name: "AboutEdited";
2070
+ readonly requestType: {
2071
+ $type: "devvit.plugin.redditapi.moderation.AboutLocationRequest";
2072
+ encode(message: AboutLocationRequest, writer?: _m0.Writer): _m0.Writer;
2073
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AboutLocationRequest;
2074
+ fromJSON(object: any): AboutLocationRequest;
2075
+ toJSON(message: AboutLocationRequest): unknown;
2076
+ create(base?: {
2077
+ after?: string | undefined;
2078
+ before?: string | undefined;
2079
+ count?: number | undefined;
2080
+ limit?: number | undefined;
2081
+ location?: string;
2082
+ only?: string | undefined;
2083
+ show?: string | undefined;
2084
+ subreddit?: string;
2085
+ } | undefined): AboutLocationRequest;
2086
+ fromPartial(object: {
2087
+ after?: string | undefined;
2088
+ before?: string | undefined;
2089
+ count?: number | undefined;
2090
+ limit?: number | undefined;
2091
+ location?: string;
2092
+ only?: string | undefined;
2093
+ show?: string | undefined;
2094
+ subreddit?: string;
2095
+ }): AboutLocationRequest;
2096
+ };
2097
+ readonly requestStream: false;
2098
+ readonly responseType: {
2099
+ $type: "devvit.plugin.redditapi.common.Listing";
2100
+ encode(message: Listing, writer?: _m0.Writer): _m0.Writer;
2101
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Listing;
2102
+ fromJSON(object: any): Listing;
2103
+ toJSON(message: Listing): unknown;
2104
+ create(base?: {
2105
+ kind?: string;
2106
+ data?: {
2107
+ after?: string | undefined;
2108
+ before?: string | undefined;
2109
+ children?: {
2110
+ kind?: string;
2111
+ data?: {
2112
+ allAwardings?: {
2113
+ typeUrl?: string;
2114
+ value?: Uint8Array;
2115
+ }[];
2116
+ approved?: boolean | undefined;
2117
+ approvedAtUtc?: number | undefined;
2118
+ approvedBy?: string | undefined;
2119
+ archived?: boolean | undefined;
2120
+ associatedAward?: string | undefined;
2121
+ author?: string | undefined;
2122
+ authorFlairBackgroundColor?: string | undefined;
2123
+ authorFlairCssClass?: string | undefined;
2124
+ authorFlairRichtext?: {
2125
+ e?: string | undefined;
2126
+ t?: string | undefined;
2127
+ a?: string | undefined;
2128
+ u?: string | undefined;
2129
+ }[];
2130
+ authorFlairTemplateId?: string | undefined;
2131
+ authorFlairText?: string | undefined;
2132
+ authorFlairTextColor?: string | undefined;
2133
+ authorFlairType?: string | undefined;
2134
+ authorFullname?: string | undefined;
2135
+ authorIsBlocked?: boolean | undefined;
2136
+ authorPatreonFlair?: boolean | undefined;
2137
+ authorPremium?: boolean | undefined;
2138
+ awarders?: string[];
2139
+ bannedAtUtc?: number | undefined;
2140
+ bannedBy?: string | undefined;
2141
+ body?: string | undefined;
2142
+ bodyHtml?: string | undefined;
2143
+ canGild?: boolean | undefined;
2144
+ canModPost?: boolean | undefined;
2145
+ collapsed?: boolean | undefined;
2146
+ collapsedBecauseCrowdControl?: boolean | undefined;
2147
+ collapsedReason?: string | undefined;
2148
+ collapsedReasonCode?: string | undefined;
2149
+ commentType?: string | undefined;
2150
+ controversiality?: number | undefined;
2151
+ created?: number | undefined;
2152
+ createdUtc?: number | undefined;
2153
+ distinguished?: string | undefined;
2154
+ downs?: number | undefined;
2155
+ edited?: boolean | undefined;
2156
+ gilded?: number | undefined;
2157
+ gildings?: {
2158
+ typeUrl?: string;
2159
+ value?: Uint8Array;
2160
+ } | undefined;
2161
+ id?: string | undefined;
2162
+ ignoreReports?: boolean | undefined;
2163
+ isSubmitter?: boolean | undefined;
2164
+ likes?: boolean | undefined;
2165
+ linkId?: string | undefined;
2166
+ locked?: boolean | undefined;
2167
+ modNote?: string | undefined;
2168
+ modReasonBy?: string | undefined;
2169
+ modReasonTitle?: string | undefined;
2170
+ name?: string | undefined;
2171
+ noFollow?: boolean | undefined;
2172
+ numReports?: number | undefined;
2173
+ parentId?: string | undefined;
2174
+ permalink?: string | undefined;
2175
+ removalReason?: string | undefined;
2176
+ removed?: boolean | undefined;
2177
+ replies?: string | undefined;
2178
+ reportReasons?: any[] | undefined;
2179
+ rteMode?: string | undefined;
2180
+ saved?: boolean | undefined;
2181
+ score?: number | undefined;
2182
+ scoreHidden?: boolean | undefined;
2183
+ sendReplies?: boolean | undefined;
2184
+ spam?: boolean | undefined;
2185
+ stickied?: boolean | undefined;
2186
+ subreddit?: string | undefined;
2187
+ subredditId?: string | undefined;
2188
+ subredditNamePrefixed?: string | undefined;
2189
+ subredditType?: string | undefined;
2190
+ topAwardedType?: string | undefined;
2191
+ totalAwardsReceived?: number | undefined;
2192
+ treatmentTags?: {
2193
+ typeUrl?: string;
2194
+ value?: Uint8Array;
2195
+ }[];
2196
+ unrepliableReason?: string | undefined;
2197
+ ups?: number | undefined;
2198
+ depth?: number | undefined;
2199
+ linkTitle?: string | undefined;
2200
+ linkAuthor?: string | undefined;
2201
+ numComments?: number | undefined;
2202
+ over18?: boolean | undefined;
2203
+ linkPermalink?: string | undefined;
2204
+ quarantine?: boolean | undefined;
2205
+ linkUrl?: string | undefined;
2206
+ selftext?: string | undefined;
2207
+ selftextHtml?: string | undefined;
2208
+ thumbnail?: string | undefined;
2209
+ thumbnailWidth?: number | undefined;
2210
+ thumbnailHeight?: number | undefined;
2211
+ title?: string | undefined;
2212
+ url?: string | undefined;
2213
+ displayName?: string | undefined;
2214
+ modPermissions?: string[];
2215
+ count?: number | undefined;
2216
+ children?: any[] | undefined;
2217
+ replyList?: any | undefined;
2218
+ hidden?: boolean | undefined;
2219
+ linkFlairBackgroundColor?: string | undefined;
2220
+ linkFlairCssClass?: string | undefined;
2221
+ linkFlairRichtext?: {
2222
+ e?: string | undefined;
2223
+ t?: string | undefined;
2224
+ a?: string | undefined;
2225
+ u?: string | undefined;
2226
+ }[];
2227
+ linkFlairTemplateId?: string | undefined;
2228
+ linkFlairText?: string | undefined;
2229
+ linkFlairTextColor?: string | undefined;
2230
+ linkFlairType?: string | undefined;
2231
+ secureMedia?: {
2232
+ type?: string;
2233
+ oembed?: {
2234
+ type?: string;
2235
+ title?: string | undefined;
2236
+ providerName?: string | undefined;
2237
+ providerUrl?: string | undefined;
2238
+ version?: string;
2239
+ thumbnailWidth?: number | undefined;
2240
+ thumbnailHeight?: number | undefined;
2241
+ thumbnailUrl?: string | undefined;
2242
+ html?: string;
2243
+ height?: number | undefined;
2244
+ width?: number | undefined;
2245
+ authorUrl?: string | undefined;
2246
+ authorName?: string | undefined;
2247
+ } | undefined;
2248
+ redditVideo?: {
2249
+ bitrateKbps?: number | undefined;
2250
+ dashUrl?: string | undefined;
2251
+ duration?: number | undefined;
2252
+ fallbackUrl?: string | undefined;
2253
+ height?: number | undefined;
2254
+ hlsUrl?: string | undefined;
2255
+ isGif?: boolean | undefined;
2256
+ scrubberMediaUrl?: string | undefined;
2257
+ transcodingStatus?: string | undefined;
2258
+ width?: number | undefined;
2259
+ } | undefined;
2260
+ } | undefined;
2261
+ spoiler?: boolean;
2262
+ modReports?: any[][];
2263
+ userReports?: any[][];
2264
+ removedBy?: string | undefined;
2265
+ removedByCategory?: string | undefined;
2266
+ } | undefined;
2267
+ }[];
2268
+ dist?: number | undefined;
2269
+ } | undefined;
2270
+ } | undefined): Listing;
2271
+ fromPartial(object: {
2272
+ kind?: string;
2273
+ data?: {
2274
+ after?: string | undefined;
2275
+ before?: string | undefined;
2276
+ children?: {
2277
+ kind?: string;
2278
+ data?: {
2279
+ allAwardings?: {
2280
+ typeUrl?: string;
2281
+ value?: Uint8Array;
2282
+ }[];
2283
+ approved?: boolean | undefined;
2284
+ approvedAtUtc?: number | undefined;
2285
+ approvedBy?: string | undefined;
2286
+ archived?: boolean | undefined;
2287
+ associatedAward?: string | undefined;
2288
+ author?: string | undefined;
2289
+ authorFlairBackgroundColor?: string | undefined;
2290
+ authorFlairCssClass?: string | undefined;
2291
+ authorFlairRichtext?: {
2292
+ e?: string | undefined;
2293
+ t?: string | undefined;
2294
+ a?: string | undefined;
2295
+ u?: string | undefined;
2296
+ }[];
2297
+ authorFlairTemplateId?: string | undefined;
2298
+ authorFlairText?: string | undefined;
2299
+ authorFlairTextColor?: string | undefined;
2300
+ authorFlairType?: string | undefined;
2301
+ authorFullname?: string | undefined;
2302
+ authorIsBlocked?: boolean | undefined;
2303
+ authorPatreonFlair?: boolean | undefined;
2304
+ authorPremium?: boolean | undefined;
2305
+ awarders?: string[];
2306
+ bannedAtUtc?: number | undefined;
2307
+ bannedBy?: string | undefined;
2308
+ body?: string | undefined;
2309
+ bodyHtml?: string | undefined;
2310
+ canGild?: boolean | undefined;
2311
+ canModPost?: boolean | undefined;
2312
+ collapsed?: boolean | undefined;
2313
+ collapsedBecauseCrowdControl?: boolean | undefined;
2314
+ collapsedReason?: string | undefined;
2315
+ collapsedReasonCode?: string | undefined;
2316
+ commentType?: string | undefined;
2317
+ controversiality?: number | undefined;
2318
+ created?: number | undefined;
2319
+ createdUtc?: number | undefined;
2320
+ distinguished?: string | undefined;
2321
+ downs?: number | undefined;
2322
+ edited?: boolean | undefined;
2323
+ gilded?: number | undefined;
2324
+ gildings?: {
2325
+ typeUrl?: string;
2326
+ value?: Uint8Array;
2327
+ } | undefined;
2328
+ id?: string | undefined;
2329
+ ignoreReports?: boolean | undefined;
2330
+ isSubmitter?: boolean | undefined;
2331
+ likes?: boolean | undefined;
2332
+ linkId?: string | undefined;
2333
+ locked?: boolean | undefined;
2334
+ modNote?: string | undefined;
2335
+ modReasonBy?: string | undefined;
2336
+ modReasonTitle?: string | undefined;
2337
+ name?: string | undefined;
2338
+ noFollow?: boolean | undefined;
2339
+ numReports?: number | undefined;
2340
+ parentId?: string | undefined;
2341
+ permalink?: string | undefined;
2342
+ removalReason?: string | undefined;
2343
+ removed?: boolean | undefined;
2344
+ replies?: string | undefined;
2345
+ reportReasons?: any[] | undefined;
2346
+ rteMode?: string | undefined;
2347
+ saved?: boolean | undefined;
2348
+ score?: number | undefined;
2349
+ scoreHidden?: boolean | undefined;
2350
+ sendReplies?: boolean | undefined;
2351
+ spam?: boolean | undefined;
2352
+ stickied?: boolean | undefined;
2353
+ subreddit?: string | undefined;
2354
+ subredditId?: string | undefined;
2355
+ subredditNamePrefixed?: string | undefined;
2356
+ subredditType?: string | undefined;
2357
+ topAwardedType?: string | undefined;
2358
+ totalAwardsReceived?: number | undefined;
2359
+ treatmentTags?: {
2360
+ typeUrl?: string;
2361
+ value?: Uint8Array;
2362
+ }[];
2363
+ unrepliableReason?: string | undefined;
2364
+ ups?: number | undefined;
2365
+ depth?: number | undefined;
2366
+ linkTitle?: string | undefined;
2367
+ linkAuthor?: string | undefined;
2368
+ numComments?: number | undefined;
2369
+ over18?: boolean | undefined;
2370
+ linkPermalink?: string | undefined;
2371
+ quarantine?: boolean | undefined;
2372
+ linkUrl?: string | undefined;
2373
+ selftext?: string | undefined;
2374
+ selftextHtml?: string | undefined;
2375
+ thumbnail?: string | undefined;
2376
+ thumbnailWidth?: number | undefined;
2377
+ thumbnailHeight?: number | undefined;
2378
+ title?: string | undefined;
2379
+ url?: string | undefined;
2380
+ displayName?: string | undefined;
2381
+ modPermissions?: string[];
2382
+ count?: number | undefined;
2383
+ children?: any[] | undefined;
2384
+ replyList?: any | undefined;
2385
+ hidden?: boolean | undefined;
2386
+ linkFlairBackgroundColor?: string | undefined;
2387
+ linkFlairCssClass?: string | undefined;
2388
+ linkFlairRichtext?: {
2389
+ e?: string | undefined;
2390
+ t?: string | undefined;
2391
+ a?: string | undefined;
2392
+ u?: string | undefined;
2393
+ }[];
2394
+ linkFlairTemplateId?: string | undefined;
2395
+ linkFlairText?: string | undefined;
2396
+ linkFlairTextColor?: string | undefined;
2397
+ linkFlairType?: string | undefined;
2398
+ secureMedia?: {
2399
+ type?: string;
2400
+ oembed?: {
2401
+ type?: string;
2402
+ title?: string | undefined;
2403
+ providerName?: string | undefined;
2404
+ providerUrl?: string | undefined;
2405
+ version?: string;
2406
+ thumbnailWidth?: number | undefined;
2407
+ thumbnailHeight?: number | undefined;
2408
+ thumbnailUrl?: string | undefined;
2409
+ html?: string;
2410
+ height?: number | undefined;
2411
+ width?: number | undefined;
2412
+ authorUrl?: string | undefined;
2413
+ authorName?: string | undefined;
2414
+ } | undefined;
2415
+ redditVideo?: {
2416
+ bitrateKbps?: number | undefined;
2417
+ dashUrl?: string | undefined;
2418
+ duration?: number | undefined;
2419
+ fallbackUrl?: string | undefined;
2420
+ height?: number | undefined;
2421
+ hlsUrl?: string | undefined;
2422
+ isGif?: boolean | undefined;
2423
+ scrubberMediaUrl?: string | undefined;
2424
+ transcodingStatus?: string | undefined;
2425
+ width?: number | undefined;
2426
+ } | undefined;
2427
+ } | undefined;
2428
+ spoiler?: boolean;
2429
+ modReports?: any[][];
2430
+ userReports?: any[][];
2431
+ removedBy?: string | undefined;
2432
+ removedByCategory?: string | undefined;
2433
+ } | undefined;
2434
+ }[];
2435
+ dist?: number | undefined;
2436
+ } | undefined;
2437
+ }): Listing;
2438
+ };
2439
+ readonly responseStream: false;
2440
+ readonly options: {};
2441
+ };
2442
+ /** https://www.reddit.com/dev/api#POST_api_accept_moderator_invite */
2443
+ readonly acceptModeratorInvite: {
2444
+ readonly name: "AcceptModeratorInvite";
2445
+ readonly requestType: {
2446
+ $type: "devvit.plugin.redditapi.moderation.AcceptModeratorInviteRequest";
2447
+ encode(message: AcceptModeratorInviteRequest, writer?: _m0.Writer): _m0.Writer;
2448
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AcceptModeratorInviteRequest;
2449
+ fromJSON(object: any): AcceptModeratorInviteRequest;
2450
+ toJSON(message: AcceptModeratorInviteRequest): unknown;
2451
+ create(base?: {
2452
+ subreddit?: string;
2453
+ } | undefined): AcceptModeratorInviteRequest;
2454
+ fromPartial(object: {
2455
+ subreddit?: string;
2456
+ }): AcceptModeratorInviteRequest;
2457
+ };
2458
+ readonly requestStream: false;
2459
+ readonly responseType: {
2460
+ $type: "devvit.plugin.redditapi.common.JsonStatus";
2461
+ encode(message: JsonStatus, writer?: _m0.Writer): _m0.Writer;
2462
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): JsonStatus;
2463
+ fromJSON(object: any): JsonStatus;
2464
+ toJSON(message: JsonStatus): unknown;
2465
+ create(base?: {
2466
+ json?: {
2467
+ errors?: string[];
2468
+ } | undefined;
2469
+ } | undefined): JsonStatus;
2470
+ fromPartial(object: {
2471
+ json?: {
2472
+ errors?: string[];
2473
+ } | undefined;
2474
+ }): JsonStatus;
2475
+ };
2476
+ readonly responseStream: false;
2477
+ readonly options: {};
2478
+ };
2479
+ /** https://www.reddit.com/dev/api#POST_api_approve */
2480
+ readonly approve: {
2481
+ readonly name: "Approve";
2482
+ readonly requestType: {
2483
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
2484
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
2485
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
2486
+ fromJSON(object: any): BasicModerationIdRequest;
2487
+ toJSON(message: BasicModerationIdRequest): unknown;
2488
+ create(base?: {
2489
+ id?: string;
2490
+ } | undefined): BasicModerationIdRequest;
2491
+ fromPartial(object: {
2492
+ id?: string;
2493
+ }): BasicModerationIdRequest;
2494
+ };
2495
+ readonly requestStream: false;
2496
+ readonly responseType: {
2497
+ $type: "google.protobuf.Empty";
2498
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
2499
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
2500
+ fromJSON(_: any): Empty;
2501
+ toJSON(_: Empty): unknown;
2502
+ create(base?: {} | undefined): Empty;
2503
+ fromPartial(_: {}): Empty;
2504
+ };
2505
+ readonly responseStream: false;
2506
+ readonly options: {};
2507
+ };
2508
+ /** https://www.reddit.com/dev/api#POST_api_distinguish */
2509
+ readonly distinguish: {
2510
+ readonly name: "Distinguish";
2511
+ readonly requestType: {
2512
+ $type: "devvit.plugin.redditapi.moderation.DistinguishRequest";
2513
+ encode(message: DistinguishRequest, writer?: _m0.Writer): _m0.Writer;
2514
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): DistinguishRequest;
2515
+ fromJSON(object: any): DistinguishRequest;
2516
+ toJSON(message: DistinguishRequest): unknown;
2517
+ create(base?: {
2518
+ how?: string;
2519
+ id?: string;
2520
+ sticky?: boolean;
2521
+ } | undefined): DistinguishRequest;
2522
+ fromPartial(object: {
2523
+ how?: string;
2524
+ id?: string;
2525
+ sticky?: boolean;
2526
+ }): DistinguishRequest;
2527
+ };
2528
+ readonly requestStream: false;
2529
+ readonly responseType: {
2530
+ $type: "devvit.plugin.redditapi.common.JsonRedditObjects";
2531
+ encode(message: JsonRedditObjects, writer?: _m0.Writer): _m0.Writer;
2532
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): JsonRedditObjects;
2533
+ fromJSON(object: any): JsonRedditObjects;
2534
+ toJSON(message: JsonRedditObjects): unknown;
2535
+ create(base?: {
2536
+ json?: {
2537
+ errors?: {
2538
+ typeUrl?: string;
2539
+ value?: Uint8Array;
2540
+ }[];
2541
+ data?: {
2542
+ things?: {
2543
+ kind?: string;
2544
+ data?: {
2545
+ allAwardings?: {
2546
+ typeUrl?: string;
2547
+ value?: Uint8Array;
2548
+ }[];
2549
+ approved?: boolean | undefined;
2550
+ approvedAtUtc?: number | undefined;
2551
+ approvedBy?: string | undefined;
2552
+ archived?: boolean | undefined;
2553
+ associatedAward?: string | undefined;
2554
+ author?: string | undefined;
2555
+ authorFlairBackgroundColor?: string | undefined;
2556
+ authorFlairCssClass?: string | undefined;
2557
+ authorFlairRichtext?: {
2558
+ e?: string | undefined;
2559
+ t?: string | undefined;
2560
+ a?: string | undefined;
2561
+ u?: string | undefined;
2562
+ }[];
2563
+ authorFlairTemplateId?: string | undefined;
2564
+ authorFlairText?: string | undefined;
2565
+ authorFlairTextColor?: string | undefined;
2566
+ authorFlairType?: string | undefined;
2567
+ authorFullname?: string | undefined;
2568
+ authorIsBlocked?: boolean | undefined;
2569
+ authorPatreonFlair?: boolean | undefined;
2570
+ authorPremium?: boolean | undefined;
2571
+ awarders?: string[];
2572
+ bannedAtUtc?: number | undefined;
2573
+ bannedBy?: string | undefined;
2574
+ body?: string | undefined;
2575
+ bodyHtml?: string | undefined;
2576
+ canGild?: boolean | undefined;
2577
+ canModPost?: boolean | undefined;
2578
+ collapsed?: boolean | undefined;
2579
+ collapsedBecauseCrowdControl?: boolean | undefined;
2580
+ collapsedReason?: string | undefined;
2581
+ collapsedReasonCode?: string | undefined;
2582
+ commentType?: string | undefined;
2583
+ controversiality?: number | undefined;
2584
+ created?: number | undefined;
2585
+ createdUtc?: number | undefined;
2586
+ distinguished?: string | undefined;
2587
+ downs?: number | undefined;
2588
+ edited?: boolean | undefined;
2589
+ gilded?: number | undefined;
2590
+ gildings?: {
2591
+ typeUrl?: string;
2592
+ value?: Uint8Array;
2593
+ } | undefined;
2594
+ id?: string | undefined;
2595
+ ignoreReports?: boolean | undefined;
2596
+ isSubmitter?: boolean | undefined;
2597
+ likes?: boolean | undefined;
2598
+ linkId?: string | undefined;
2599
+ locked?: boolean | undefined;
2600
+ modNote?: string | undefined;
2601
+ modReasonBy?: string | undefined;
2602
+ modReasonTitle?: string | undefined;
2603
+ name?: string | undefined;
2604
+ noFollow?: boolean | undefined;
2605
+ numReports?: number | undefined;
2606
+ parentId?: string | undefined;
2607
+ permalink?: string | undefined;
2608
+ removalReason?: string | undefined;
2609
+ removed?: boolean | undefined;
2610
+ replies?: string | undefined;
2611
+ reportReasons?: any[] | undefined;
2612
+ rteMode?: string | undefined;
2613
+ saved?: boolean | undefined;
2614
+ score?: number | undefined;
2615
+ scoreHidden?: boolean | undefined;
2616
+ sendReplies?: boolean | undefined;
2617
+ spam?: boolean | undefined;
2618
+ stickied?: boolean | undefined;
2619
+ subreddit?: string | undefined;
2620
+ subredditId?: string | undefined;
2621
+ subredditNamePrefixed?: string | undefined;
2622
+ subredditType?: string | undefined;
2623
+ topAwardedType?: string | undefined;
2624
+ totalAwardsReceived?: number | undefined;
2625
+ treatmentTags?: {
2626
+ typeUrl?: string;
2627
+ value?: Uint8Array;
2628
+ }[];
2629
+ unrepliableReason?: string | undefined;
2630
+ ups?: number | undefined;
2631
+ depth?: number | undefined;
2632
+ linkTitle?: string | undefined;
2633
+ linkAuthor?: string | undefined;
2634
+ numComments?: number | undefined;
2635
+ over18?: boolean | undefined;
2636
+ linkPermalink?: string | undefined;
2637
+ quarantine?: boolean | undefined;
2638
+ linkUrl?: string | undefined;
2639
+ selftext?: string | undefined;
2640
+ selftextHtml?: string | undefined;
2641
+ thumbnail?: string | undefined;
2642
+ thumbnailWidth?: number | undefined;
2643
+ thumbnailHeight?: number | undefined;
2644
+ title?: string | undefined;
2645
+ url?: string | undefined;
2646
+ displayName?: string | undefined;
2647
+ modPermissions?: string[];
2648
+ count?: number | undefined;
2649
+ children?: any[] | undefined;
2650
+ replyList?: {
2651
+ kind?: string;
2652
+ data?: {
2653
+ after?: string | undefined;
2654
+ before?: string | undefined;
2655
+ children?: any[];
2656
+ dist?: number | undefined;
2657
+ } | undefined;
2658
+ } | undefined;
2659
+ hidden?: boolean | undefined;
2660
+ linkFlairBackgroundColor?: string | undefined;
2661
+ linkFlairCssClass?: string | undefined;
2662
+ linkFlairRichtext?: {
2663
+ e?: string | undefined;
2664
+ t?: string | undefined;
2665
+ a?: string | undefined;
2666
+ u?: string | undefined;
2667
+ }[];
2668
+ linkFlairTemplateId?: string | undefined;
2669
+ linkFlairText?: string | undefined;
2670
+ linkFlairTextColor?: string | undefined;
2671
+ linkFlairType?: string | undefined;
2672
+ secureMedia?: {
2673
+ type?: string;
2674
+ oembed?: {
2675
+ type?: string;
2676
+ title?: string | undefined;
2677
+ providerName?: string | undefined;
2678
+ providerUrl?: string | undefined;
2679
+ version?: string;
2680
+ thumbnailWidth?: number | undefined;
2681
+ thumbnailHeight?: number | undefined;
2682
+ thumbnailUrl?: string | undefined;
2683
+ html?: string;
2684
+ height?: number | undefined;
2685
+ width?: number | undefined;
2686
+ authorUrl?: string | undefined;
2687
+ authorName?: string | undefined;
2688
+ } | undefined;
2689
+ redditVideo?: {
2690
+ bitrateKbps?: number | undefined;
2691
+ dashUrl?: string | undefined;
2692
+ duration?: number | undefined;
2693
+ fallbackUrl?: string | undefined;
2694
+ height?: number | undefined;
2695
+ hlsUrl?: string | undefined;
2696
+ isGif?: boolean | undefined;
2697
+ scrubberMediaUrl?: string | undefined;
2698
+ transcodingStatus?: string | undefined;
2699
+ width?: number | undefined;
2700
+ } | undefined;
2701
+ } | undefined;
2702
+ spoiler?: boolean;
2703
+ modReports?: any[][];
2704
+ userReports?: any[][];
2705
+ removedBy?: string | undefined;
2706
+ removedByCategory?: string | undefined;
2707
+ } | undefined;
2708
+ }[];
2709
+ } | undefined;
2710
+ } | undefined;
2711
+ } | undefined): JsonRedditObjects;
2712
+ fromPartial(object: {
2713
+ json?: {
2714
+ errors?: {
2715
+ typeUrl?: string;
2716
+ value?: Uint8Array;
2717
+ }[];
2718
+ data?: {
2719
+ things?: {
2720
+ kind?: string;
2721
+ data?: {
2722
+ allAwardings?: {
2723
+ typeUrl?: string;
2724
+ value?: Uint8Array;
2725
+ }[];
2726
+ approved?: boolean | undefined;
2727
+ approvedAtUtc?: number | undefined;
2728
+ approvedBy?: string | undefined;
2729
+ archived?: boolean | undefined;
2730
+ associatedAward?: string | undefined;
2731
+ author?: string | undefined;
2732
+ authorFlairBackgroundColor?: string | undefined;
2733
+ authorFlairCssClass?: string | undefined;
2734
+ authorFlairRichtext?: {
2735
+ e?: string | undefined;
2736
+ t?: string | undefined;
2737
+ a?: string | undefined;
2738
+ u?: string | undefined;
2739
+ }[];
2740
+ authorFlairTemplateId?: string | undefined;
2741
+ authorFlairText?: string | undefined;
2742
+ authorFlairTextColor?: string | undefined;
2743
+ authorFlairType?: string | undefined;
2744
+ authorFullname?: string | undefined;
2745
+ authorIsBlocked?: boolean | undefined;
2746
+ authorPatreonFlair?: boolean | undefined;
2747
+ authorPremium?: boolean | undefined;
2748
+ awarders?: string[];
2749
+ bannedAtUtc?: number | undefined;
2750
+ bannedBy?: string | undefined;
2751
+ body?: string | undefined;
2752
+ bodyHtml?: string | undefined;
2753
+ canGild?: boolean | undefined;
2754
+ canModPost?: boolean | undefined;
2755
+ collapsed?: boolean | undefined;
2756
+ collapsedBecauseCrowdControl?: boolean | undefined;
2757
+ collapsedReason?: string | undefined;
2758
+ collapsedReasonCode?: string | undefined;
2759
+ commentType?: string | undefined;
2760
+ controversiality?: number | undefined;
2761
+ created?: number | undefined;
2762
+ createdUtc?: number | undefined;
2763
+ distinguished?: string | undefined;
2764
+ downs?: number | undefined;
2765
+ edited?: boolean | undefined;
2766
+ gilded?: number | undefined;
2767
+ gildings?: {
2768
+ typeUrl?: string;
2769
+ value?: Uint8Array;
2770
+ } | undefined;
2771
+ id?: string | undefined;
2772
+ ignoreReports?: boolean | undefined;
2773
+ isSubmitter?: boolean | undefined;
2774
+ likes?: boolean | undefined;
2775
+ linkId?: string | undefined;
2776
+ locked?: boolean | undefined;
2777
+ modNote?: string | undefined;
2778
+ modReasonBy?: string | undefined;
2779
+ modReasonTitle?: string | undefined;
2780
+ name?: string | undefined;
2781
+ noFollow?: boolean | undefined;
2782
+ numReports?: number | undefined;
2783
+ parentId?: string | undefined;
2784
+ permalink?: string | undefined;
2785
+ removalReason?: string | undefined;
2786
+ removed?: boolean | undefined;
2787
+ replies?: string | undefined;
2788
+ reportReasons?: any[] | undefined;
2789
+ rteMode?: string | undefined;
2790
+ saved?: boolean | undefined;
2791
+ score?: number | undefined;
2792
+ scoreHidden?: boolean | undefined;
2793
+ sendReplies?: boolean | undefined;
2794
+ spam?: boolean | undefined;
2795
+ stickied?: boolean | undefined;
2796
+ subreddit?: string | undefined;
2797
+ subredditId?: string | undefined;
2798
+ subredditNamePrefixed?: string | undefined;
2799
+ subredditType?: string | undefined;
2800
+ topAwardedType?: string | undefined;
2801
+ totalAwardsReceived?: number | undefined;
2802
+ treatmentTags?: {
2803
+ typeUrl?: string;
2804
+ value?: Uint8Array;
2805
+ }[];
2806
+ unrepliableReason?: string | undefined;
2807
+ ups?: number | undefined;
2808
+ depth?: number | undefined;
2809
+ linkTitle?: string | undefined;
2810
+ linkAuthor?: string | undefined;
2811
+ numComments?: number | undefined;
2812
+ over18?: boolean | undefined;
2813
+ linkPermalink?: string | undefined;
2814
+ quarantine?: boolean | undefined;
2815
+ linkUrl?: string | undefined;
2816
+ selftext?: string | undefined;
2817
+ selftextHtml?: string | undefined;
2818
+ thumbnail?: string | undefined;
2819
+ thumbnailWidth?: number | undefined;
2820
+ thumbnailHeight?: number | undefined;
2821
+ title?: string | undefined;
2822
+ url?: string | undefined;
2823
+ displayName?: string | undefined;
2824
+ modPermissions?: string[];
2825
+ count?: number | undefined;
2826
+ children?: any[] | undefined;
2827
+ replyList?: {
2828
+ kind?: string;
2829
+ data?: {
2830
+ after?: string | undefined;
2831
+ before?: string | undefined;
2832
+ children?: any[];
2833
+ dist?: number | undefined;
2834
+ } | undefined;
2835
+ } | undefined;
2836
+ hidden?: boolean | undefined;
2837
+ linkFlairBackgroundColor?: string | undefined;
2838
+ linkFlairCssClass?: string | undefined;
2839
+ linkFlairRichtext?: {
2840
+ e?: string | undefined;
2841
+ t?: string | undefined;
2842
+ a?: string | undefined;
2843
+ u?: string | undefined;
2844
+ }[];
2845
+ linkFlairTemplateId?: string | undefined;
2846
+ linkFlairText?: string | undefined;
2847
+ linkFlairTextColor?: string | undefined;
2848
+ linkFlairType?: string | undefined;
2849
+ secureMedia?: {
2850
+ type?: string;
2851
+ oembed?: {
2852
+ type?: string;
2853
+ title?: string | undefined;
2854
+ providerName?: string | undefined;
2855
+ providerUrl?: string | undefined;
2856
+ version?: string;
2857
+ thumbnailWidth?: number | undefined;
2858
+ thumbnailHeight?: number | undefined;
2859
+ thumbnailUrl?: string | undefined;
2860
+ html?: string;
2861
+ height?: number | undefined;
2862
+ width?: number | undefined;
2863
+ authorUrl?: string | undefined;
2864
+ authorName?: string | undefined;
2865
+ } | undefined;
2866
+ redditVideo?: {
2867
+ bitrateKbps?: number | undefined;
2868
+ dashUrl?: string | undefined;
2869
+ duration?: number | undefined;
2870
+ fallbackUrl?: string | undefined;
2871
+ height?: number | undefined;
2872
+ hlsUrl?: string | undefined;
2873
+ isGif?: boolean | undefined;
2874
+ scrubberMediaUrl?: string | undefined;
2875
+ transcodingStatus?: string | undefined;
2876
+ width?: number | undefined;
2877
+ } | undefined;
2878
+ } | undefined;
2879
+ spoiler?: boolean;
2880
+ modReports?: any[][];
2881
+ userReports?: any[][];
2882
+ removedBy?: string | undefined;
2883
+ removedByCategory?: string | undefined;
2884
+ } | undefined;
2885
+ }[];
2886
+ } | undefined;
2887
+ } | undefined;
2888
+ }): JsonRedditObjects;
2889
+ };
2890
+ readonly responseStream: false;
2891
+ readonly options: {};
2892
+ };
2893
+ /** https://www.reddit.com/dev/api#POST_api_ignore_reports */
2894
+ readonly ignoreReports: {
2895
+ readonly name: "IgnoreReports";
2896
+ readonly requestType: {
2897
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
2898
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
2899
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
2900
+ fromJSON(object: any): BasicModerationIdRequest;
2901
+ toJSON(message: BasicModerationIdRequest): unknown;
2902
+ create(base?: {
2903
+ id?: string;
2904
+ } | undefined): BasicModerationIdRequest;
2905
+ fromPartial(object: {
2906
+ id?: string;
2907
+ }): BasicModerationIdRequest;
2908
+ };
2909
+ readonly requestStream: false;
2910
+ readonly responseType: {
2911
+ $type: "google.protobuf.Empty";
2912
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
2913
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
2914
+ fromJSON(_: any): Empty;
2915
+ toJSON(_: Empty): unknown;
2916
+ create(base?: {} | undefined): Empty;
2917
+ fromPartial(_: {}): Empty;
2918
+ };
2919
+ readonly responseStream: false;
2920
+ readonly options: {};
2921
+ };
2922
+ /** https://www.reddit.com/dev/api#POST_api_leavecontributor */
2923
+ readonly leaveContributor: {
2924
+ readonly name: "LeaveContributor";
2925
+ readonly requestType: {
2926
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
2927
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
2928
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
2929
+ fromJSON(object: any): BasicModerationIdRequest;
2930
+ toJSON(message: BasicModerationIdRequest): unknown;
2931
+ create(base?: {
2932
+ id?: string;
2933
+ } | undefined): BasicModerationIdRequest;
2934
+ fromPartial(object: {
2935
+ id?: string;
2936
+ }): BasicModerationIdRequest;
2937
+ };
2938
+ readonly requestStream: false;
2939
+ readonly responseType: {
2940
+ $type: "google.protobuf.Empty";
2941
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
2942
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
2943
+ fromJSON(_: any): Empty;
2944
+ toJSON(_: Empty): unknown;
2945
+ create(base?: {} | undefined): Empty;
2946
+ fromPartial(_: {}): Empty;
2947
+ };
2948
+ readonly responseStream: false;
2949
+ readonly options: {};
2950
+ };
2951
+ /** https://www.reddit.com/dev/api#POST_api_leavemoderator */
2952
+ readonly leaveModerator: {
2953
+ readonly name: "LeaveModerator";
2954
+ readonly requestType: {
2955
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
2956
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
2957
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
2958
+ fromJSON(object: any): BasicModerationIdRequest;
2959
+ toJSON(message: BasicModerationIdRequest): unknown;
2960
+ create(base?: {
2961
+ id?: string;
2962
+ } | undefined): BasicModerationIdRequest;
2963
+ fromPartial(object: {
2964
+ id?: string;
2965
+ }): BasicModerationIdRequest;
2966
+ };
2967
+ readonly requestStream: false;
2968
+ readonly responseType: {
2969
+ $type: "google.protobuf.Empty";
2970
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
2971
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
2972
+ fromJSON(_: any): Empty;
2973
+ toJSON(_: Empty): unknown;
2974
+ create(base?: {} | undefined): Empty;
2975
+ fromPartial(_: {}): Empty;
2976
+ };
2977
+ readonly responseStream: false;
2978
+ readonly options: {};
2979
+ };
2980
+ /** https://www.reddit.com/dev/api#POST_api_mute_message_author */
2981
+ readonly muteMessageAuthor: {
2982
+ readonly name: "MuteMessageAuthor";
2983
+ readonly requestType: {
2984
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
2985
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
2986
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
2987
+ fromJSON(object: any): BasicModerationIdRequest;
2988
+ toJSON(message: BasicModerationIdRequest): unknown;
2989
+ create(base?: {
2990
+ id?: string;
2991
+ } | undefined): BasicModerationIdRequest;
2992
+ fromPartial(object: {
2993
+ id?: string;
2994
+ }): BasicModerationIdRequest;
2995
+ };
2996
+ readonly requestStream: false;
2997
+ readonly responseType: {
2998
+ $type: "google.protobuf.Empty";
2999
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3000
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3001
+ fromJSON(_: any): Empty;
3002
+ toJSON(_: Empty): unknown;
3003
+ create(base?: {} | undefined): Empty;
3004
+ fromPartial(_: {}): Empty;
3005
+ };
3006
+ readonly responseStream: false;
3007
+ readonly options: {};
3008
+ };
3009
+ /** https://www.reddit.com/dev/api#POST_api_remove */
3010
+ readonly remove: {
3011
+ readonly name: "Remove";
3012
+ readonly requestType: {
3013
+ $type: "devvit.plugin.redditapi.moderation.RemoveRequest";
3014
+ encode(message: RemoveRequest, writer?: _m0.Writer): _m0.Writer;
3015
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RemoveRequest;
3016
+ fromJSON(object: any): RemoveRequest;
3017
+ toJSON(message: RemoveRequest): unknown;
3018
+ create(base?: {
3019
+ id?: string;
3020
+ spam?: boolean;
3021
+ } | undefined): RemoveRequest;
3022
+ fromPartial(object: {
3023
+ id?: string;
3024
+ spam?: boolean;
3025
+ }): RemoveRequest;
3026
+ };
3027
+ readonly requestStream: false;
3028
+ readonly responseType: {
3029
+ $type: "google.protobuf.Empty";
3030
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3031
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3032
+ fromJSON(_: any): Empty;
3033
+ toJSON(_: Empty): unknown;
3034
+ create(base?: {} | undefined): Empty;
3035
+ fromPartial(_: {}): Empty;
3036
+ };
3037
+ readonly responseStream: false;
3038
+ readonly options: {};
3039
+ };
3040
+ /** https://www.reddit.com/dev/api#POST_api_show_comment */
3041
+ readonly showComment: {
3042
+ readonly name: "ShowComment";
3043
+ readonly requestType: {
3044
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
3045
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
3046
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
3047
+ fromJSON(object: any): BasicModerationIdRequest;
3048
+ toJSON(message: BasicModerationIdRequest): unknown;
3049
+ create(base?: {
3050
+ id?: string;
3051
+ } | undefined): BasicModerationIdRequest;
3052
+ fromPartial(object: {
3053
+ id?: string;
3054
+ }): BasicModerationIdRequest;
3055
+ };
3056
+ readonly requestStream: false;
3057
+ readonly responseType: {
3058
+ $type: "google.protobuf.Empty";
3059
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3060
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3061
+ fromJSON(_: any): Empty;
3062
+ toJSON(_: Empty): unknown;
3063
+ create(base?: {} | undefined): Empty;
3064
+ fromPartial(_: {}): Empty;
3065
+ };
3066
+ readonly responseStream: false;
3067
+ readonly options: {};
3068
+ };
3069
+ /** https://www.reddit.com/dev/api#POST_api_snooze_reports */
3070
+ readonly snoozeReports: {
3071
+ readonly name: "SnoozeReports";
3072
+ readonly requestType: {
3073
+ $type: "devvit.plugin.redditapi.moderation.SnoozeReportsRequest";
3074
+ encode(message: SnoozeReportsRequest, writer?: _m0.Writer): _m0.Writer;
3075
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SnoozeReportsRequest;
3076
+ fromJSON(object: any): SnoozeReportsRequest;
3077
+ toJSON(message: SnoozeReportsRequest): unknown;
3078
+ create(base?: {
3079
+ id?: string;
3080
+ reason?: string;
3081
+ } | undefined): SnoozeReportsRequest;
3082
+ fromPartial(object: {
3083
+ id?: string;
3084
+ reason?: string;
3085
+ }): SnoozeReportsRequest;
3086
+ };
3087
+ readonly requestStream: false;
3088
+ readonly responseType: {
3089
+ $type: "google.protobuf.Empty";
3090
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3091
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3092
+ fromJSON(_: any): Empty;
3093
+ toJSON(_: Empty): unknown;
3094
+ create(base?: {} | undefined): Empty;
3095
+ fromPartial(_: {}): Empty;
3096
+ };
3097
+ readonly responseStream: false;
3098
+ readonly options: {};
3099
+ };
3100
+ /** https://www.reddit.com/dev/api#POST_api_unignore_reports */
3101
+ readonly unignoreReports: {
3102
+ readonly name: "UnignoreReports";
3103
+ readonly requestType: {
3104
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
3105
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
3106
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
3107
+ fromJSON(object: any): BasicModerationIdRequest;
3108
+ toJSON(message: BasicModerationIdRequest): unknown;
3109
+ create(base?: {
3110
+ id?: string;
3111
+ } | undefined): BasicModerationIdRequest;
3112
+ fromPartial(object: {
3113
+ id?: string;
3114
+ }): BasicModerationIdRequest;
3115
+ };
3116
+ readonly requestStream: false;
3117
+ readonly responseType: {
3118
+ $type: "google.protobuf.Empty";
3119
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3120
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3121
+ fromJSON(_: any): Empty;
3122
+ toJSON(_: Empty): unknown;
3123
+ create(base?: {} | undefined): Empty;
3124
+ fromPartial(_: {}): Empty;
3125
+ };
3126
+ readonly responseStream: false;
3127
+ readonly options: {};
3128
+ };
3129
+ /** https://www.reddit.com/dev/api#POST_api_unmute_message_author */
3130
+ readonly unmuteMessageAuthor: {
3131
+ readonly name: "UnmuteMessageAuthor";
3132
+ readonly requestType: {
3133
+ $type: "devvit.plugin.redditapi.moderation.BasicModerationIdRequest";
3134
+ encode(message: BasicModerationIdRequest, writer?: _m0.Writer): _m0.Writer;
3135
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BasicModerationIdRequest;
3136
+ fromJSON(object: any): BasicModerationIdRequest;
3137
+ toJSON(message: BasicModerationIdRequest): unknown;
3138
+ create(base?: {
3139
+ id?: string;
3140
+ } | undefined): BasicModerationIdRequest;
3141
+ fromPartial(object: {
3142
+ id?: string;
3143
+ }): BasicModerationIdRequest;
3144
+ };
3145
+ readonly requestStream: false;
3146
+ readonly responseType: {
3147
+ $type: "google.protobuf.Empty";
3148
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3149
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3150
+ fromJSON(_: any): Empty;
3151
+ toJSON(_: Empty): unknown;
3152
+ create(base?: {} | undefined): Empty;
3153
+ fromPartial(_: {}): Empty;
3154
+ };
3155
+ readonly responseStream: false;
3156
+ readonly options: {};
3157
+ };
3158
+ /** https://www.reddit.com/dev/api#POST_api_unsnooze_reports */
3159
+ readonly unsnoozeReports: {
3160
+ readonly name: "UnsnoozeReports";
3161
+ readonly requestType: {
3162
+ $type: "devvit.plugin.redditapi.moderation.SnoozeReportsRequest";
3163
+ encode(message: SnoozeReportsRequest, writer?: _m0.Writer): _m0.Writer;
3164
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SnoozeReportsRequest;
3165
+ fromJSON(object: any): SnoozeReportsRequest;
3166
+ toJSON(message: SnoozeReportsRequest): unknown;
3167
+ create(base?: {
3168
+ id?: string;
3169
+ reason?: string;
3170
+ } | undefined): SnoozeReportsRequest;
3171
+ fromPartial(object: {
3172
+ id?: string;
3173
+ reason?: string;
3174
+ }): SnoozeReportsRequest;
3175
+ };
3176
+ readonly requestStream: false;
3177
+ readonly responseType: {
3178
+ $type: "google.protobuf.Empty";
3179
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3180
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3181
+ fromJSON(_: any): Empty;
3182
+ toJSON(_: Empty): unknown;
3183
+ create(base?: {} | undefined): Empty;
3184
+ fromPartial(_: {}): Empty;
3185
+ };
3186
+ readonly responseStream: false;
3187
+ readonly options: {};
3188
+ };
3189
+ /** https://www.reddit.com/dev/api#POST_api_update_crowd_control_level */
3190
+ readonly updateCrowdControlLevel: {
3191
+ readonly name: "UpdateCrowdControlLevel";
3192
+ readonly requestType: {
3193
+ $type: "devvit.plugin.redditapi.moderation.UpdateCrowdControlLevelRequest";
3194
+ encode(message: UpdateCrowdControlLevelRequest, writer?: _m0.Writer): _m0.Writer;
3195
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateCrowdControlLevelRequest;
3196
+ fromJSON(object: any): UpdateCrowdControlLevelRequest;
3197
+ toJSON(message: UpdateCrowdControlLevelRequest): unknown;
3198
+ create(base?: {
3199
+ id?: string;
3200
+ level?: number;
3201
+ } | undefined): UpdateCrowdControlLevelRequest;
3202
+ fromPartial(object: {
3203
+ id?: string;
3204
+ level?: number;
3205
+ }): UpdateCrowdControlLevelRequest;
3206
+ };
3207
+ readonly requestStream: false;
3208
+ readonly responseType: {
3209
+ $type: "google.protobuf.Empty";
3210
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
3211
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Empty;
3212
+ fromJSON(_: any): Empty;
3213
+ toJSON(_: Empty): unknown;
3214
+ create(base?: {} | undefined): Empty;
3215
+ fromPartial(_: {}): Empty;
3216
+ };
3217
+ readonly responseStream: false;
3218
+ readonly options: {};
3219
+ };
3220
+ /** https://www.reddit.com/dev/api#GET_stylesheet */
3221
+ readonly stylesheet: {
3222
+ readonly name: "Stylesheet";
3223
+ readonly requestType: {
3224
+ $type: "devvit.plugin.redditapi.moderation.StylesheetRequest";
3225
+ encode(message: StylesheetRequest, writer?: _m0.Writer): _m0.Writer;
3226
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): StylesheetRequest;
3227
+ fromJSON(object: any): StylesheetRequest;
3228
+ toJSON(message: StylesheetRequest): unknown;
3229
+ create(base?: {
3230
+ subreddit?: string;
3231
+ } | undefined): StylesheetRequest;
3232
+ fromPartial(object: {
3233
+ subreddit?: string;
3234
+ }): StylesheetRequest;
3235
+ };
3236
+ readonly requestStream: false;
3237
+ readonly responseType: {
3238
+ $type: "google.protobuf.StringValue";
3239
+ encode(message: StringValue, writer?: _m0.Writer): _m0.Writer;
3240
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): StringValue;
3241
+ fromJSON(object: any): StringValue;
3242
+ toJSON(message: StringValue): unknown;
3243
+ create(base?: {
3244
+ value?: string;
3245
+ } | undefined): StringValue;
3246
+ fromPartial(object: {
3247
+ value?: string;
3248
+ }): StringValue;
3249
+ };
3250
+ readonly responseStream: false;
3251
+ readonly options: {};
96
3252
  };
97
3253
  };
98
3254
  };