@devvit/protos 0.12.1-next-2025-09-08-20-55-43-6ce1b439e.0 → 0.12.1-next-2025-09-09-13-45-18-0f0a506a2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. package/json/devvit/data/api/admin/v1alpha/organization.d.ts +7 -0
  2. package/json/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
  3. package/json/devvit/data/api/v1alpha/admin.d.ts +3 -0
  4. package/json/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  5. package/json/devvit/data/api/v1alpha/filter.d.ts +81 -0
  6. package/json/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
  7. package/json/devvit/data/api/v1alpha/filter.js +21 -0
  8. package/package.json +4 -4
  9. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/expression.proto +92 -0
  10. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
  11. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/validate.proto +4130 -0
  12. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/automation/v1alpha/event_handlers.proto +105 -0
  13. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/hello/hello.proto +18 -0
  14. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/payments/v1alpha/payments.proto +41 -0
  15. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/producer/producer.proto +22 -0
  16. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_action.proto +92 -0
  17. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_type.proto +14 -0
  18. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/post_filter.proto +20 -0
  19. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/action.proto +15 -0
  20. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/handler.proto +15 -0
  21. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/app_settings.proto +21 -0
  22. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/installation_settings.proto +21 -0
  23. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/instance_settings.proto +20 -0
  24. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/shared.proto +34 -0
  25. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/test/wrappertypes.proto +18 -0
  26. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/user_configurable/user_configurable.proto +55 -0
  27. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/webbit/webbit.proto +34 -0
  28. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/analytics/v1/analytics.proto +32 -0
  29. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/init.proto +14 -0
  30. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/playtest.proto +41 -0
  31. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
  32. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
  33. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
  34. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
  35. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
  36. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
  37. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
  38. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
  39. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +804 -0
  40. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/fetcher.proto +20 -0
  41. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
  42. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +138 -0
  43. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
  44. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/debug/v1alpha/debug.proto +18 -0
  45. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/actor/actor_type.proto +12 -0
  46. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin/waitlist_admin.proto +72 -0
  47. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin_portal.proto +38 -0
  48. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/app.proto +365 -0
  49. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/categories/categories.proto +60 -0
  50. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/info/app_info.proto +88 -0
  51. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/app_publish_request.proto +121 -0
  52. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +29 -0
  53. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +27 -0
  54. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_settings/app_settings.proto +48 -0
  55. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/app_version.proto +168 -0
  56. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/info/app_version_info.proto +88 -0
  57. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/audit/audit.proto +75 -0
  58. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/auth/auth.proto +41 -0
  59. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/organization/organization.proto +41 -0
  60. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/subscription/subscription.proto +91 -0
  61. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/user/user.proto +44 -0
  62. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/dev_portal.proto +193 -0
  63. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/developer_account/developer_account.proto +46 -0
  64. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/feedback/feedback.proto +10 -0
  65. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain/fetch_domain.proto +19 -0
  66. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain_request/fetch_domain_request.proto +64 -0
  67. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation/installation.proto +230 -0
  68. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation_settings/installation_settings.proto +51 -0
  69. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/authorization/v1alpha/authorization.proto +45 -0
  70. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/community_drawer/community_drawer.proto +24 -0
  71. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.proto +26 -0
  72. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.proto +19 -0
  73. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/media/media.proto +43 -0
  74. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/nutrition/nutrition.proto +64 -0
  75. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/payments_verification.proto +29 -0
  76. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/product.proto +11 -0
  77. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/reddit/redditor.proto +14 -0
  78. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/waitlist/waitlist.proto +61 -0
  79. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
  80. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/realtime.proto +25 -0
  81. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/wqcleanup.proto +10 -0
  82. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +14 -0
  83. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/custom_post_snapshot.proto +15 -0
  84. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/playtest_subreddit/playtest_subreddit.proto +24 -0
  85. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/resolvers.proto +15 -0
  86. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/app_health.proto +18 -0
  87. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +58 -0
  88. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
  89. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/triggers.proto +37 -0
  90. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/snapshot.proto +11 -0
  91. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/subreddit_metadata.proto +54 -0
  92. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/options/options.proto +98 -0
  93. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/common.proto +13 -0
  94. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/order.proto +48 -0
  95. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/product.proto +65 -0
  96. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/assetresolver/assetresolver.proto +51 -0
  97. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/buildpack/buildpack_common.proto +64 -0
  98. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/clock/clock.proto +13 -0
  99. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/http/http.proto +29 -0
  100. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/inspector/inspector.proto +17 -0
  101. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/kvstore/kvstore.proto +28 -0
  102. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/logger/logger.proto +116 -0
  103. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/media/media.proto +20 -0
  104. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/modlog/modlog.proto +31 -0
  105. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/payments/v1alpha/payments.proto +72 -0
  106. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +671 -0
  107. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_msg.proto +284 -0
  108. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_svc.proto +120 -0
  109. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_msg.proto +35 -0
  110. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_svc.proto +19 -0
  111. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +291 -0
  112. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +253 -0
  113. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_msg.proto +214 -0
  114. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_svc.proto +80 -0
  115. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_msg.proto +137 -0
  116. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_svc.proto +178 -0
  117. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_msg.proto +104 -0
  118. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_svc.proto +45 -0
  119. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_msg.proto +348 -0
  120. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_svc.proto +142 -0
  121. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_msg.proto +48 -0
  122. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_svc.proto +84 -0
  123. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_msg.proto +1087 -0
  124. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +196 -0
  125. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_msg.proto +192 -0
  126. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_svc.proto +101 -0
  127. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_msg.proto +383 -0
  128. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_svc.proto +171 -0
  129. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_msg.proto +217 -0
  130. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_svc.proto +91 -0
  131. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redis/redisapi.proto +434 -0
  132. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/scheduler/scheduler.proto +80 -0
  133. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/settings/v1alpha/settings.proto +33 -0
  134. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/timer/timer.proto +16 -0
  135. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/useractions/useractions.proto +18 -0
  136. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +52 -0
  137. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v2events/v2events.proto +43 -0
  138. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/comment.proto +104 -0
  139. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/common.proto +104 -0
  140. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_actions/v2alpha/custom_actions.proto +73 -0
  141. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_post/v1alpha/custom_post.proto +84 -0
  142. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/post.proto +192 -0
  143. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/subreddit.proto +138 -0
  144. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/thing_type.proto +16 -0
  145. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/user.proto +138 -0
  146. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +30 -0
  147. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
  148. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
  149. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
  150. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +109 -0
  151. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
  152. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
  153. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/remote_logger/remote_logger.proto +65 -0
  154. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/bootstrap.proto +15 -0
  155. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/v1alpha/health.proto +18 -0
  156. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/bundle.proto +171 -0
  157. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/runtime_common.proto +10 -0
  158. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/serializable.proto +28 -0
  159. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/service/bundle_service.proto +22 -0
  160. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
  161. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/attributes.proto +69 -0
  162. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/block.proto +212 -0
  163. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/enums.proto +221 -0
  164. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/rendering.proto +27 -0
  165. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/ui.proto +100 -0
  166. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/common/v1alpha/common.proto +21 -0
  167. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effect_types/v1alpha/realtime_subscription.proto +26 -0
  168. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +19 -0
  169. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/create_order.proto +39 -0
  170. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +71 -0
  171. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/interval.proto +31 -0
  172. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/navigate_to_url.proto +12 -0
  173. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/realtime_subscriptions.proto +26 -0
  174. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/reload_part.proto +48 -0
  175. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/rerender_ui.proto +12 -0
  176. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_form.proto +26 -0
  177. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
  178. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +150 -0
  179. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +21 -0
  180. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/immersive_mode.proto +16 -0
  181. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +104 -0
  182. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/share.proto +22 -0
  183. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/web_view.proto +17 -0
  184. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +113 -0
  185. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/handle_ui.proto +30 -0
  186. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +55 -0
  187. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/field.proto +134 -0
  188. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/form.proto +27 -0
  189. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/type.proto +32 -0
  190. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/value.proto +52 -0
  191. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/toast/toast.proto +48 -0
  192. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/uuid.proto +12 -0
  193. package/schema/.snootobuf/deps/.snootobuf/deps/enum/account_gender_category.proto +14 -0
  194. package/schema/.snootobuf/deps/.snootobuf/deps/enum/approval_status.proto +15 -0
  195. package/schema/.snootobuf/deps/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
  196. package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
  197. package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_info_action.proto +12 -0
  198. package/schema/.snootobuf/deps/.snootobuf/deps/enum/block_relation_type.proto +11 -0
  199. package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_sort.proto +18 -0
  200. package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_type.proto +11 -0
  201. package/schema/.snootobuf/deps/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
  202. package/schema/.snootobuf/deps/.snootobuf/deps/enum/discussion_type.proto +10 -0
  203. package/schema/.snootobuf/deps/.snootobuf/deps/enum/distinguish_type.proto +14 -0
  204. package/schema/.snootobuf/deps/.snootobuf/deps/enum/flair_position.proto +11 -0
  205. package/schema/.snootobuf/deps/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
  206. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_content_type.proto +11 -0
  207. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_type.proto +11 -0
  208. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_visibility.proto +11 -0
  209. package/schema/.snootobuf/deps/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
  210. package/schema/.snootobuf/deps/.snootobuf/deps/enum/promo_layout.proto +11 -0
  211. package/schema/.snootobuf/deps/.snootobuf/deps/enum/removed_by_type.proto +18 -0
  212. package/schema/.snootobuf/deps/.snootobuf/deps/enum/spam_level.proto +11 -0
  213. package/schema/.snootobuf/deps/.snootobuf/deps/enum/subreddit_type.proto +16 -0
  214. package/schema/.snootobuf/deps/.snootobuf/deps/enum/verdict.proto +14 -0
  215. package/schema/.snootobuf/deps/.snootobuf/deps/enum/vote.proto +12 -0
  216. package/schema/.snootobuf/deps/.snootobuf/deps/enum/whitelist_status.proto +17 -0
  217. package/schema/.snootobuf/deps/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
  218. package/schema/.snootobuf/deps/.snootobuf/deps/evaluator/evaluator.proto +203 -0
  219. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/annotations.proto +31 -0
  220. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +274 -0
  221. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/resources.proto +172 -0
  222. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/auth.proto +180 -0
  223. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/backend.proto +50 -0
  224. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/billing.proto +66 -0
  225. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/client.proto +99 -0
  226. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +290 -0
  227. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +312 -0
  228. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/config_change.proto +84 -0
  229. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/consumer.proto +82 -0
  230. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/context.proto +62 -0
  231. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/control.proto +32 -0
  232. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/distribution.proto +212 -0
  233. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/documentation.proto +156 -0
  234. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/endpoint.proto +70 -0
  235. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/error_reason.proto +589 -0
  236. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +180 -0
  237. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
  238. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
  239. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
  240. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
  241. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
  242. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
  243. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
  244. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
  245. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
  246. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
  247. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_behavior.proto +84 -0
  248. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_info.proto +106 -0
  249. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/http.proto +317 -0
  250. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/httpbody.proto +75 -0
  251. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/label.proto +48 -0
  252. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/launch_stage.proto +67 -0
  253. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/log.proto +54 -0
  254. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/logging.proto +82 -0
  255. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/metric.proto +191 -0
  256. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitored_resource.proto +115 -0
  257. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitoring.proto +88 -0
  258. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/policy.proto +85 -0
  259. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/quota.proto +258 -0
  260. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/resource.proto +299 -0
  261. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/routing.proto +461 -0
  262. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/service.proto +174 -0
  263. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
  264. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
  265. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
  266. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
  267. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
  268. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
  269. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
  270. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
  271. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
  272. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
  273. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +483 -0
  274. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
  275. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +295 -0
  276. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
  277. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +756 -0
  278. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/source_info.proto +31 -0
  279. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/system_parameter.proto +95 -0
  280. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/usage.proto +91 -0
  281. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/visibility.proto +113 -0
  282. package/schema/.snootobuf/deps/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
  283. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/admin/v1/iam.proto +1043 -0
  284. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/iam_policy.proto +148 -0
  285. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
  286. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/options.proto +41 -0
  287. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
  288. package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/http_request.proto +91 -0
  289. package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/log_severity.proto +71 -0
  290. package/schema/.snootobuf/deps/.snootobuf/deps/google/longrunning/operations.proto +240 -0
  291. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/any.proto +158 -0
  292. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/api.proto +208 -0
  293. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/compiler/plugin.proto +182 -0
  294. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/descriptor.proto +902 -0
  295. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/duration.proto +116 -0
  296. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/empty.proto +51 -0
  297. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
  298. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
  299. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/struct.proto +95 -0
  300. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
  301. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/type.proto +187 -0
  302. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
  303. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/code.proto +186 -0
  304. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
  305. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/error_details.proto +246 -0
  306. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/status.proto +47 -0
  307. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/calendar_period.proto +57 -0
  308. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/color.proto +170 -0
  309. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/date.proto +50 -0
  310. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/datetime.proto +97 -0
  311. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/dayofweek.proto +51 -0
  312. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/expr.proto +51 -0
  313. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/fraction.proto +34 -0
  314. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/latlng.proto +37 -0
  315. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/money.proto +43 -0
  316. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/month.proto +66 -0
  317. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/postal_address.proto +135 -0
  318. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/quaternion.proto +95 -0
  319. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/timeofday.proto +44 -0
  320. package/schema/.snootobuf/deps/.snootobuf/deps/openapi/helper.proto +50 -0
  321. package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/annotations.proto +51 -0
  322. package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/openapiv2.proto +759 -0
  323. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
  324. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +585 -0
  325. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
  326. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
  327. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
  328. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/callback/v1/callback_service.proto +92 -0
  329. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/event/v1/event.proto +52 -0
  330. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/experimental/v1/experimental.proto +71 -0
  331. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/analytics/v1/analytics.proto +12 -0
  332. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/generic/v1/generic.proto +12 -0
  333. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/loadbalancing/v1/loadbalancing.proto +43 -0
  334. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/metadata/v1/metadata.proto +20 -0
  335. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/operation/v1/operation.proto +148 -0
  336. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/publication/v1/publication_service.proto +56 -0
  337. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/offsets.proto +17 -0
  338. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/scheduling.proto +25 -0
  339. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/testing/v1/testing.proto +72 -0
  340. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/workerpool/v1/workerpool.proto +213 -0
  341. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
  342. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
  343. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
  344. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +446 -0
  345. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
  346. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
  347. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
  348. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
  349. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
  350. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
  351. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
  352. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
  353. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
  354. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
  355. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account.proto +56 -0
  356. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account_relations.proto +93 -0
  357. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/cloudevent/v1/cloudevent.proto +67 -0
  358. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/comments/v1/comments.proto +59 -0
  359. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/actor.proto +43 -0
  360. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_attr_key.proto +19 -0
  361. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_extensions.proto +26 -0
  362. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/eventcontext.proto +69 -0
  363. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/links/v1/links.proto +59 -0
  364. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit.proto +86 -0
  365. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit_member_relations.proto +52 -0
  366. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
  367. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +805 -0
  368. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
  369. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
  370. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
  371. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
  372. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
  373. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
  374. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
  375. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
  376. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/data/engagement/v1/engagement.proto +117 -0
  377. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/ads/v1/ads.proto +14 -0
  378. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/app_permission.proto +76 -0
  379. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/service.proto +13 -0
  380. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +39 -0
  381. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/service.proto +12 -0
  382. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/post.proto +119 -0
  383. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/service.proto +14 -0
  384. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +92 -0
  385. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/metadata_service.proto +22 -0
  386. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +12 -0
  387. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/useractions/v1/useractions.proto +13 -0
  388. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
  389. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/cancel_subscription.proto +16 -0
  390. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/change_payment_method.proto +21 -0
  391. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +86 -0
  392. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +426 -0
  393. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/contributor_program.proto +40 -0
  394. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
  395. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/deposit_gold.proto +28 -0
  396. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +35 -0
  397. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_aggregated_transactions_list.proto +37 -0
  398. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
  399. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +56 -0
  400. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +15 -0
  401. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
  402. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +16 -0
  403. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +51 -0
  404. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +24 -0
  405. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_subscriptions.proto +66 -0
  406. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_transaction_list.proto +28 -0
  407. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
  408. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +19 -0
  409. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/revoke_subscription.proto +15 -0
  410. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +86 -0
  411. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +55 -0
  412. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/transfer_subscription.proto +16 -0
  413. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
  414. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/environment.proto +12 -0
  415. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/order_status_reason.proto +29 -0
  416. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +304 -0
  417. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/events.proto +14 -0
  418. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/order.proto +80 -0
  419. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
  420. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +168 -0
  421. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
  422. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +254 -0
  423. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +43 -0
  424. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +293 -0
  425. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  426. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payments_data_compliance.proto +18 -0
  427. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +220 -0
  428. package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
  429. package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
  430. package/schema/.snootobuf/deps/.snootobuf/deps/validate/validate.proto +862 -0
  431. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +26 -1
  432. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +1 -1
  433. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +10 -1
  434. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +2 -1
  435. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +16 -1
  436. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +1 -1
  437. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +1 -1
  438. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +4 -1
  439. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +1 -1
  440. package/schema/.snootobuf/deps/devvit/dev_portal/v1/installation.proto +12 -0
  441. package/schema/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +1 -4
  442. package/schema/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +0 -1
  443. package/schema/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +0 -3
  444. package/schema/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +0 -2
  445. package/schema/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +0 -55
  446. package/schema/.snootobuf/deps/devvit/runtime/bundle.proto +0 -4
  447. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +1 -1
  448. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +1 -2
  449. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +2 -2
  450. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
  451. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +0 -14
  452. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +0 -4
  453. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +2 -5
  454. package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +2 -2
  455. package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +2 -16
  456. package/schema/.snootobuf/deps/reddit/devvit/common/v1/app.proto +44 -0
  457. package/schema/.snootobuf/deps/reddit/devvit/common/v1/context_action.proto +48 -0
  458. package/schema/.snootobuf/deps/reddit/devvit/common/v1/error_message.proto +9 -0
  459. package/schema/.snootobuf/deps/reddit/devvit/common/v1/installation.proto +23 -0
  460. package/schema/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +4 -3
  461. package/schema/.snootobuf/deps/reddit/devvit/post/v1/post.proto +31 -7
  462. package/schema/.snootobuf/deps/reddit/devvit/post/v1/promoted_post.proto +32 -0
  463. package/schema/.snootobuf/deps/reddit/devvit/post/v1/service.proto +4 -0
  464. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +7 -56
  465. package/schema/devvit/data/api/v1alpha/filter.proto +68 -0
  466. package/schema/devvit/dev_portal/data_api/admin/audit/audit.proto +2 -0
  467. package/schema/devvit/dev_portal/data_api/admin/auth/auth.proto +2 -0
  468. package/schema/devvit/dev_portal/data_api/admin/organization/organization.proto +2 -0
  469. package/schema/devvit/dev_portal/data_api/admin/subscription/subscription.proto +2 -0
  470. package/schema/devvit/dev_portal/data_api/admin/user/user.proto +2 -0
  471. package/schema/snootobuf.lock +0 -0
  472. package/schema/snootobuf.redditapi.lock +0 -0
  473. package/schema/snootobuf.yaml +2 -4
  474. package/types/devvit/data/api/admin/v1alpha/organization.d.ts +25 -0
  475. package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
  476. package/types/devvit/data/api/admin/v1alpha/organization.js +122 -0
  477. package/types/devvit/data/api/v1alpha/admin.d.ts +3 -0
  478. package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  479. package/types/devvit/data/api/v1alpha/admin.js +47 -0
  480. package/types/devvit/data/api/v1alpha/filter.d.ts +161 -0
  481. package/types/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
  482. package/types/devvit/data/api/v1alpha/filter.js +984 -0
  483. package/types/devvit/dev_portal/dev_portal.d.ts +48 -0
  484. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  485. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -0
  486. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts.map +1 -1
  487. /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -0
  488. /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -0
  489. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/custom_post.proto +0 -0
  490. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/service.proto +0 -0
  491. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/subreddit/v1/context_action.proto +0 -0
