@devvit/protos 0.11.4-next-2024-12-06-75957d720.0 → 0.11.4

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 (581) hide show
  1. package/index.d.ts +1 -1
  2. package/index.d.ts.map +1 -1
  3. package/lib/Types.d.ts +5 -0
  4. package/lib/Types.d.ts.map +1 -1
  5. package/lib/Types.js +34 -0
  6. package/package.json +4 -4
  7. package/schema/devvit/dev_portal/app/app.proto +0 -3
  8. package/schema/devvit/dev_portal/app/info/app_info.proto +1 -13
  9. package/schema/devvit/ui/block_kit/v1beta/ui.proto +1 -1
  10. package/schema/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +1 -7
  11. package/schema/snootobuf.devenv.lock +292 -459
  12. package/schema/snootobuf.lock +292 -459
  13. package/schema/snootobuf.redditapi.lock +292 -459
  14. package/schema/snootobuf.ts.lock +293 -459
  15. package/schema/snootobuf.ts.yaml +1 -1
  16. package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts +23 -23
  17. package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts.map +1 -1
  18. package/types/devvit/actor/automation/v1alpha/event_handlers.js +2 -0
  19. package/types/devvit/actor/bot/bot.d.ts +2 -2
  20. package/types/devvit/actor/bot/bot.d.ts.map +1 -1
  21. package/types/devvit/actor/bot/bot.js +5 -0
  22. package/types/devvit/actor/hello/hello.d.ts.map +1 -1
  23. package/types/devvit/actor/hello/hello.js +2 -0
  24. package/types/devvit/actor/payments/v1alpha/payments.d.ts.map +1 -1
  25. package/types/devvit/actor/payments/v1alpha/payments.js +5 -0
  26. package/types/devvit/actor/permissions/permissions.d.ts.map +1 -1
  27. package/types/devvit/actor/permissions/permissions.js +5 -0
  28. package/types/devvit/actor/producer/producer.d.ts.map +1 -1
  29. package/types/devvit/actor/producer/producer.js +3 -0
  30. package/types/devvit/actor/reddit/context_action.d.ts +1 -1
  31. package/types/devvit/actor/reddit/context_action.d.ts.map +1 -1
  32. package/types/devvit/actor/reddit/context_action.js +8 -0
  33. package/types/devvit/actor/reddit/post_filter.d.ts.map +1 -1
  34. package/types/devvit/actor/reddit/post_filter.js +3 -0
  35. package/types/devvit/actor/scheduler/action.d.ts.map +1 -1
  36. package/types/devvit/actor/scheduler/action.js +2 -0
  37. package/types/devvit/actor/scheduler/handler.d.ts +2 -2
  38. package/types/devvit/actor/settings/v1alpha/app_settings.d.ts +4 -4
  39. package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts +4 -4
  40. package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts +4 -4
  41. package/types/devvit/actor/settings/v1alpha/shared.d.ts.map +1 -1
  42. package/types/devvit/actor/settings/v1alpha/shared.js +7 -0
  43. package/types/devvit/actor/test/streams.d.ts.map +1 -1
  44. package/types/devvit/actor/test/streams.js +2 -0
  45. package/types/devvit/actor/test/wrappertypes.d.ts +16 -16
  46. package/types/devvit/actor/user_configurable/user_configurable.d.ts +1 -1
  47. package/types/devvit/actor/user_configurable/user_configurable.d.ts.map +1 -1
  48. package/types/devvit/actor/user_configurable/user_configurable.js +4 -0
  49. package/types/devvit/cli/playtest.d.ts.map +1 -1
  50. package/types/devvit/cli/playtest.js +6 -0
  51. package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  52. package/types/devvit/data/api/v1alpha/admin.js +6 -0
  53. package/types/devvit/debug/v1alpha/debug.d.ts.map +1 -1
  54. package/types/devvit/debug/v1alpha/debug.js +3 -0
  55. package/types/devvit/dev_portal/actor/actor_type.d.ts.map +1 -1
  56. package/types/devvit/dev_portal/actor/actor_type.js +2 -0
  57. package/types/devvit/dev_portal/admin/waitlist_admin.d.ts +2 -2
  58. package/types/devvit/dev_portal/admin/waitlist_admin.d.ts.map +1 -1
  59. package/types/devvit/dev_portal/admin/waitlist_admin.js +8 -0
  60. package/types/devvit/dev_portal/app/app.d.ts +0 -2
  61. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  62. package/types/devvit/dev_portal/app/app.js +25 -17
  63. package/types/devvit/dev_portal/app/info/app_info.d.ts +0 -13
  64. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  65. package/types/devvit/dev_portal/app/info/app_info.js +4 -17
  66. package/types/devvit/dev_portal/app_publish_request/app_publish_request.d.ts.map +1 -1
  67. package/types/devvit/dev_portal/app_publish_request/app_publish_request.js +10 -0
  68. package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.d.ts.map +1 -1
  69. package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.js +4 -0
  70. package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts.map +1 -1
  71. package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.js +3 -0
  72. package/types/devvit/dev_portal/app_settings/app_settings.d.ts.map +1 -1
  73. package/types/devvit/dev_portal/app_settings/app_settings.js +12 -0
  74. package/types/devvit/dev_portal/app_version/app_version.d.ts.map +1 -1
  75. package/types/devvit/dev_portal/app_version/app_version.js +13 -0
  76. package/types/devvit/dev_portal/app_version/info/app_version_info.d.ts.map +1 -1
  77. package/types/devvit/dev_portal/app_version/info/app_version_info.js +3 -0
  78. package/types/devvit/dev_portal/data_api/admin/audit/audit.d.ts.map +1 -1
  79. package/types/devvit/dev_portal/data_api/admin/audit/audit.js +9 -0
  80. package/types/devvit/dev_portal/data_api/admin/auth/auth.d.ts.map +1 -1
  81. package/types/devvit/dev_portal/data_api/admin/auth/auth.js +9 -0
  82. package/types/devvit/dev_portal/data_api/admin/organization/organization.d.ts.map +1 -1
  83. package/types/devvit/dev_portal/data_api/admin/organization/organization.js +7 -0
  84. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.d.ts.map +1 -1
  85. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.js +13 -0
  86. package/types/devvit/dev_portal/data_api/admin/user/user.d.ts.map +1 -1
  87. package/types/devvit/dev_portal/data_api/admin/user/user.js +10 -0
  88. package/types/devvit/dev_portal/dev_portal.d.ts +150 -192
  89. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  90. package/types/devvit/dev_portal/feedback/feedback.d.ts.map +1 -1
  91. package/types/devvit/dev_portal/feedback/feedback.js +2 -0
  92. package/types/devvit/dev_portal/installation/installation.d.ts.map +1 -1
  93. package/types/devvit/dev_portal/installation/installation.js +23 -0
  94. package/types/devvit/dev_portal/installation_settings/installation_settings.d.ts.map +1 -1
  95. package/types/devvit/dev_portal/installation_settings/installation_settings.js +12 -0
  96. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.d.ts.map +1 -1
  97. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.js +6 -0
  98. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -12
  99. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.d.ts.map +1 -1
  100. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.js +4 -0
  101. package/types/devvit/dev_portal/internal/media/media.d.ts.map +1 -1
  102. package/types/devvit/dev_portal/internal/media/media.js +3 -0
  103. package/types/devvit/dev_portal/nutrition/nutrition.d.ts.map +1 -1
  104. package/types/devvit/dev_portal/nutrition/nutrition.js +3 -0
  105. package/types/devvit/dev_portal/payments/product.d.ts.map +1 -1
  106. package/types/devvit/dev_portal/payments/product.js +2 -0
  107. package/types/devvit/dev_portal/reddit/redditor.d.ts.map +1 -1
  108. package/types/devvit/dev_portal/reddit/redditor.js +2 -0
  109. package/types/devvit/dev_portal/waitlist/waitlist.d.ts +5 -5
  110. package/types/devvit/dev_portal/waitlist/waitlist.d.ts.map +1 -1
  111. package/types/devvit/dev_portal/waitlist/waitlist.js +6 -0
  112. package/types/devvit/events/v1alpha/events.d.ts.map +1 -1
  113. package/types/devvit/events/v1alpha/events.js +23 -0
  114. package/types/devvit/events/v1alpha/realtime.d.ts +1 -1
  115. package/types/devvit/events/v1alpha/realtime.d.ts.map +1 -1
  116. package/types/devvit/events/v1alpha/realtime.js +3 -0
  117. package/types/devvit/events/v1alpha/wqcleanup.d.ts.map +1 -1
  118. package/types/devvit/events/v1alpha/wqcleanup.js +2 -0
  119. package/types/devvit/gateway/custom_post_snapshot.d.ts +1 -1
  120. package/types/devvit/gateway/custom_post_snapshot.d.ts.map +1 -1
  121. package/types/devvit/gateway/custom_post_snapshot.js +2 -0
  122. package/types/devvit/gateway/resolvers.d.ts +1 -1
  123. package/types/devvit/gateway/resolvers.d.ts.map +1 -1
  124. package/types/devvit/gateway/resolvers.js +2 -0
  125. package/types/devvit/gateway/utils/v1alpha/app_health.d.ts.map +1 -1
  126. package/types/devvit/gateway/utils/v1alpha/app_health.js +3 -0
  127. package/types/devvit/gateway/utils/v1alpha/utilities.d.ts.map +1 -1
  128. package/types/devvit/gateway/utils/v1alpha/utilities.js +10 -0
  129. package/types/devvit/gateway/v1alpha/triggers.d.ts +9 -9
  130. package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
  131. package/types/devvit/gateway/v1alpha/triggers.js +5 -0
  132. package/types/devvit/gql/snapshot.d.ts.map +1 -1
  133. package/types/devvit/gql/snapshot.js +2 -0
  134. package/types/devvit/gql/subreddit_manifest.d.ts.map +1 -1
  135. package/types/devvit/gql/subreddit_manifest.js +7 -0
  136. package/types/devvit/gql/subreddit_metadata.d.ts.map +1 -1
  137. package/types/devvit/gql/subreddit_metadata.js +5 -0
  138. package/types/devvit/options/options.d.ts.map +1 -1
  139. package/types/devvit/options/options.js +3 -0
  140. package/types/devvit/payments/v1alpha/order.d.ts.map +1 -1
  141. package/types/devvit/payments/v1alpha/order.js +3 -0
  142. package/types/devvit/payments/v1alpha/product.d.ts.map +1 -1
  143. package/types/devvit/payments/v1alpha/product.js +5 -0
  144. package/types/devvit/plugin/assetresolver/assetresolver.d.ts.map +1 -1
  145. package/types/devvit/plugin/assetresolver/assetresolver.js +7 -0
  146. package/types/devvit/plugin/builder/builder.d.ts +2 -2
  147. package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
  148. package/types/devvit/plugin/builder/builder.js +2 -0
  149. package/types/devvit/plugin/buildpack/buildpack.d.ts +4 -4
  150. package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
  151. package/types/devvit/plugin/buildpack/buildpack_common.js +10 -0
  152. package/types/devvit/plugin/buildpack/filesystem.d.ts.map +1 -1
  153. package/types/devvit/plugin/buildpack/filesystem.js +3 -0
  154. package/types/devvit/plugin/clock/clock.d.ts +2 -2
  155. package/types/devvit/plugin/http/http.d.ts.map +1 -1
  156. package/types/devvit/plugin/http/http.js +6 -0
  157. package/types/devvit/plugin/inspector/inspector.d.ts +1 -1
  158. package/types/devvit/plugin/inspector/inspector.d.ts.map +1 -1
  159. package/types/devvit/plugin/inspector/inspector.js +5 -0
  160. package/types/devvit/plugin/kvstore/kvstore.d.ts +2 -2
  161. package/types/devvit/plugin/kvstore/kvstore.d.ts.map +1 -1
  162. package/types/devvit/plugin/kvstore/kvstore.js +5 -0
  163. package/types/devvit/plugin/linker/linker.d.ts +1 -1
  164. package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
  165. package/types/devvit/plugin/linker/linker.js +2 -0
  166. package/types/devvit/plugin/linker/resolver.d.ts +5 -6
  167. package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
  168. package/types/devvit/plugin/linker/resolver.js +3 -0
  169. package/types/devvit/plugin/logger/logger.d.ts.map +1 -1
  170. package/types/devvit/plugin/logger/logger.js +10 -0
  171. package/types/devvit/plugin/media/media.d.ts.map +1 -1
  172. package/types/devvit/plugin/media/media.js +3 -0
  173. package/types/devvit/plugin/modlog/modlog.d.ts.map +1 -1
  174. package/types/devvit/plugin/modlog/modlog.js +3 -0
  175. package/types/devvit/plugin/payments/v1alpha/payments.d.ts.map +1 -1
  176. package/types/devvit/plugin/payments/v1alpha/payments.js +10 -0
  177. package/types/devvit/plugin/redditapi/common/common_msg.d.ts.map +1 -1
  178. package/types/devvit/plugin/redditapi/common/common_msg.js +18 -0
  179. package/types/devvit/plugin/redditapi/flair/flair_msg.d.ts.map +1 -1
  180. package/types/devvit/plugin/redditapi/flair/flair_msg.js +25 -0
  181. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts +29 -29
  182. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts.map +1 -1
  183. package/types/devvit/plugin/redditapi/graphql/graphql_msg.d.ts.map +1 -1
  184. package/types/devvit/plugin/redditapi/graphql/graphql_msg.js +5 -0
  185. package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts +4 -4
  186. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts.map +1 -1
  187. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +24 -0
  188. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +54 -54
  189. package/types/devvit/plugin/redditapi/listings/listings_msg.d.ts.map +1 -1
  190. package/types/devvit/plugin/redditapi/listings/listings_msg.js +10 -0
  191. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +16 -16
  192. package/types/devvit/plugin/redditapi/moderation/moderation_msg.d.ts.map +1 -1
  193. package/types/devvit/plugin/redditapi/moderation/moderation_msg.js +14 -0
  194. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +45 -45
  195. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
  196. package/types/devvit/plugin/redditapi/modnote/modnote_msg.d.ts.map +1 -1
  197. package/types/devvit/plugin/redditapi/modnote/modnote_msg.js +12 -0
  198. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts +10 -11
  199. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts.map +1 -1
  200. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.d.ts.map +1 -1
  201. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.js +59 -0
  202. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +40 -40
  203. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.d.ts.map +1 -1
  204. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.js +5 -0
  205. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +27 -20
  206. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
  207. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.d.ts.map +1 -1
  208. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.js +55 -0
  209. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +54 -54
  210. package/types/devvit/plugin/redditapi/users/users_msg.d.ts.map +1 -1
  211. package/types/devvit/plugin/redditapi/users/users_msg.js +22 -0
  212. package/types/devvit/plugin/redditapi/users/users_svc.d.ts +26 -26
  213. package/types/devvit/plugin/redditapi/widgets/widgets_msg.d.ts.map +1 -1
  214. package/types/devvit/plugin/redditapi/widgets/widgets_msg.js +46 -0
  215. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts +36 -36
  216. package/types/devvit/plugin/redditapi/wiki/wiki_msg.d.ts.map +1 -1
  217. package/types/devvit/plugin/redditapi/wiki/wiki_msg.js +20 -0
  218. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts +35 -23
  219. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts.map +1 -1
  220. package/types/devvit/plugin/redis/redisapi.d.ts +28 -28
  221. package/types/devvit/plugin/redis/redisapi.d.ts.map +1 -1
  222. package/types/devvit/plugin/redis/redisapi.js +40 -0
  223. package/types/devvit/plugin/scheduler/scheduler.d.ts +1 -1
  224. package/types/devvit/plugin/scheduler/scheduler.d.ts.map +1 -1
  225. package/types/devvit/plugin/scheduler/scheduler.js +9 -0
  226. package/types/devvit/plugin/settings/v1alpha/settings.d.ts.map +1 -1
  227. package/types/devvit/plugin/settings/v1alpha/settings.js +5 -0
  228. package/types/devvit/plugin/streambroker/streambroker.d.ts +1 -1
  229. package/types/devvit/plugin/streambroker/streambroker.d.ts.map +1 -1
  230. package/types/devvit/plugin/streambroker/streambroker.js +3 -0
  231. package/types/devvit/plugin/timer/timer.d.ts +1 -1
  232. package/types/devvit/plugin/timer/timer.d.ts.map +1 -1
  233. package/types/devvit/plugin/timer/timer.js +2 -0
  234. package/types/devvit/plugin/v2events/v2events.d.ts.map +1 -1
  235. package/types/devvit/plugin/v2events/v2events.js +6 -0
  236. package/types/devvit/reddit/comment.d.ts.map +1 -1
  237. package/types/devvit/reddit/comment.js +2 -0
  238. package/types/devvit/reddit/common.d.ts.map +1 -1
  239. package/types/devvit/reddit/common.js +9 -0
  240. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts.map +1 -1
  241. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.js +8 -0
  242. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -8
  243. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  244. package/types/devvit/reddit/custom_post/v1alpha/custom_post.js +4 -0
  245. package/types/devvit/reddit/post.d.ts.map +1 -1
  246. package/types/devvit/reddit/post.js +9 -0
  247. package/types/devvit/reddit/subreddit.d.ts.map +1 -1
  248. package/types/devvit/reddit/subreddit.js +3 -0
  249. package/types/devvit/reddit/user.d.ts.map +1 -1
  250. package/types/devvit/reddit/user.js +4 -0
  251. package/types/devvit/reddit/v2alpha/commentv2.d.ts.map +1 -1
  252. package/types/devvit/reddit/v2alpha/commentv2.js +2 -0
  253. package/types/devvit/reddit/v2alpha/flair.d.ts.map +1 -1
  254. package/types/devvit/reddit/v2alpha/flair.js +3 -0
  255. package/types/devvit/reddit/v2alpha/modaction.d.ts.map +1 -1
  256. package/types/devvit/reddit/v2alpha/modaction.js +2 -0
  257. package/types/devvit/reddit/v2alpha/modmail.d.ts.map +1 -1
  258. package/types/devvit/reddit/v2alpha/modmail.js +2 -0
  259. package/types/devvit/reddit/v2alpha/postv2.d.ts.map +1 -1
  260. package/types/devvit/reddit/v2alpha/postv2.js +5 -0
  261. package/types/devvit/reddit/v2alpha/subredditv2.d.ts.map +1 -1
  262. package/types/devvit/reddit/v2alpha/subredditv2.js +2 -0
  263. package/types/devvit/reddit/v2alpha/userv2.d.ts.map +1 -1
  264. package/types/devvit/reddit/v2alpha/userv2.js +2 -0
  265. package/types/devvit/remote_logger/remote_logger.d.ts.map +1 -1
  266. package/types/devvit/remote_logger/remote_logger.js +8 -0
  267. package/types/devvit/runtime/actor/bootstrap.d.ts +4 -4
  268. package/types/devvit/runtime/actor/echo.d.ts +2 -2
  269. package/types/devvit/runtime/actor/runtime.d.ts +3 -3
  270. package/types/devvit/runtime/actor/runtime.d.ts.map +1 -1
  271. package/types/devvit/runtime/actor/runtime.js +2 -0
  272. package/types/devvit/runtime/actor/supervisor.d.ts +5 -5
  273. package/types/devvit/runtime/actor/supervisor.d.ts.map +1 -1
  274. package/types/devvit/runtime/actor/supervisor.js +2 -0
  275. package/types/devvit/runtime/actor/v1alpha/health.d.ts +1 -1
  276. package/types/devvit/runtime/actor/v1alpha/health.d.ts.map +1 -1
  277. package/types/devvit/runtime/actor/v1alpha/health.js +2 -0
  278. package/types/devvit/runtime/bundle.d.ts.map +1 -1
  279. package/types/devvit/runtime/bundle.js +12 -0
  280. package/types/devvit/runtime/envelope.d.ts.map +1 -1
  281. package/types/devvit/runtime/envelope.js +3 -0
  282. package/types/devvit/runtime/runtime_common.d.ts.map +1 -1
  283. package/types/devvit/runtime/runtime_common.js +2 -0
  284. package/types/devvit/runtime/serializable.d.ts.map +1 -1
  285. package/types/devvit/runtime/serializable.js +3 -0
  286. package/types/devvit/service/bundle_service.d.ts +3 -3
  287. package/types/devvit/service/bundle_service.d.ts.map +1 -1
  288. package/types/devvit/service/bundle_service.js +2 -0
  289. package/types/devvit/service/envelope_service.d.ts +2 -2
  290. package/types/devvit/triggers/v1alpha/triggers.d.ts.map +1 -1
  291. package/types/devvit/triggers/v1alpha/triggers.js +2 -0
  292. package/types/devvit/ui/block_kit/v1beta/attributes.d.ts.map +1 -1
  293. package/types/devvit/ui/block_kit/v1beta/attributes.js +9 -0
  294. package/types/devvit/ui/block_kit/v1beta/block.d.ts.map +1 -1
  295. package/types/devvit/ui/block_kit/v1beta/block.js +14 -0
  296. package/types/devvit/ui/block_kit/v1beta/rendering.d.ts.map +1 -1
  297. package/types/devvit/ui/block_kit/v1beta/rendering.js +3 -0
  298. package/types/devvit/ui/block_kit/v1beta/ui.d.ts.map +1 -1
  299. package/types/devvit/ui/block_kit/v1beta/ui.js +4 -0
  300. package/types/devvit/ui/common/v1alpha/common.d.ts.map +1 -1
  301. package/types/devvit/ui/common/v1alpha/common.js +2 -0
  302. package/types/devvit/ui/effects/v1alpha/create_order.d.ts.map +1 -1
  303. package/types/devvit/ui/effects/v1alpha/create_order.js +4 -0
  304. package/types/devvit/ui/effects/v1alpha/effect.d.ts.map +1 -1
  305. package/types/devvit/ui/effects/v1alpha/effect.js +2 -0
  306. package/types/devvit/ui/effects/v1alpha/interval.d.ts.map +1 -1
  307. package/types/devvit/ui/effects/v1alpha/interval.js +4 -0
  308. package/types/devvit/ui/effects/v1alpha/navigate_to_url.d.ts.map +1 -1
  309. package/types/devvit/ui/effects/v1alpha/navigate_to_url.js +2 -0
  310. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.d.ts.map +1 -1
  311. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.js +3 -0
  312. package/types/devvit/ui/effects/v1alpha/reload_part.d.ts.map +1 -1
  313. package/types/devvit/ui/effects/v1alpha/reload_part.js +5 -0
  314. package/types/devvit/ui/effects/v1alpha/rerender_ui.d.ts.map +1 -1
  315. package/types/devvit/ui/effects/v1alpha/rerender_ui.js +2 -0
  316. package/types/devvit/ui/effects/v1alpha/show_form.d.ts.map +1 -1
  317. package/types/devvit/ui/effects/v1alpha/show_form.js +4 -0
  318. package/types/devvit/ui/effects/v1alpha/show_toast.d.ts.map +1 -1
  319. package/types/devvit/ui/effects/v1alpha/show_toast.js +3 -0
  320. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts +1 -8
  321. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts.map +1 -1
  322. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js +3 -15
  323. package/types/devvit/ui/effects/web_view/v1alpha/post_message.d.ts.map +1 -1
  324. package/types/devvit/ui/effects/web_view/v1alpha/post_message.js +5 -0
  325. package/types/devvit/ui/effects/web_view/v1alpha/web_view.d.ts.map +1 -1
  326. package/types/devvit/ui/effects/web_view/v1alpha/web_view.js +2 -0
  327. package/types/devvit/ui/events/v1alpha/event.d.ts.map +1 -1
  328. package/types/devvit/ui/events/v1alpha/event.js +9 -0
  329. package/types/devvit/ui/events/v1alpha/handle_ui.d.ts.map +1 -1
  330. package/types/devvit/ui/events/v1alpha/handle_ui.js +3 -0
  331. package/types/devvit/ui/events/v1alpha/web_view.d.ts.map +1 -1
  332. package/types/devvit/ui/events/v1alpha/web_view.js +4 -0
  333. package/types/devvit/ui/form_builder/v1alpha/field.d.ts.map +1 -1
  334. package/types/devvit/ui/form_builder/v1alpha/field.js +11 -0
  335. package/types/devvit/ui/form_builder/v1alpha/form.d.ts.map +1 -1
  336. package/types/devvit/ui/form_builder/v1alpha/form.js +2 -0
  337. package/types/devvit/ui/form_builder/v1alpha/value.d.ts.map +1 -1
  338. package/types/devvit/ui/form_builder/v1alpha/value.js +5 -0
  339. package/types/devvit/ui/toast/toast.d.ts.map +1 -1
  340. package/types/devvit/ui/toast/toast.js +4 -0
  341. package/types/devvit/uuid.d.ts.map +1 -1
  342. package/types/devvit/uuid.js +2 -0
  343. package/types/google/protobuf/any.d.ts.map +1 -1
  344. package/types/google/protobuf/any.js +2 -0
  345. package/types/google/protobuf/descriptor.d.ts.map +1 -1
  346. package/types/google/protobuf/descriptor.js +28 -0
  347. package/types/google/protobuf/duration.d.ts.map +1 -1
  348. package/types/google/protobuf/duration.js +2 -0
  349. package/types/google/protobuf/empty.d.ts.map +1 -1
  350. package/types/google/protobuf/empty.js +2 -0
  351. package/types/google/protobuf/struct.d.ts.map +1 -1
  352. package/types/google/protobuf/struct.js +5 -0
  353. package/types/google/protobuf/timestamp.d.ts.map +1 -1
  354. package/types/google/protobuf/timestamp.js +2 -0
  355. package/types/google/protobuf/wrappers.d.ts.map +1 -1
  356. package/types/google/protobuf/wrappers.js +10 -0
  357. package/types/typeRegistry.d.ts +2 -1
  358. package/types/typeRegistry.d.ts.map +1 -1
  359. package/types/typeRegistry.js +1 -1
  360. package/meta.min.json +0 -7430
  361. package/protos.min.js +0 -2
  362. package/protos.min.js.map +0 -7
  363. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  364. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  365. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  366. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  367. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  368. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  369. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  370. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  371. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  372. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  373. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  374. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  375. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  376. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  377. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  378. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  379. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  380. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  381. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  382. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  383. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  384. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  385. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  386. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  387. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  388. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  389. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  390. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  391. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  392. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  393. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  394. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  395. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  396. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  397. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  398. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  399. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  400. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  401. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  402. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  403. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  404. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  405. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  406. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  407. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  408. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  409. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  410. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  411. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  412. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  413. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  414. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  415. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  416. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  417. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  418. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  419. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  420. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  421. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  422. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  423. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  424. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  425. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  426. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  427. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  428. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  429. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  430. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  431. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  432. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  433. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  434. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  435. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  436. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  437. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  438. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  439. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  440. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  441. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  442. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  443. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  444. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  445. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  446. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  447. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  448. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  449. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  450. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  451. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  452. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  453. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  454. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  455. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  456. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  457. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  458. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  459. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  460. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  461. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  462. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  463. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  464. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  465. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  466. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  467. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  468. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  469. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  470. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  471. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  472. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  473. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  474. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  475. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  476. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  477. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  478. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  479. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  480. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  481. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  482. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  483. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  484. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  485. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  486. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  487. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  488. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  489. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  490. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  491. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  492. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  493. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  494. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  495. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  496. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  497. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  498. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  499. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  500. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  501. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  502. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  503. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  504. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  505. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  506. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  507. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  508. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  509. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  510. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  511. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  512. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  513. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  514. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  515. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  516. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  517. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  518. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  519. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  520. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  521. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  522. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  523. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  524. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  525. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  526. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  527. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  528. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  529. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  530. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  531. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  532. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  533. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  534. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  535. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  536. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  537. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  538. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  539. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  540. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  541. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  542. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  543. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  544. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  545. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  546. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  547. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  548. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  549. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  550. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  551. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  552. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  553. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  554. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  555. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  556. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  557. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  558. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  559. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  560. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  561. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  562. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  563. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  564. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  565. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  566. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  567. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  568. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  569. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  570. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  571. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  572. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  573. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  574. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  575. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  576. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  577. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  578. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  579. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  580. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  581. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,149 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package reddit.coreplatform.common.v1;