@@ -0,0 +1,104 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.plugin.redditapi.modnote;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+
7
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
8
+ option java_package = "com.reddit.devvit.plugin.redditapi.modnote";
9
+
10
+ // Requests
11
+ message DeleteNotesRequest {
12
+ // subreddit name without the r/
13
+ string subreddit = 1;
14
+ // a unique ID for the note to be deleted (should have a ModNote_ prefix)
15
+ string note_id = 2;
16
+ // account username
17
+ string user = 3;
18
+ }
19
+
20
+ message GetNotesRequest {
21
+ // subreddit name without the r/
22
+ string subreddit = 1;
23
+ // (optional) an encoded string used for pagination with mod notes
24
+ google.protobuf.StringValue before = 2;
25
+ // (optional) one of (NOTE, APPROVAL, REMOVAL, BAN, MUTE, INVITE, SPAM, CONTENT_CHANGE,
26
+ // MOD_ACTION, ALL), to be used for querying specific types of mod notes (default: all)
27
+ google.protobuf.StringValue filter = 3;
28
+ // (optional) the number of mod notes to return in the response payload (default: 25, max: 100)
29
+ google.protobuf.Int64Value limit = 4;
30
+ // account username
31
+ string user = 5;
32
+ }
33
+
34
+ message PostNotesRequest {
35
+ string subreddit = 1;
36
+ // (optional) one of (BOT_BAN, PERMA_BAN, BAN, ABUSE_WARNING, SPAM_WARNING, SPAM_WATCH, SOLID_CONTRIBUTOR, HELPFUL_USER)
37
+ optional string label = 2;
38
+ // Content of the note, should be a string with a maximum character limit of 250
39
+ string note = 3;
40
+ // (optional) a fullname of a comment or post (should have either a t1 or t3 prefix)
41
+ google.protobuf.StringValue reddit_id = 4;
42
+ // account username
43
+ string user = 5;
44
+ }
45
+
46
+ message RecentNotesRequest {
47
+ // a comma delimited list of subreddits by name (e.g. 'pics,worldnews')
48
+ string subreddits = 1;
49
+ // a comma delimited list of usernames (e.g. 'foo,bar')
50
+ string users = 2;
51
+ }
52
+
53
+ message PostRemovalNoteRequest {
54
+ // list of thing ids
55
+ repeated string item_ids = 1;
56
+ // id of a Removal Reason - you can leave this as an empty string if you don't have one
57
+ string reason_id = 2;
58
+ // the reason for removal (maximum 100 characters)
59
+ google.protobuf.StringValue mod_note = 3;
60
+ }
61
+
62
+ // Responses
63
+ message ModNotesResponse {
64
+ repeated ModNoteObject mod_notes = 1;
65
+ google.protobuf.StringValue start_cursor = 2;
66
+ google.protobuf.StringValue end_cursor = 3;
67
+ google.protobuf.BoolValue has_next_page = 4;
68
+ }
69
+
70
+ message DeleteNotesResponse {
71
+ google.protobuf.BoolValue deleted = 1;
72
+ }
73
+
74
+ message ModNoteObject {
75
+ message ModActionData {
76
+ google.protobuf.StringValue action = 1;
77
+ google.protobuf.StringValue reddit_id = 2;
78
+ google.protobuf.StringValue details = 3;
79
+ google.protobuf.StringValue description = 4;
80
+ }
81
+
82
+ message UserNoteData {
83
+ google.protobuf.StringValue note = 1;
84
+ google.protobuf.StringValue reddit_id = 2;
85
+ google.protobuf.StringValue label = 3;
86
+ }
87
+
88
+ google.protobuf.StringValue subreddit_id = 1;
89
+ google.protobuf.StringValue operator_id = 2;
90
+ ModActionData mod_action_data = 3;
91
+ UserNoteData user_note_data = 4;
92
+ google.protobuf.StringValue subreddit = 5;
93
+ google.protobuf.StringValue user = 6;
94
+ google.protobuf.StringValue operator = 7;
95
+ google.protobuf.StringValue id = 8;
96
+ google.protobuf.StringValue user_id = 9;
97
+ google.protobuf.Int64Value created_at = 10;
98
+ google.protobuf.StringValue cursor = 11;
99
+ google.protobuf.StringValue type = 12;
100
+ }
101
+
102
+ message PostModNotesResponse {
103
+ ModNoteObject created = 1;
104
+ }
@@ -0,0 +1,45 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.plugin.redditapi.modnote;
4
+
5
+ import "devvit/plugin/redditapi/common/common_msg.proto";
6
+ import "devvit/plugin/redditapi/modnote/modnote_msg.proto";
7
+ import "google/protobuf/empty.proto";
8
+
9
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
10
+ option java_package = "com.reddit.devvit.plugin.redditapi.modnote";
11
+
12
+ // MODNOTE - https://www.reddit.com/dev/api#section_modnote
13
+ service ModNote {
14
+ // @see {@link https://www.reddit.com/dev/api#GET_api_mod_notes}
15
+ rpc GetNotes(GetNotesRequest) returns (ModNotesResponse) {
16
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
17
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/notes?before={before}&filter={filter}&limit={limit}&subreddit={subreddit}&user={user}';
18
+ }
19
+
20
+ // @see {@link https://www.reddit.com/dev/api/#DELETE_api_mod_notes}
21
+ rpc DeleteNotes(DeleteNotesRequest) returns (DeleteNotesResponse) {
22
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'DELETE';
23
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/notes?note_id={note_id}&subreddit={subreddit}&user={user}';
24
+ }
25
+
26
+ // @see {@link https://www.reddit.com/dev/api#POST_api_mod_notes}
27
+ rpc PostNotes(PostNotesRequest) returns (PostModNotesResponse) {
28
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
29
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/notes';
30
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
31
+ }
32
+
33
+ // Add a mod note for why a post or comment was removed
34
+ rpc PostRemovalNote(PostRemovalNoteRequest) returns (google.protobuf.Empty) {
35
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
36
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/v1/modactions/removal_reasons';
37
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_SNAKE;
38
+ }
39
+
40
+ // @see {@link https://www.reddit.com/dev/api#GET_api_mod_notes_recent}
41
+ rpc RecentNotes(RecentNotesRequest) returns (ModNotesResponse) {
42
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
43
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/notes/recent?subreddits={subreddits}&users={users}';
44
+ }
45
+ }
@@ -0,0 +1,348 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.plugin.redditapi.newmodmail;
4
+
5
+ import "google/protobuf/any.proto";
6
+ import "google/protobuf/wrappers.proto";
7
+
8
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
9
+ option java_package = "com.reddit.devvit.plugin.redditapi.newmodmail";
10
+
11
+ // Shared Objects
12
+ message ConversationData {
13
+ message ObjId {
14
+ // Id of an object (e.g. message ID or modAction ID)
15
+ google.protobuf.StringValue id = 1;
16
+ // Property name of the object collection (e.g. 'messages' or 'modActions')
17
+ google.protobuf.StringValue key = 2;
18
+ }
19
+
20
+ message Owner {
21
+ // Subreddit display name
22
+ google.protobuf.StringValue display_name = 1;
23
+ // always 'subreddit'
24
+ google.protobuf.StringValue type = 2;
25
+ // Subreddit id
26
+ google.protobuf.StringValue id = 3;
27
+ }
28
+
29
+ // Is the conversation automatically generated e.g. from automod, u/reddit
30
+ google.protobuf.BoolValue is_auto = 1;
31
+ // Participant. Is absent for mod discussions
32
+ Participant participant = 2;
33
+ // List of object ids (denormalized). E.g. [{id: 'qwer42', key: 'messages'}, {id: 'abcd33', key: 'modActions'}]
34
+ repeated ObjId obj_ids = 3;
35
+ // NOTE: is_repliable will always be true currently (at the time of writing this comment)
36
+ google.protobuf.BoolValue is_repliable = 4;
37
+ // The last datetime a user made any interaction with the conversation
38
+ google.protobuf.StringValue last_user_update = 5;
39
+ // Is the conversation internal (i.e. mod only)
40
+ google.protobuf.BoolValue is_internal = 6;
41
+ // The last datetime a mod from the owning subreddit made any interaction with the conversation.
42
+ // (Note that if this is a subreddit to subreddit conversation, the mods of
43
+ // the participant subreddit are irrelevant and do not affect this field.)
44
+ google.protobuf.StringValue last_mod_update = 7;
45
+ repeated Participant authors = 8;
46
+ // The last time the conversation was updated (includes actions)
47
+ google.protobuf.StringValue last_updated = 9;
48
+ // Id of the first corresponding message in the legacy message system
49
+ google.protobuf.StringValue legacy_first_message_id = 10;
50
+ google.protobuf.Int32Value state = 11;
51
+ // Type of conversation:
52
+ // - `internal` (mod discussion)
53
+ // - `sr_user` (between a subreddit and user)
54
+ // - `sr_sr` (between two subreddits)
55
+ google.protobuf.StringValue conversation_type = 12;
56
+ // The datetime of the last unread message within this conversation for the current viewer.
57
+ google.protobuf.StringValue last_unread = 13;
58
+ // The subreddit that owns the conversation.
59
+ Owner owner = 14;
60
+ // Suject of the conversation
61
+ google.protobuf.StringValue subject = 15;
62
+ // Conversation ID
63
+ google.protobuf.StringValue id = 16;
64
+ // Is the conversation highlighted
65
+ google.protobuf.BoolValue is_highlighted = 17;
66
+ // Number of messages (not actions) in the conversation
67
+ google.protobuf.Int64Value num_messages = 18;
68
+
69
+ // from createconversationmessageresponse
70
+ map<string, ModActionData> mod_actions = 19;
71
+ }
72
+
73
+ message MessageData {
74
+ google.protobuf.StringValue body = 1;
75
+ Participant author = 2;
76
+ google.protobuf.BoolValue is_internal = 3;
77
+ google.protobuf.StringValue date = 4;
78
+ google.protobuf.StringValue body_markdown = 5;
79
+ google.protobuf.StringValue id = 6;
80
+ google.protobuf.StringValue participating_as = 7;
81
+ }
82
+
83
+ message ConversationUserData {
84
+ message CommentData {
85
+ google.protobuf.StringValue comment = 1;
86
+ google.protobuf.StringValue date = 2;
87
+ google.protobuf.StringValue permalink = 3;
88
+ google.protobuf.StringValue title = 4;
89
+ }
90
+ message MuteStatus {
91
+ google.protobuf.Int64Value mute_count = 1;
92
+ google.protobuf.BoolValue is_muted = 2;
93
+ google.protobuf.StringValue end_date = 3;
94
+ google.protobuf.StringValue reason = 4;
95
+ }
96
+ message BanStatus {
97
+ google.protobuf.BoolValue is_banned = 1;
98
+ google.protobuf.BoolValue is_permanent = 2;
99
+ google.protobuf.StringValue end_date = 3;
100
+ google.protobuf.StringValue reason = 4;
101
+ }
102
+ message ApproveStatus {
103
+ google.protobuf.BoolValue is_approved = 1;
104
+ }
105
+ message PostData {
106
+ google.protobuf.StringValue date = 1;
107
+ google.protobuf.StringValue permalink = 2;
108
+ google.protobuf.StringValue title = 3;
109
+ }
110
+ message ConvoData {
111
+ google.protobuf.StringValue date = 1;
112
+ google.protobuf.StringValue permalink = 2;
113
+ google.protobuf.StringValue id = 3;
114
+ google.protobuf.StringValue subject = 4;
115
+ }
116
+
117
+ map<string, CommentData> recent_comments = 1;
118
+ MuteStatus mute_status = 2;
119
+ google.protobuf.StringValue name = 3;
120
+ google.protobuf.StringValue created = 4;
121
+ BanStatus ban_status = 5;
122
+ google.protobuf.BoolValue is_suspended = 6;
123
+ ApproveStatus approve_status = 7;
124
+ google.protobuf.BoolValue is_shadow_banned = 8;
125
+ map<string, PostData> recent_posts = 9;
126
+ map<string, ConvoData> recent_convos = 10;
127
+ google.protobuf.StringValue id = 11;
128
+ }
129
+
130
+ message Participant {
131
+ google.protobuf.BoolValue is_mod = 1;
132
+ google.protobuf.BoolValue is_admin = 2;
133
+ google.protobuf.StringValue name = 3;
134
+ google.protobuf.BoolValue is_op = 4;
135
+ google.protobuf.BoolValue is_participant = 5;
136
+ google.protobuf.BoolValue is_approved = 6;
137
+ google.protobuf.BoolValue is_hidden = 7;
138
+ google.protobuf.Int64Value id = 8;
139
+ google.protobuf.BoolValue is_deleted = 9;
140
+ }
141
+
142
+ message ModActionData {
143
+ message ModActionAuthor {
144
+ google.protobuf.BoolValue is_mod = 1;
145
+ google.protobuf.BoolValue is_admin = 2;
146
+ google.protobuf.StringValue name = 3;
147
+ google.protobuf.BoolValue is_hidden = 4;
148
+ google.protobuf.Int64Value id = 5;
149
+ google.protobuf.BoolValue is_deleted = 6;
150
+ }
151
+
152
+ google.protobuf.StringValue date = 1;
153
+ google.protobuf.Int32Value action_type_id = 2;
154
+ google.protobuf.StringValue id = 3;
155
+ ModActionAuthor author = 4;
156
+ }
157
+
158
+ // Requests
159
+ message BulkReadConversationsRequest {
160
+ // comma-delimited list of subreddit names (e.g. 'pics,worldnews'
161
+ string entity = 1;
162
+ // one of (all, appeals, notifications, inbox, filtered, inprogress, mod, archived, default,
163
+ // highlighted, join_requests, new)
164
+ string state = 2;
165
+ }
166
+
167
+ message GetConversationsRequest {
168
+ // id36 of a modmail
169
+ google.protobuf.StringValue after = 1;
170
+ // comma-delimited list of subreddit names
171
+ google.protobuf.StringValue entity = 2;
172
+ // an integer between 1 and 100 (default: 25)
173
+ google.protobuf.Int32Value limit = 3;
174
+ // one of (recent, mod, user, unread)
175
+ google.protobuf.StringValue sort = 4;
176
+ // one of (all, appeals, notifications, inbox, filtered, inprogress, mod, archived, default,
177
+ // highlighted, join_requests, new)
178
+ google.protobuf.StringValue state = 5;
179
+ }
180
+
181
+ message CreateConversationRequest {
182
+ // raw markdown text
183
+ string body = 1;
184
+ // is author hidden?
185
+ bool is_author_hidden = 2;
186
+ // subreddit name
187
+ string sr_name = 3;
188
+ // subject of the conversation. max 100 characters.
189
+ string subject = 4;
190
+ // a user (e.g. u/username), a subreddit (e.g. r/subreddit) or null
191
+ google.protobuf.StringValue to = 5;
192
+ }
193
+
194
+ message GetConversationRequest {
195
+ // id36 of a modmail conversation id
196
+ string conversation_id = 1;
197
+ // mark read?
198
+ bool mark_read = 2;
199
+ }
200
+
201
+ message CreateConversationMessageRequest {
202
+ // markdown text
203
+ string body = 1;
204
+ bool is_author_hidden = 2;
205
+ bool is_internal = 3;
206
+ // id36 of a modmail conversation id
207
+ string conversation_id = 4;
208
+ }
209
+
210
+ message BasicConversationRequest {
211
+ // id36 of a modmail conversation id
212
+ string conversation_id = 1;
213
+ }
214
+
215
+ message BasicConversationsRequest {
216
+ // comma seperated list of id36 of a modmail conversation ids
217
+ string conversation_ids = 1;
218
+ }
219
+
220
+ message MuteConversationRequest {
221
+ // id36 of a modmail conversation id
222
+ string conversation_id = 1;
223
+ // how long? one of (72, 168, 672)
224
+ int32 num_hours = 2;
225
+ }
226
+
227
+ message TempBanRequest {
228
+ // id36 of a modmail conversation id
229
+ string conversation_id = 1;
230
+ // duration in days, max 999
231
+ int32 duration = 2;
232
+ }
233
+
234
+ // Responses
235
+ message BulkReadConversationsResponse {
236
+ repeated google.protobuf.StringValue conversation_ids = 1;
237
+ }
238
+
239
+ message GetConversationsResponse {
240
+ map<string, ConversationData> conversations = 1;
241
+ map<string, MessageData> messages = 2;
242
+ google.protobuf.StringValue viewer_id = 3;
243
+ repeated google.protobuf.StringValue conversation_ids = 4;
244
+ }
245
+
246
+ message CreateConversationResponse {
247
+ ConversationData conversation = 1;
248
+ map<string, MessageData> messages = 2;
249
+ map<string, ModActionData> mod_actions = 3;
250
+
251
+ // error case
252
+ repeated google.protobuf.StringValue fields = 4;
253
+ google.protobuf.StringValue reason = 5;
254
+ google.protobuf.StringValue message = 6;
255
+ google.protobuf.StringValue explanation = 7;
256
+
257
+ ConversationUserData user = 8;
258
+ }
259
+
260
+ message GetConversationResponse {
261
+ ConversationData conversation = 1;
262
+ map<string, MessageData> messages = 2;
263
+ map<string, ModActionData> mod_actions = 3;
264
+ google.protobuf.Any participant_subreddit = 4;
265
+ ConversationUserData user = 5;
266
+ }
267
+
268
+ message CreateConversationMessageResponse {
269
+ ConversationData conversation = 1;
270
+ map<string, MessageData> messages = 2;
271
+ ConversationUserData user = 3;
272
+ }
273
+
274
+ message ApproveConversationResponse {
275
+ ConversationData conversations = 1;
276
+ map<string, MessageData> messages = 2;
277
+ ConversationUserData user = 3;
278
+ map<string, ModActionData> mod_actions = 4;
279
+
280
+ // error case
281
+ repeated google.protobuf.StringValue fields = 5;
282
+ google.protobuf.StringValue reason = 6;
283
+ google.protobuf.StringValue message = 7;
284
+ google.protobuf.StringValue explanation = 8;
285
+ }
286
+
287
+ message ArchiveConversationResponse {
288
+ // @deprecated use `conversation`
289
+ ConversationData conversations = 1;
290
+ map<string, MessageData> messages = 2;
291
+ map<string, ModActionData> mod_actions = 3;
292
+ ConversationData conversation = 4;
293
+ }
294
+
295
+ message HighlightConversationResponse {
296
+ // @deprecated use `conversation`
297
+ ConversationData conversations = 1;
298
+ map<string, MessageData> messages = 2;
299
+ map<string, ModActionData> mod_actions = 3;
300
+ ConversationData conversation = 4;
301
+ }
302
+
303
+ message MuteConversationResponse {
304
+ ConversationData conversations = 1;
305
+ map<string, MessageData> messages = 2;
306
+ ConversationUserData user = 3;
307
+ map<string, ModActionData> mod_actions = 4;
308
+ }
309
+
310
+ message TempBanResponse {
311
+ ConversationData conversations = 1;
312
+ map<string, MessageData> messages = 2;
313
+ ConversationUserData user = 3;
314
+ map<string, ModActionData> mod_actions = 4;
315
+
316
+ // error case
317
+ repeated google.protobuf.StringValue fields = 5;
318
+ google.protobuf.StringValue reason = 6;
319
+ google.protobuf.StringValue message = 7;
320
+ }
321
+
322
+ message SubredditsResponse {
323
+ message SubredditData {
324
+ google.protobuf.StringValue community_icon = 1;
325
+ google.protobuf.StringValue key_color = 2;
326
+ google.protobuf.StringValue display_name = 3;
327
+ google.protobuf.StringValue name = 4;
328
+ google.protobuf.Int32Value subscribers = 5;
329
+ google.protobuf.StringValue primary_color = 6;
330
+ google.protobuf.StringValue id = 7;
331
+ google.protobuf.StringValue last_updated = 8;
332
+ google.protobuf.StringValue icon = 9;
333
+ }
334
+
335
+ map<string, SubredditData> subreddits = 1;
336
+ }
337
+
338
+ message UnreadCountResponse {
339
+ google.protobuf.Int32Value archived = 1;
340
+ google.protobuf.Int32Value appeals = 2;
341
+ google.protobuf.Int32Value highlighted = 3;
342
+ google.protobuf.Int32Value notifications = 4;
343
+ google.protobuf.Int32Value join_requests = 5;
344
+ google.protobuf.Int32Value filtered = 6;
345
+ google.protobuf.Int32Value new = 7;
346
+ google.protobuf.Int32Value inprogress = 8;
347
+ google.protobuf.Int32Value mod = 9;
348
+ }
@@ -0,0 +1,142 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.plugin.redditapi.newmodmail;
4
+
5
+ import "devvit/plugin/redditapi/common/common_msg.proto";
6
+ import "devvit/plugin/redditapi/newmodmail/newmodmail_msg.proto";
7
+ import "google/protobuf/empty.proto";
8
+
9
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
10
+ option java_package = "com.reddit.devvit.plugin.redditapi.newmodmail";
11
+
12
+ // NEWMODMAIL - https://www.reddit.com/dev/api#section_modmail
13
+ service NewModmail {
14
+ // https://www.reddit.com/dev/api#POST_api_mod_bulk_read
15
+ rpc BulkReadConversations(BulkReadConversationsRequest) returns (BulkReadConversationsResponse) {
16
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
17
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/bulk/read';
18
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
19
+ }
20
+
21
+ // https://www.reddit.com/dev/api#GET_api_mod_conversations
22
+ rpc GetConversations(GetConversationsRequest) returns (GetConversationsResponse) {
23
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
24
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations?after={after}&entity={entity}&limit={limit}&sort={sort}&state={state}';
25
+ option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
26
+ }
27
+
28
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations
29
+ rpc CreateConversation(CreateConversationRequest) returns (CreateConversationResponse) {
30
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
31
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations';
32
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
33
+ }
34
+
35
+ // https://www.reddit.com/dev/api#GET_api_mod_conversations_:conversation_id
36
+ rpc GetConversation(GetConversationRequest) returns (GetConversationResponse) {
37
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
38
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}?markRead={mark_read}';
39
+ option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
40
+ }
41
+
42
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id
43
+ rpc CreateConversationMessage(CreateConversationMessageRequest) returns (CreateConversationMessageResponse) {
44
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
45
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}';
46
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
47
+ }
48
+
49
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_approve
50
+ rpc ApproveConversation(BasicConversationRequest) returns (ApproveConversationResponse) {
51
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
52
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/approve';
53
+ }
54
+
55
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_archive
56
+ rpc ArchiveConversation(BasicConversationRequest) returns (ArchiveConversationResponse) {
57
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
58
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/archive';
59
+ }
60
+
61
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_disapprove
62
+ rpc DisapproveConversation(BasicConversationRequest) returns (ApproveConversationResponse) {
63
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
64
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/disapprove';
65
+ }
66
+
67
+ // https://www.reddit.com/dev/api#DELETE_api_mod_conversations_:conversation_id_highlight
68
+ rpc UnhighlightConversation(BasicConversationRequest) returns (HighlightConversationResponse) {
69
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'DELETE';
70
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/highlight';
71
+ }
72
+
73
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_highlight
74
+ rpc HighlightConversation(BasicConversationRequest) returns (HighlightConversationResponse) {
75
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
76
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/highlight';
77
+ }
78
+
79
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_mute
80
+ rpc MuteConversation(MuteConversationRequest) returns (MuteConversationResponse) {
81
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
82
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/mute';
83
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
84
+ }
85
+
86
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_temp_ban
87
+ rpc TempBan(TempBanRequest) returns (TempBanResponse) {
88
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
89
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/temp_ban';
90
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
91
+ }
92
+
93
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_unarchive
94
+ rpc UnarchiveConversation(BasicConversationRequest) returns (ArchiveConversationResponse) {
95
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
96
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/unarchive';
97
+ }
98
+
99
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_unban
100
+ rpc Unban(BasicConversationRequest) returns (TempBanResponse) {
101
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
102
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/unban';
103
+ }
104
+
105
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id_unmute
106
+ rpc UnmuteConversation(BasicConversationRequest) returns (MuteConversationResponse) {
107
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
108
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/unmute';
109
+ }
110
+
111
+ // https://www.reddit.com/dev/api#GET_api_mod_conversations_:conversation_id_user
112
+ rpc UserConversations(BasicConversationRequest) returns (ConversationUserData) {
113
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
114
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/{conversation_id}/user';
115
+ }
116
+
117
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_read
118
+ rpc Read(BasicConversationsRequest) returns (google.protobuf.Empty) {
119
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
120
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/read';
121
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
122
+ }
123
+
124
+ // https://www.reddit.com/dev/api#GET_api_mod_conversations_subreddits
125
+ rpc Subreddits(google.protobuf.Empty) returns (SubredditsResponse) {
126
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
127
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/subreddits';
128
+ }
129
+
130
+ // https://www.reddit.com/dev/api#POST_api_mod_conversations_unread
131
+ rpc Unread(BasicConversationsRequest) returns (google.protobuf.Empty) {
132
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
133
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/unread';
134
+ option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
135
+ }
136
+
137
+ // https://www.reddit.com/dev/api#GET_api_mod_conversations_unread_count
138
+ rpc UnreadCount(google.protobuf.Empty) returns (UnreadCountResponse) {
139
+ option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
140
+ option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mod/conversations/unread/count';
141
+ }
142
+ }
@@ -0,0 +1,48 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.plugin.redditapi.privatemessages;
4
+
5
+ import "google/protobuf/wrappers.proto";
6
+
7
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
8
+ option java_package = "com.reddit.devvit.plugin.redditapi.privatemessages";
9
+
10
+ message GenericPrivateMessagesRequest {
11
+ // fullname of a thing
12
+ string id = 1;
13
+ }
14
+
15
+ message ComposeRequest {
16
+ // the name of an existing user
17
+ string to = 1;
18
+ // a string no longer than 100 characters
19
+ string subject = 2;
20
+ // raw markdown text
21
+ string text = 3;
22
+ // subreddit name
23
+ string from_sr = 4; // TODO: Not required
24
+ }
25
+
26
+ message ReadAllMessagesRequest {
27
+ // A comma-separated list of items
28
+ string filter_types = 1;
29
+ }
30
+
31
+ message MessageWhereRequest {
32
+ // one "inbox", "unread", or "sent"
33
+ string where = 1;
34
+ // true or false
35
+ google.protobuf.BoolValue mark = 2;
36
+ // message id
37
+ google.protobuf.StringValue mid = 3;
38
+ // fullname of a thing
39
+ google.protobuf.StringValue after = 4;
40
+ // fullname of a thing
41
+ google.protobuf.StringValue before = 5;
42
+ // a positive integer (default: 0)
43
+ google.protobuf.Int64Value count = 6;
44
+ // the maximum number of items desired (default: 25, maximum: 100)
45
+ google.protobuf.Int64Value limit = 7;
46
+ // (optional) the string all
47
+ google.protobuf.StringValue show = 8;
48
+ }