4
-
5
- option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/common/v1";
6
- option java_multiple_files = true;
7
- option java_outer_classname = "MediaProto";
8
- option java_package = "com.reddit.coreplatform.api.common.v1";
9
-
10
- /* @exclude No documentation present when converted from Thrift to Proto */
11
- message MediaObject {
12
- /* @exclude No documentation present when converted from Thrift to Proto */
13
- optional string type = 1;
14
-
15
- /* @exclude No documentation present when converted from Thrift to Proto */
16
- optional OEmbed oembed = 3;
17
-
18
- /* @exclude No documentation present when converted from Thrift to Proto */
19
- optional RedditVideo reddit_video = 4;
20
-
21
- /* @exclude No documentation present when converted from Thrift to Proto */
22
- MediaDimension size = 5;
23
-
24
- /* @exclude No documentation present when converted from Thrift to Proto */
25
- optional string content = 6;
26
- /* @exclude No documentation present when converted from Thrift to Proto */
27
- optional string live_event_id = 7;
28
- }
29
-
30
- /* @exclude No documentation present when converted from Thrift to Proto */
31
- message MediaDimension {
32
- /* @exclude No documentation present when converted from Thrift to Proto */
33
- optional int32 width = 1;
34
- /* @exclude No documentation present when converted from Thrift to Proto */
35
- optional int32 height = 2;
36
- }
37
-
38
- /* @exclude No documentation present when converted from Thrift to Proto */
39
- message OEmbed {
40
- /* @exclude No documentation present when converted from Thrift to Proto */
41
- string type = 1;
42
-
43
- /* @exclude No documentation present when converted from Thrift to Proto */
44
- string version = 2;
45
-
46
- /* @exclude No documentation present when converted from Thrift to Proto */
47
- optional string title = 3;
48
-
49
- /* @exclude No documentation present when converted from Thrift to Proto */
50
- optional string description = 4;
51
-
52
- /* @exclude No documentation present when converted from Thrift to Proto */
53
- optional string author_name = 5;
54
-
55
- /* @exclude No documentation present when converted from Thrift to Proto */
56
- optional string author_url = 6;
57
-
58
- /* @exclude No documentation present when converted from Thrift to Proto */
59
- string provider_name = 7;
60
-
61
- /* @exclude No documentation present when converted from Thrift to Proto */
62
- string provider_url = 8;
63
-
64
- /* @exclude No documentation present when converted from Thrift to Proto */
65
- optional string thumbnail_url = 9;
66
-
67
- /* @exclude No documentation present when converted from Thrift to Proto */
68
- MediaDimension thumbnail_size = 10;
69
-
70
- /* @exclude No documentation present when converted from Thrift to Proto */
71
- optional string html = 11;
72
-
73
- /* @exclude No documentation present when converted from Thrift to Proto */
74
- optional string url = 12;
75
-
76
- /* @exclude No documentation present when converted from Thrift to Proto */
77
- MediaDimension size = 13;
78
-
79
- /* @exclude No documentation present when converted from Thrift to Proto */
80
- MediaDimension margin = 14;
81
-
82
- /* @exclude No documentation present when converted from Thrift to Proto */
83
- optional int64 cache_age = 15;
84
- /* @exclude No documentation present when converted from Thrift to Proto */
85
- optional double mean_alpha = 16;
86
- }
87
-
88
- /* @exclude No documentation present when converted from Thrift to Proto */
89
- message RedditVideo {
90
- /* @exclude No documentation present when converted from Thrift to Proto */
91
- bool is_gif = 1;
92
-
93
- /* @exclude No documentation present when converted from Thrift to Proto */
94
- MediaDimension size = 2;
95
-
96
- /* @exclude No documentation present when converted from Thrift to Proto */
97
- string transcoding_status = 3;
98
-
99
- /* @exclude No documentation present when converted from Thrift to Proto */
100
- optional string transcoding_message = 4;
101
-
102
- /* @exclude No documentation present when converted from Thrift to Proto */
103
- int64 duration = 5;
104
-
105
- /* @exclude No documentation present when converted from Thrift to Proto */
106
- string dash_url = 6;
107
-
108
- /* @exclude No documentation present when converted from Thrift to Proto */
109
- string hls_url = 7;
110
-
111
- /* @exclude No documentation present when converted from Thrift to Proto */
112
- string fallback_url = 8;
113
-
114
- /* @exclude No documentation present when converted from Thrift to Proto */
115
- string scrubber_media_url = 9;
116
-
117
- /* @exclude No documentation present when converted from Thrift to Proto */
118
- int32 bitrate_kbps = 10;
119
-
120
- // has_audio signals the presence of an audio track in the video. This is
121
- // used in the watch feed to optimize playback. c.f.
122
- // https://docs.google.com/document/d/1JhFVnYv4zk1S7sMj9BNxUsUZQVdoJ29g-sUsf87i5uk/
123
- optional bool has_audio = 11;
124
- }
125
-
126
- /* @exclude No documentation present when converted from Thrift to Proto */
127
- message RpanVideo {
128
- /* @exclude No documentation present when converted from Thrift to Proto */
129
- optional string hls_url = 1;
130
- /* @exclude No documentation present when converted from Thrift to Proto */
131
- optional string scrubber_media_url = 2;
132
- }
133
-
134
- /* @exclude No documentation present when converted from Thrift to Proto */
135
- message PreviewObject {
136
- /* @exclude No documentation present when converted from Thrift to Proto */
137
- optional string url = 1;
138
-
139
- /* @exclude No documentation present when converted from Thrift to Proto */
140
- optional int32 width = 2;
141
-
142
- /* @exclude No documentation present when converted from Thrift to Proto */
143
- optional int32 height = 3;
144
-
145
- /* @exclude No documentation present when converted from Thrift to Proto */
146
- optional string uid = 4;
147
- /* @exclude No documentation present when converted from Thrift to Proto */
148
- optional RedditVideo reddit_video = 5;
149
- }
@@ -1,197 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package reddit.coreplatform.common.v1;
4
-
5
- import "reddit/coreplatform/api/metadata/v1/metadata.proto";
6
-
7
- option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/common/v1";
8
- option java_multiple_files = true;
9
- option java_outer_classname = "ModerationProto";
10
- option java_package = "com.reddit.coreplatform.api.common.v1";
11
-
12
- /* @exclude No documentation present when converted from Thrift to Proto */
13
- enum Verdict {
14
- /* @exclude No documentation present when converted from Thrift to Proto */
15
- VERDICT_UNSPECIFIED = 0;
16
-
17
- /* @exclude No documentation present when converted from Thrift to Proto */
18
- VERDICT_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
19
- name: "NULL_VALUE"
20
- ordinal: 0,
21
- }];
22
-
23
- /* @exclude No documentation present when converted from Thrift to Proto */
24
- VERDICT_MOD_APPROVED = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
25
- name: "MOD_APPROVED"
26
- ordinal: 1,
27
- }];
28
-
29
- /* @exclude No documentation present when converted from Thrift to Proto */
30
- VERDICT_MOD_REMOVED = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
31
- name: "MOD_REMOVED"
32
- ordinal: 2,
33
- }];
34
-
35
- /* @exclude No documentation present when converted from Thrift to Proto */
36
- VERDICT_ADMIN_REMOVED = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
37
- name: "ADMIN_REMOVED"
38
- ordinal: 3,
39
- }];
40
-
41
- /* @exclude No documentation present when converted from Thrift to Proto */
42
- VERDICT_ADMIN_APPROVED = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
43
- name: "ADMIN_APPROVED"
44
- ordinal: 4,
45
- }];
46
-
47
- /* @exclude No documentation present when converted from Thrift to Proto */
48
- VERDICT_ADMIN_RESTORED = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
49
- name: "ADMIN_RESTORED"
50
- ordinal: 5,
51
- }];
52
- }
53
-
54
- /* @exclude No documentation present when converted from Thrift to Proto */
55
- enum VerdictReason {
56
- /* @exclude No documentation present when converted from Thrift to Proto */
57
- VERDICT_REASON_UNSPECIFIED = 0;
58
-
59
- /* @exclude No documentation present when converted from Thrift to Proto */
60
- VERDICT_REASON_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
61
- name: "NULL_VALUE"
62
- ordinal: 0,
63
- }];
64
-
65
- /* @exclude No documentation present when converted from Thrift to Proto */
66
- VERDICT_REASON_LEGAL = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
67
- name: "LEGAL"
68
- ordinal: 1,
69
- }];
70
- }
71
-
72
- /* @exclude No documentation present when converted from Thrift to Proto */
73
- message BanInfo {
74
- /* @exclude No documentation present when converted from Thrift to Proto */
75
- optional bool is_auto = 1;
76
- /* @exclude No documentation present when converted from Thrift to Proto */
77
- optional int64 banned_at = 2;
78
- /* @exclude No documentation present when converted from Thrift to Proto */
79
- optional string banner_name = 3;
80
- /* @exclude No documentation present when converted from Thrift to Proto */
81
- optional bool moderator_banned = 4;
82
- /* @exclude No documentation present when converted from Thrift to Proto */
83
- optional string note = 5;
84
- /* @exclude No documentation present when converted from Thrift to Proto */
85
- optional string unbanner_name = 6;
86
- /* @exclude No documentation present when converted from Thrift to Proto */
87
- optional int64 unbanned_at = 7;
88
- /* @exclude No documentation present when converted from Thrift to Proto */
89
- optional bool reset_used = 8;
90
- /* @exclude No documentation present when converted from Thrift to Proto */
91
- optional string reason_id = 9;
92
- /* @exclude No documentation present when converted from Thrift to Proto */
93
- optional string reason_title = 10;
94
- /* @exclude No documentation present when converted from Thrift to Proto */
95
- optional string reason_message = 11;
96
- /* @exclude No documentation present when converted from Thrift to Proto */
97
- optional string reason_by = 12;
98
- /* @exclude No documentation present when converted from Thrift to Proto */
99
- optional string mod_note = 13;
100
- /* @exclude No documentation present when converted from Thrift to Proto */
101
- optional bool ban_all_triggered = 14;
102
- /* @exclude No documentation present when converted from Thrift to Proto */
103
- optional string subreddit_message = 15;
104
- /* @exclude No documentation present when converted from Thrift to Proto */
105
- optional BanInfoAction remove_action = 16;
106
- /* @exclude No documentation present when converted from Thrift to Proto */
107
- optional string subreddit_message_title = 17;
108
- }
109
-
110
- /* @exclude No documentation present when converted from Thrift to Proto */
111
- enum BanInfoAction {
112
- /* @exclude No documentation present when converted from Thrift to Proto */
113
- BAN_INFO_ACTION_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
114
- name: "UNKNOWN"
115
- ordinal: 0,
116
- }];
117
-
118
- /* @exclude No documentation present when converted from Thrift to Proto */
119
- BAN_INFO_ACTION_SPAM = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
120
- name: "SPAM"
121
- ordinal: 1,
122
- }];
123
-
124
- /* @exclude No documentation present when converted from Thrift to Proto */
125
- BAN_INFO_ACTION_FILTER = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
126
- name: "FILTER"
127
- ordinal: 2,
128
- }];
129
-
130
- /* @exclude No documentation present when converted from Thrift to Proto */
131
- BAN_INFO_ACTION_REMOVE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
132
- name: "REMOVE"
133
- ordinal: 3,
134
- }];
135
- }
136
-
137
- /* @exclude No documentation present when converted from Thrift to Proto */
138
- enum ApprovalStatus {
139
- /* @exclude No documentation present when converted from Thrift to Proto */
140
- APPROVAL_STATUS_UNSPECIFIED = 0; //
141
-
142
- /* @exclude No documentation present when converted from Thrift to Proto */
143
- APPROVAL_STATUS_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
144
- name: "NULL_VALUE"
145
- ordinal: 6,
146
- }];
147
-
148
- /* @exclude No documentation present when converted from Thrift to Proto */
149
- APPROVAL_STATUS_MOD_APPROVED = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
150
- name: "MOD_APPROVED"
151
- ordinal: 0,
152
- }];
153
-
154
- /* @exclude No documentation present when converted from Thrift to Proto */
155
- APPROVAL_STATUS_MOD_REMOVED = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
156
- name: "MOD_REMOVED"
157
- ordinal: 1,
158
- }];
159
-
160
- /* @exclude No documentation present when converted from Thrift to Proto */
161
- APPROVAL_STATUS_MOD_SPAMMED = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
162
- name: "MOD_SPAMMED"
163
- ordinal: 2,
164
- }];
165
-
166
- /* @exclude No documentation present when converted from Thrift to Proto */
167
- APPROVAL_STATUS_ADMIN_APPROVED = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
168
- name: "ADMIN_APPROVED"
169
- ordinal: 3,
170
- }];
171
-
172
- /* @exclude No documentation present when converted from Thrift to Proto */
173
- APPROVAL_STATUS_ADMIN_REMOVED = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
174
- name: "ADMIN_REMOVED"
175
- ordinal: 4,
176
- }];
177
-
178
- /* @exclude No documentation present when converted from Thrift to Proto */
179
- APPROVAL_STATUS_ADMIN_SPAMMED = 7 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
180
- name: "ADMIN_SPAMMED"
181
- ordinal: 5,
182
- }];
183
- }
184
-
185
- /* @exclude No documentation present when converted from Thrift to Proto */
186
- message ModerationInfo {
187
- /* @exclude No documentation present when converted from Thrift to Proto */
188
- Verdict verdict = 1;
189
- /* @exclude No documentation present when converted from Thrift to Proto */
190
- string verdict_by = 2;
191
- /* @exclude No documentation present when converted from Thrift to Proto */
192
- VerdictReason verdict_reason = 3;
193
- /* @exclude No documentation present when converted from Thrift to Proto */
194
- int64 verdict_at = 4;
195
- /* @exclude No documentation present when converted from Thrift to Proto */
196
- string mod_note = 5;
197
- }
@@ -1,116 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package reddit.coreplatform.common.v1;
4
-
5
- import "reddit/coreplatform/api/metadata/v1/metadata.proto";
6
-
7
- option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/common/v1";
8
- option java_multiple_files = true;
9
- option java_outer_classname = "SafetyProto";
10
- option java_package = "com.reddit.coreplatform.api.common.v1";
11
-
12
- /* @exclude No documentation present when converted from Thrift to Proto */
13
- enum CrowdControlLevel {
14
- /* @exclude No documentation present when converted from Thrift to Proto */
15
- CROWD_CONTROL_LEVEL_UNSPECIFIED = 0;
16
-
17
- /* @exclude No documentation present when converted from Thrift to Proto */
18
- CROWD_CONTROL_LEVEL_OFF = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
19
- name: "OFF"
20
- ordinal: 0,
21
- }];
22
-
23
- /* @exclude No documentation present when converted from Thrift to Proto */
24
- CROWD_CONTROL_LEVEL_LENIENT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
25
- name: "LENIENT"
26
- ordinal: 1,
27
- }];
28
-
29
- /* @exclude No documentation present when converted from Thrift to Proto */
30
- CROWD_CONTROL_LEVEL_MEDIUM = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
31
- name: "MEDIUM"
32
- ordinal: 2,
33
- }];
34
-
35
- /* @exclude No documentation present when converted from Thrift to Proto */
36
- CROWD_CONTROL_LEVEL_STRICT = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
37
- name: "STRICT"
38
- ordinal: 3,
39
- }];
40
- }
41
-
42
- /* @exclude No documentation present when converted from Thrift to Proto */
43
- enum HatefulContentThreshold {
44
- /* @exclude No documentation present when converted from Thrift to Proto */
45
- HATEFUL_CONTENT_THRESHOLD_UNSPECIFIED = 0;
46
- /* @exclude No documentation present when converted from Thrift to Proto */
47
- HATEFUL_CONTENT_THRESHOLD_OFF = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
48
- name: "OFF"
49
- ordinal: 0,
50
- }];
51
- /* @exclude No documentation present when converted from Thrift to Proto */
52
- HATEFUL_CONTENT_THRESHOLD_LENIENT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
53
- name: "LENIENT"
54
- ordinal: 1,
55
- }];
56
- /* @exclude No documentation present when converted from Thrift to Proto */
57
- HATEFUL_CONTENT_THRESHOLD_MODERATE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
58
- name: "MODERATE"
59
- ordinal: 2,
60
- }];
61
- /* @exclude No documentation present when converted from Thrift to Proto */
62
- HATEFUL_CONTENT_THRESHOLD_STRICT = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
63
- name: "STRICT"
64
- ordinal: 3,
65
- }];
66
- }
67
-
68
- // DEPRECATED, see reddit-service-ban-evasion FilterSettings
69
- /* @exclude No documentation present when converted from Thrift to Proto */
70
- enum BanEvasionThreshold {
71
- /* @exclude No documentation present when converted from Thrift to Proto */
72
- BAN_EVASION_THRESHOLD_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
73
- name: "UNKNOWN"
74
- ordinal: 0,
75
- }];
76
-
77
- /* @exclude No documentation present when converted from Thrift to Proto */
78
- BAN_EVASION_THRESHOLD_OFF = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
79
- name: "OFF"
80
- ordinal: 1,
81
- }];
82
-
83
- /* @exclude No documentation present when converted from Thrift to Proto */
84
- BAN_EVASION_THRESHOLD_LENIENT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
85
- name: "LENIENT"
86
- ordinal: 2,
87
- }];
88
-
89
- /* @exclude No documentation present when converted from Thrift to Proto */
90
- BAN_EVASION_THRESHOLD_MODERATE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
91
- name: "MODERATE"
92
- ordinal: 3,
93
- }];
94
-
95
- /* @exclude No documentation present when converted from Thrift to Proto */
96
- BAN_EVASION_THRESHOLD_STRICT = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
97
- name: "STRICT"
98
- ordinal: 4,
99
- }];
100
- }
101
-
102
- /* @exclude No documentation present when converted from Thrift to Proto */
103
- message SafetyVTag {
104
- /* @exclude No documentation present when converted from Thrift to Proto */
105
- map<string, double> versions = 1;
106
- /* @exclude No documentation present when converted from Thrift to Proto */
107
- optional double score = 2;
108
- }
109
-
110
- /* @exclude No documentation present when converted from Thrift to Proto */
111
- message SafetyXTag {
112
- /* @exclude No documentation present when converted from Thrift to Proto */
113
- map<string, double> versions = 1;
114
- /* @exclude No documentation present when converted from Thrift to Proto */
115
- optional double score = 2;
116
- }
@@ -1,25 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package reddit.coreplatform.common.v1;
4
-
5
- option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/common/v1";
6
- option java_multiple_files = true;
7
- option java_outer_classname = "TimeProto";
8
- option java_package = "com.reddit.coreplatform.api.common.v1";
9
-
10
- /* @exclude No documentation present when converted from Thrift to Proto */
11
- message TimeOfDay {
12
- /* @exclude No documentation present when converted from Thrift to Proto */
13
- int32 hour = 1;
14
-
15
- /* @exclude No documentation present when converted from Thrift to Proto */
16
- int32 minute = 2;
17
- }
18
-
19
- /* @exclude No documentation present when converted from Thrift to Proto */
20
- message TimeSpan {
21
- /* @exclude No documentation present when converted from Thrift to Proto */
22
- TimeOfDay start_time_utc = 1;
23
- /* @exclude No documentation present when converted from Thrift to Proto */
24
- TimeOfDay end_time_utc = 2;
25
- }
@@ -1,101 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package reddit.coreplatform.domains.v1;
4
-
5
- import "validate/validate.proto";
6
-
7
- option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/domains/v1;domains";
8
- option java_multiple_files = true;
9
- option java_outer_classname = "DomainsMetadataServiceProto";
10
- option java_package = "com.reddit.coreplatform.api.domains.v1";
11
-
12
- // The domains metadata service exposes APIs for fetching metadata related to domains
13
- service DomainsMetadataService {
14
- // Check if the requested url has been banned at the domain-level and if it's
15
- // publicly banned (shamed) or privately banned.
16
- rpc GetDomainBanInfo(GetDomainBanInfoRequest) returns (GetDomainBanInfoResponse) {
17
- option idempotency_level = NO_SIDE_EFFECTS;
18
- }
19
- }
20
-
21
- // The ban status of the domain
22
- enum BanStatus {
23
- // Either not banned or just unspecified
24
- BAN_STATUS_UNSPECIFIED = 0;
25
-
26
- // The domain has not been banned
27
- BAN_STATUS_NOT_BANNED = 1;
28
-
29
- // The domain has been banned, but that fact shouldn't be exposed to users
30
- BAN_STATUS_PRIVATELY_BANNED = 2;
31
-
32
- // The domain has been banned and we should let users actively know it's banned
33
- BAN_STATUS_PUBLICLY_BANNED = 3;
34
- }
35
-
36
- // Ban status, message associated to a domain
37
- message DomainBanInfo {
38
- // Ban status of this URL
39
- BanStatus ban_status = 1;
40
-
41
- // Ban message to be shown when trying to submit a url from that domain
42
- string public_ban_message = 2;
43
-
44
- // Internal ban info, for admins only
45
- InternalDomainBanInfo internal_info = 3;
46
- }
47
-
48
- // All status associated with a given domain, for internal use by admins
49
- message InternalDomainBanInfo {
50
- // Ban status of this domain without overriding based on regex
51
- BanStatus original_ban_status = 1;
52
-
53
- // Internal note written by the banning admin
54
- string internal_ban_message = 2;
55
-
56
- // Is the domain also prohibited in markdown links (in self posts, comments, messages)?
57
- bool banned_in_markdown = 3;
58
-
59
- // Is the domain also prohibited as an email?
60
- bool banned_in_email = 4;
61
-
62
- // Username of the banning admin
63
- string banning_admin_username = 5;
64
-
65
- // UTC time zone, string format "YYYY-MM-DD hh:mm"
66
- string banned_at_timestamp = 6;
67
-
68
- // If present, the ban only applies to URLs matching this regex
69
- string url_regex = 7;
70
-
71
- // Is the domain also prohibited from being manually approved by moderators?
72
- bool prohibit_approval = 8;
73
-
74
- // Inspector exemptions regex (matches anywhere)
75
- string inspector_exemptions_regex = 9;
76
- }
77
-
78
- // Request argument for checking the url to see if the domain has been banned
79
- message GetDomainBanInfoRequest {
80
- // The list of full urls to check for banned status
81
- repeated string urls = 1 [(validate.rules).repeated = {
82
- min_items: 1,
83
- max_items: 100,
84
- unique: true,
85
- items: {
86
- string: {
87
- min_len: 3,
88
- max_len: 2048,
89
- },
90
- }
91
- }];
92
-
93
- // Whether internal info should be included
94
- bool include_internal_info = 2;
95
- }
96
-
97
- // Response payload for if the url is part of a banned domain
98
- message GetDomainBanInfoResponse {
99
- // A map of url to the ban status of that url's domain.
100
- map<string, DomainBanInfo> ban_info_by_url = 1;
101
- }
@@ -1,34 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package reddit.coreplatform.grpc_thrift.v1;
4
-
5
- import "google/protobuf/descriptor.proto";
6
-
7
- option go_package = "github.snooguts.net/reddit/core-platform-grpc-thrift/grpc_thrift/v1";
8
-
9
- extend google.protobuf.MessageOptions {
10
- string thrift_alias_go = 78000000;
11
- string thrift_alias_py = 78000001;
12
- }
13
-
14
- extend google.protobuf.MethodOptions {
15
- ThriftMethodTypeAliases thrift_aliases = 78000000;
16
- }
17
-
18
- // This message is used to annotate rpc methods with thrift aliases for
19
- // its request and response types.
20
- message ThriftMethodTypeAliases {
21
- // Thrift aliases for the rpc request message type
22
- ThriftRuntimeTypeAliases request = 1;
23
-
24
- // Thrift aliases for the rpc response message type
25
- ThriftRuntimeTypeAliases response = 2;
26
- }
27
-
28
- // Thrift aliases for each supported runtime.
29
- message ThriftRuntimeTypeAliases {
30
- // Alias definition for python runtime
31
- string py = 1;
32
- // Alias definition for go runtime
33
- string go = 2;
34
- }