@devvit/protos 0.11.0-next-2024-07-24-1be38cc96.0 → 0.11.0-next-2024-07-25-e11c6b2a8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1161) hide show
  1. package/index.d.ts +1 -1
  2. package/index.d.ts.map +1 -1
  3. package/index.js +1 -1
  4. package/meta.min.json +117 -156
  5. package/package.json +7 -6
  6. package/protos.min.js +2 -2
  7. package/protos.min.js.map +4 -4
  8. package/schema/.snootobuf/.gitIgnoreMe +1 -0
  9. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/audit.proto +1 -1
  10. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/auth.proto +1 -1
  11. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/organization.proto +1 -1
  12. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/service.proto +1 -1
  13. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/subscription.proto +1 -1
  14. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/ui.proto +1 -1
  15. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/admin.proto +1 -1
  16. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/delivery.proto +13 -7
  17. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/filter.proto +1 -1
  18. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/firehose.proto +1 -1
  19. package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/intake.proto +1 -1
  20. package/schema/{devvit → .snootobuf/deps/devvit}/events/v1alpha/events.proto +2 -2
  21. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +17 -0
  22. package/schema/{devvit → .snootobuf/deps/devvit}/options/options.proto +1 -1
  23. package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/commentv2.proto +1 -1
  24. package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/flair.proto +1 -1
  25. package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/modaction.proto +1 -1
  26. package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/modmail.proto +1 -1
  27. package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/postv2.proto +1 -1
  28. package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/subredditv2.proto +1 -1
  29. package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/userv2.proto +1 -1
  30. package/schema/{devvit/data → .snootobuf/deps/devvit}/triggers/v1alpha/triggers.proto +2 -1
  31. package/schema/.snootobuf/deps/enum/account_gender_category.proto +14 -0
  32. package/schema/.snootobuf/deps/enum/approval_status.proto +15 -0
  33. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
  34. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
  35. package/schema/.snootobuf/deps/enum/ban_info_action.proto +12 -0
  36. package/schema/.snootobuf/deps/enum/block_relation_type.proto +11 -0
  37. package/schema/.snootobuf/deps/enum/comment_sort.proto +18 -0
  38. package/schema/.snootobuf/deps/enum/comment_type.proto +11 -0
  39. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
  40. package/schema/.snootobuf/deps/enum/discussion_type.proto +10 -0
  41. package/schema/.snootobuf/deps/enum/distinguish_type.proto +14 -0
  42. package/schema/.snootobuf/deps/enum/flair_position.proto +11 -0
  43. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
  44. package/schema/.snootobuf/deps/enum/link_content_type.proto +11 -0
  45. package/schema/.snootobuf/deps/enum/link_type.proto +11 -0
  46. package/schema/.snootobuf/deps/enum/link_visibility.proto +11 -0
  47. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
  48. package/schema/.snootobuf/deps/enum/promo_layout.proto +11 -0
  49. package/schema/.snootobuf/deps/enum/removed_by_type.proto +18 -0
  50. package/schema/.snootobuf/deps/enum/spam_level.proto +11 -0
  51. package/schema/.snootobuf/deps/enum/subreddit_type.proto +16 -0
  52. package/schema/.snootobuf/deps/enum/verdict.proto +14 -0
  53. package/schema/.snootobuf/deps/enum/vote.proto +12 -0
  54. package/schema/.snootobuf/deps/enum/whitelist_status.proto +17 -0
  55. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
  56. package/schema/.snootobuf/deps/evaluator/evaluator.proto +112 -0
  57. package/schema/.snootobuf/deps/google/api/auth.proto +181 -0
  58. package/schema/.snootobuf/deps/google/api/backend.proto +51 -0
  59. package/schema/.snootobuf/deps/google/api/billing.proto +67 -0
  60. package/schema/{google → .snootobuf/deps/google}/api/client.proto +37 -37
  61. package/schema/.snootobuf/deps/google/api/config_change.proto +85 -0
  62. package/schema/.snootobuf/deps/google/api/consumer.proto +83 -0
  63. package/schema/.snootobuf/deps/google/api/context.proto +63 -0
  64. package/schema/.snootobuf/deps/google/api/control.proto +33 -0
  65. package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
  66. package/schema/.snootobuf/deps/google/api/documentation.proto +157 -0
  67. package/schema/.snootobuf/deps/google/api/endpoint.proto +71 -0
  68. package/schema/{google → .snootobuf/deps/google}/api/field_behavior.proto +23 -17
  69. package/schema/{google → .snootobuf/deps/google}/api/http.proto +1 -0
  70. package/schema/.snootobuf/deps/google/api/httpbody.proto +76 -0
  71. package/schema/.snootobuf/deps/google/api/label.proto +49 -0
  72. package/schema/.snootobuf/deps/google/api/launch_stage.proto +67 -0
  73. package/schema/.snootobuf/deps/google/api/log.proto +55 -0
  74. package/schema/.snootobuf/deps/google/api/logging.proto +83 -0
  75. package/schema/.snootobuf/deps/google/api/metric.proto +192 -0
  76. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +116 -0
  77. package/schema/.snootobuf/deps/google/api/monitoring.proto +89 -0
  78. package/schema/.snootobuf/deps/google/api/quota.proto +259 -0
  79. package/schema/.snootobuf/deps/google/api/resource.proto +299 -0
  80. package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
  81. package/schema/.snootobuf/deps/google/api/service.proto +175 -0
  82. package/schema/.snootobuf/deps/google/api/source_info.proto +32 -0
  83. package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
  84. package/schema/.snootobuf/deps/google/api/usage.proto +92 -0
  85. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
  86. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
  87. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
  88. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
  89. package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
  90. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
  91. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
  92. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
  93. package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
  94. package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
  95. package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
  96. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
  97. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
  98. package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
  99. package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
  100. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
  101. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
  102. package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
  103. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
  104. package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
  105. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
  106. package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
  107. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
  108. package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
  109. package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
  110. package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
  111. package/schema/.snootobuf/deps/google/type/color.proto +170 -0
  112. package/schema/.snootobuf/deps/google/type/date.proto +50 -0
  113. package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
  114. package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
  115. package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
  116. package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
  117. package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
  118. package/schema/.snootobuf/deps/google/type/money.proto +43 -0
  119. package/schema/.snootobuf/deps/google/type/month.proto +66 -0
  120. package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
  121. package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
  122. package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
  123. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  124. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
  125. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
  126. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
  127. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
  128. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
  129. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
  130. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
  131. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
  132. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
  133. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
  134. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
  135. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
  136. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
  137. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
  138. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
  139. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
  140. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
  141. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
  142. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
  143. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
  144. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
  145. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
  146. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
  147. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
  148. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
  149. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
  150. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
  151. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
  152. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
  153. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
  154. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
  155. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
  156. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
  157. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +69 -0
  158. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +289 -0
  159. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
  160. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +54 -0
  161. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
  162. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
  163. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
  164. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
  165. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
  166. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +32 -0
  167. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
  168. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
  169. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
  170. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +144 -0
  171. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
  172. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
  173. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
  174. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
  175. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  176. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
  177. package/schema/.snootobuf/deps/validate/validate.proto +862 -0
  178. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/automation/v1alpha/event_handlers.client.ts +597 -0
  179. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/automation/v1alpha/event_handlers.ts +191 -0
  180. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/bot/bot.client.ts +49 -0
  181. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/bot/bot.ts +340 -0
  182. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/hello/hello.client.ts +42 -0
  183. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/hello/hello.ts +99 -0
  184. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/payments/v1alpha/payments.client.ts +70 -0
  185. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/payments/v1alpha/payments.ts +334 -0
  186. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/permissions/permissions.ts +324 -0
  187. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/producer/producer.client.ts +37 -0
  188. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/producer/producer.ts +174 -0
  189. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_action.client.ts +58 -0
  190. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_action.ts +679 -0
  191. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_type.ts +22 -0
  192. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/post_filter.client.ts +37 -0
  193. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/post_filter.ts +131 -0
  194. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/action.ts +84 -0
  195. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/handler.client.ts +43 -0
  196. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/handler.ts +12 -0
  197. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/app_settings.client.ts +70 -0
  198. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/app_settings.ts +15 -0
  199. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/installation_settings.client.ts +70 -0
  200. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/installation_settings.ts +15 -0
  201. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/instance_settings.client.ts +68 -0
  202. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/instance_settings.ts +15 -0
  203. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/shared.ts +311 -0
  204. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/streams.client.ts +82 -0
  205. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/streams.ts +77 -0
  206. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/wrappertypes.client.ts +120 -0
  207. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/wrappertypes.ts +25 -0
  208. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/user_configurable/user_configurable.client.ts +63 -0
  209. package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/user_configurable/user_configurable.ts +284 -0
  210. package/schema/.snootobuf/output/devenv_ts_files/devvit/cli/playtest.ts +323 -0
  211. package/schema/.snootobuf/output/devenv_ts_files/devvit/debug/v1alpha/debug.client.ts +37 -0
  212. package/schema/.snootobuf/output/devenv_ts_files/devvit/debug/v1alpha/debug.ts +143 -0
  213. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/actor/actor_type.ts +94 -0
  214. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/admin/waitlist_admin.client.ts +76 -0
  215. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/admin/waitlist_admin.ts +659 -0
  216. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/app.ts +2060 -0
  217. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/categories/categories.ts +146 -0
  218. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/info/app_info.ts +389 -0
  219. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/app_publish_request.ts +970 -0
  220. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/note/app_publish_request_note.ts +257 -0
  221. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/review/app_publish_request_review.ts +336 -0
  222. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_settings/app_settings.ts +571 -0
  223. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_version/app_version.ts +1161 -0
  224. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_version/info/app_version_info.ts +397 -0
  225. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/audit/audit.ts +646 -0
  226. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/auth/auth.ts +458 -0
  227. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/organization/organization.ts +347 -0
  228. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/subscription/subscription.ts +982 -0
  229. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.client.ts +1071 -0
  230. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.ts +222 -0
  231. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/feedback/feedback.ts +70 -0
  232. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/installation/installation.ts +1882 -0
  233. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/installation_settings/installation_settings.ts +575 -0
  234. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/authorization/v1alpha/authorization.client.ts +41 -0
  235. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/authorization/v1alpha/authorization.ts +394 -0
  236. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.client.ts +118 -0
  237. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.ts +27 -0
  238. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.ts +180 -0
  239. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/media/media.client.ts +41 -0
  240. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/media/media.ts +162 -0
  241. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/nutrition/nutrition.ts +245 -0
  242. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/reddit/redditor.ts +98 -0
  243. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/waitlist/waitlist.client.ts +84 -0
  244. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/waitlist/waitlist.ts +455 -0
  245. package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/realtime.client.ts +50 -0
  246. package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/realtime.ts +149 -0
  247. package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/wqcleanup.ts +68 -0
  248. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/custom_post_snapshot.client.ts +37 -0
  249. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/custom_post_snapshot.ts +76 -0
  250. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/resolvers.client.ts +37 -0
  251. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/resolvers.ts +76 -0
  252. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/utils/v1alpha/utilities.client.ts +114 -0
  253. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/utils/v1alpha/utilities.ts +475 -0
  254. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/v1alpha/triggers.client.ts +96 -0
  255. package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/v1alpha/triggers.ts +256 -0
  256. package/schema/.snootobuf/output/devenv_ts_files/devvit/gql/snapshot.ts +80 -0
  257. package/schema/.snootobuf/output/devenv_ts_files/devvit/gql/subreddit_metadata.ts +312 -0
  258. package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/common.ts +22 -0
  259. package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/order.ts +208 -0
  260. package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/product.ts +241 -0
  261. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/assetresolver/assetresolver.client.ts +58 -0
  262. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/assetresolver/assetresolver.ts +380 -0
  263. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/builder/builder.client.ts +57 -0
  264. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/builder/builder.ts +102 -0
  265. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack.client.ts +57 -0
  266. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack.ts +13 -0
  267. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack_common.ts +705 -0
  268. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/filesystem.ts +168 -0
  269. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/clock/clock.client.ts +37 -0
  270. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/clock/clock.ts +12 -0
  271. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/http/http.client.ts +37 -0
  272. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/http/http.ts +294 -0
  273. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/inspector/inspector.client.ts +51 -0
  274. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/inspector/inspector.ts +304 -0
  275. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/kvstore/kvstore.client.ts +72 -0
  276. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/kvstore/kvstore.ts +209 -0
  277. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/linker.client.ts +51 -0
  278. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/linker.ts +89 -0
  279. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/resolver.client.ts +80 -0
  280. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/resolver.ts +198 -0
  281. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/logger/logger.client.ts +83 -0
  282. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/logger/logger.ts +608 -0
  283. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/media/media.client.ts +37 -0
  284. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/media/media.ts +155 -0
  285. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/modlog/modlog.client.ts +43 -0
  286. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/modlog/modlog.ts +187 -0
  287. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/payments/v1alpha/payments.client.ts +81 -0
  288. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/payments/v1alpha/payments.ts +476 -0
  289. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/common/common_msg.ts +3641 -0
  290. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_msg.ts +2310 -0
  291. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_svc.client.ts +270 -0
  292. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_svc.ts +43 -0
  293. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_msg.ts +224 -0
  294. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_svc.client.ts +63 -0
  295. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_svc.ts +14 -0
  296. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.ts +1869 -0
  297. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.client.ts +571 -0
  298. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.ts +52 -0
  299. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_msg.ts +1156 -0
  300. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_svc.client.ts +194 -0
  301. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_svc.ts +27 -0
  302. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_msg.ts +1231 -0
  303. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_svc.client.ts +373 -0
  304. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_svc.ts +46 -0
  305. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_msg.ts +1025 -0
  306. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_svc.client.ts +112 -0
  307. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_svc.ts +23 -0
  308. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_msg.ts +4135 -0
  309. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_svc.client.ts +351 -0
  310. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_svc.ts +52 -0
  311. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_msg.ts +1040 -0
  312. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_svc.client.ts +207 -0
  313. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_svc.ts +34 -0
  314. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_msg.ts +380 -0
  315. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_svc.client.ts +186 -0
  316. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_svc.ts +25 -0
  317. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_msg.ts +11280 -0
  318. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_svc.client.ts +480 -0
  319. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_svc.ts +71 -0
  320. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_msg.ts +1820 -0
  321. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_svc.client.ts +247 -0
  322. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_svc.ts +42 -0
  323. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_msg.ts +4766 -0
  324. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_svc.client.ts +401 -0
  325. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_svc.ts +56 -0
  326. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_msg.ts +1786 -0
  327. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_svc.client.ts +236 -0
  328. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_svc.ts +35 -0
  329. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapiv2/redditapiv2.client.ts +50 -0
  330. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapiv2/redditapiv2.ts +15 -0
  331. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redis/redisapi.client.ts +518 -0
  332. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redis/redisapi.ts +3347 -0
  333. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/scheduler/scheduler.client.ts +89 -0
  334. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/scheduler/scheduler.ts +575 -0
  335. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/settings/v1alpha/settings.client.ts +41 -0
  336. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/settings/v1alpha/settings.ts +235 -0
  337. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/streambroker/streambroker.client.ts +50 -0
  338. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/streambroker/streambroker.ts +169 -0
  339. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/timer/timer.client.ts +37 -0
  340. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/timer/timer.ts +76 -0
  341. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/v2events/v2events.client.ts +41 -0
  342. package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/v2events/v2events.ts +312 -0
  343. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/comment.ts +963 -0
  344. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/common.ts +1099 -0
  345. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_actions/v2alpha/custom_actions.client.ts +50 -0
  346. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_actions/v2alpha/custom_actions.ts +527 -0
  347. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_post/v1alpha/custom_post.client.ts +79 -0
  348. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_post/v1alpha/custom_post.ts +340 -0
  349. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/post.ts +2063 -0
  350. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/subreddit.ts +1374 -0
  351. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/thing_type.ts +36 -0
  352. package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/user.ts +1418 -0
  353. package/schema/.snootobuf/output/devenv_ts_files/devvit/remote_logger/remote_logger.client.ts +78 -0
  354. package/schema/.snootobuf/output/devenv_ts_files/devvit/remote_logger/remote_logger.ts +538 -0
  355. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/bootstrap.client.ts +56 -0
  356. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/bootstrap.ts +13 -0
  357. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/echo.client.ts +36 -0
  358. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/echo.ts +11 -0
  359. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/runtime.client.ts +53 -0
  360. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/runtime.ts +78 -0
  361. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/supervisor.client.ts +87 -0
  362. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/supervisor.ts +92 -0
  363. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/v1alpha/health.client.ts +37 -0
  364. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/v1alpha/health.ts +87 -0
  365. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/bundle.ts +859 -0
  366. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/envelope.ts +230 -0
  367. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/runtime_common.ts +251 -0
  368. package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/serializable.ts +232 -0
  369. package/schema/.snootobuf/output/devenv_ts_files/devvit/service/bundle_service.client.ts +57 -0
  370. package/schema/.snootobuf/output/devenv_ts_files/devvit/service/bundle_service.ts +82 -0
  371. package/schema/.snootobuf/output/devenv_ts_files/devvit/service/envelope_service.client.ts +41 -0
  372. package/schema/.snootobuf/output/devenv_ts_files/devvit/service/envelope_service.ts +12 -0
  373. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/attributes.ts +642 -0
  374. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/block.ts +1656 -0
  375. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/enums.ts +602 -0
  376. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/rendering.ts +157 -0
  377. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/ui.ts +354 -0
  378. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/common/v1alpha/common.ts +116 -0
  379. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/create_order.ts +217 -0
  380. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/effect.ts +266 -0
  381. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/interval.ts +169 -0
  382. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/navigate_to_url.ts +81 -0
  383. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/realtime_subscriptions.ts +156 -0
  384. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/reload_part.ts +349 -0
  385. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/rerender_ui.ts +71 -0
  386. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/show_form.ts +162 -0
  387. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/show_toast.ts +104 -0
  388. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/event.ts +697 -0
  389. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/handle_ui.client.ts +39 -0
  390. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/handle_ui.ts +160 -0
  391. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/field.ts +974 -0
  392. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/form.ts +134 -0
  393. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/type.ts +56 -0
  394. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/value.ts +359 -0
  395. package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/toast/toast.ts +314 -0
  396. package/schema/.snootobuf/output/devenv_ts_files/devvit/uuid.ts +70 -0
  397. package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/any.ts +322 -0
  398. package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/descriptor.ts +3475 -0
  399. package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/duration.ts +231 -0
  400. package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/empty.ts +81 -0
  401. package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/struct.ts +482 -0
  402. package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/timestamp.ts +290 -0
  403. package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/wrappers.ts +752 -0
  404. package/schema/devvit/dev_portal/admin/waitlist_admin.proto +2 -0
  405. package/schema/devvit/dev_portal/app/app.proto +2 -0
  406. package/schema/devvit/dev_portal/app_publish_request/app_publish_request.proto +2 -0
  407. package/schema/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +2 -0
  408. package/schema/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +2 -0
  409. package/schema/devvit/dev_portal/app_settings/app_settings.proto +2 -0
  410. package/schema/devvit/dev_portal/dev_portal.proto +2 -0
  411. package/schema/devvit/dev_portal/feedback/feedback.proto +2 -0
  412. package/schema/devvit/dev_portal/installation_settings/installation_settings.proto +2 -0
  413. package/schema/devvit/dev_portal/nutrition/nutrition.proto +2 -0
  414. package/schema/devvit/dev_portal/waitlist/waitlist.proto +2 -0
  415. package/schema/devvit/gateway/v1alpha/triggers.proto +1 -1
  416. package/schema/snootobuf.devenv.lock +0 -0
  417. package/schema/snootobuf.devenv.yaml +15 -0
  418. package/schema/snootobuf.lock +0 -0
  419. package/schema/snootobuf.redditapi.lock +0 -0
  420. package/schema/snootobuf.redditapi.yaml +14 -0
  421. package/schema/snootobuf.ts.lock +0 -0
  422. package/schema/snootobuf.ts.yaml +35 -0
  423. package/schema/snootobuf.yaml +49 -0
  424. package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts +6 -6
  425. package/types/devvit/actor/automation/v1alpha/event_handlers.js +5 -5
  426. package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.d.ts +342 -0
  427. package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.d.ts.map +1 -0
  428. package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.js +466 -0
  429. package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.d.ts +175 -0
  430. package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.d.ts.map +1 -0
  431. package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.js +1833 -0
  432. package/types/devvit/actor/bot/bot.d.ts +2 -2
  433. package/types/devvit/actor/bot/bot.js +3 -3
  434. package/types/devvit/actor/bot/bot.twirp-client.d.ts +23 -0
  435. package/types/devvit/actor/bot/bot.twirp-client.d.ts.map +1 -0
  436. package/types/devvit/actor/bot/bot.twirp-client.js +36 -0
  437. package/types/devvit/actor/bot/bot.twirp.d.ts +15 -0
  438. package/types/devvit/actor/bot/bot.twirp.d.ts.map +1 -0
  439. package/types/devvit/actor/bot/bot.twirp.js +154 -0
  440. package/types/devvit/actor/hello/hello.d.ts +1 -1
  441. package/types/devvit/actor/hello/hello.js +2 -2
  442. package/types/devvit/actor/hello/hello.twirp-client.d.ts +19 -0
  443. package/types/devvit/actor/hello/hello.twirp-client.d.ts.map +1 -0
  444. package/types/devvit/actor/hello/hello.twirp-client.js +23 -0
  445. package/types/devvit/actor/hello/hello.twirp.d.ts +12 -0
  446. package/types/devvit/actor/hello/hello.twirp.d.ts.map +1 -0
  447. package/types/devvit/actor/hello/hello.twirp.js +88 -0
  448. package/types/devvit/actor/payments/v1alpha/payments.d.ts +2 -2
  449. package/types/devvit/actor/payments/v1alpha/payments.js +3 -3
  450. package/types/devvit/actor/payments/v1alpha/payments.twirp-client.d.ts +22 -0
  451. package/types/devvit/actor/payments/v1alpha/payments.twirp-client.d.ts.map +1 -0
  452. package/types/devvit/actor/payments/v1alpha/payments.twirp-client.js +35 -0
  453. package/types/devvit/actor/payments/v1alpha/payments.twirp.d.ts +14 -0
  454. package/types/devvit/actor/payments/v1alpha/payments.twirp.d.ts.map +1 -0
  455. package/types/devvit/actor/payments/v1alpha/payments.twirp.js +156 -0
  456. package/types/devvit/actor/permissions/permissions.d.ts +1 -1
  457. package/types/devvit/actor/permissions/permissions.js +2 -2
  458. package/types/devvit/actor/producer/producer.d.ts +1 -1
  459. package/types/devvit/actor/producer/producer.js +2 -2
  460. package/types/devvit/actor/producer/producer.twirp-client.d.ts +19 -0
  461. package/types/devvit/actor/producer/producer.twirp-client.d.ts.map +1 -0
  462. package/types/devvit/actor/producer/producer.twirp-client.js +23 -0
  463. package/types/devvit/actor/producer/producer.twirp.d.ts +12 -0
  464. package/types/devvit/actor/producer/producer.twirp.d.ts.map +1 -0
  465. package/types/devvit/actor/producer/producer.twirp.js +88 -0
  466. package/types/devvit/actor/reddit/context_action.d.ts +6 -6
  467. package/types/devvit/actor/reddit/context_action.js +7 -7
  468. package/types/devvit/actor/reddit/context_action.twirp-client.d.ts +23 -0
  469. package/types/devvit/actor/reddit/context_action.twirp-client.d.ts.map +1 -0
  470. package/types/devvit/actor/reddit/context_action.twirp-client.js +36 -0
  471. package/types/devvit/actor/reddit/context_action.twirp.d.ts +15 -0
  472. package/types/devvit/actor/reddit/context_action.twirp.d.ts.map +1 -0
  473. package/types/devvit/actor/reddit/context_action.twirp.js +157 -0
  474. package/types/devvit/actor/reddit/post_filter.d.ts +2 -2
  475. package/types/devvit/actor/reddit/post_filter.js +3 -3
  476. package/types/devvit/actor/reddit/post_filter.twirp-client.d.ts +19 -0
  477. package/types/devvit/actor/reddit/post_filter.twirp-client.d.ts.map +1 -0
  478. package/types/devvit/actor/reddit/post_filter.twirp-client.js +23 -0
  479. package/types/devvit/actor/reddit/post_filter.twirp.d.ts +12 -0
  480. package/types/devvit/actor/reddit/post_filter.twirp.d.ts.map +1 -0
  481. package/types/devvit/actor/reddit/post_filter.twirp.js +88 -0
  482. package/types/devvit/actor/scheduler/action.d.ts +1 -1
  483. package/types/devvit/actor/scheduler/action.js +3 -3
  484. package/types/devvit/actor/scheduler/handler.d.ts +3 -3
  485. package/types/devvit/actor/scheduler/handler.js +3 -3
  486. package/types/devvit/actor/scheduler/handler.twirp-client.d.ts +20 -0
  487. package/types/devvit/actor/scheduler/handler.twirp-client.d.ts.map +1 -0
  488. package/types/devvit/actor/scheduler/handler.twirp-client.js +24 -0
  489. package/types/devvit/actor/scheduler/handler.twirp.d.ts +13 -0
  490. package/types/devvit/actor/scheduler/handler.twirp.d.ts.map +1 -0
  491. package/types/devvit/actor/scheduler/handler.twirp.js +91 -0
  492. package/types/devvit/actor/settings/v1alpha/app_settings.d.ts +2 -2
  493. package/types/devvit/actor/settings/v1alpha/app_settings.js +2 -2
  494. package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.d.ts +22 -0
  495. package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.d.ts.map +1 -0
  496. package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.js +35 -0
  497. package/types/devvit/actor/settings/v1alpha/app_settings.twirp.d.ts +14 -0
  498. package/types/devvit/actor/settings/v1alpha/app_settings.twirp.d.ts.map +1 -0
  499. package/types/devvit/actor/settings/v1alpha/app_settings.twirp.js +156 -0
  500. package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts +2 -2
  501. package/types/devvit/actor/settings/v1alpha/installation_settings.js +2 -2
  502. package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.d.ts +22 -0
  503. package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.d.ts.map +1 -0
  504. package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.js +35 -0
  505. package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.d.ts +14 -0
  506. package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.d.ts.map +1 -0
  507. package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.js +156 -0
  508. package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts +2 -2
  509. package/types/devvit/actor/settings/v1alpha/instance_settings.js +2 -2
  510. package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.d.ts +22 -0
  511. package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.d.ts.map +1 -0
  512. package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.js +35 -0
  513. package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.d.ts +14 -0
  514. package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.d.ts.map +1 -0
  515. package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.js +156 -0
  516. package/types/devvit/actor/settings/v1alpha/shared.d.ts +3 -3
  517. package/types/devvit/actor/settings/v1alpha/shared.js +4 -4
  518. package/types/devvit/actor/test/streams.d.ts +1 -1
  519. package/types/devvit/actor/test/streams.js +2 -2
  520. package/types/devvit/actor/test/streams.twirp-client.d.ts +25 -0
  521. package/types/devvit/actor/test/streams.twirp-client.d.ts.map +1 -0
  522. package/types/devvit/actor/test/streams.twirp-client.js +47 -0
  523. package/types/devvit/actor/test/streams.twirp.d.ts +16 -0
  524. package/types/devvit/actor/test/streams.twirp.d.ts.map +1 -0
  525. package/types/devvit/actor/test/streams.twirp.js +222 -0
  526. package/types/devvit/actor/test/wrappertypes.d.ts +2 -2
  527. package/types/devvit/actor/test/wrappertypes.js +2 -2
  528. package/types/devvit/actor/test/wrappertypes.twirp-client.d.ts +40 -0
  529. package/types/devvit/actor/test/wrappertypes.twirp-client.d.ts.map +1 -0
  530. package/types/devvit/actor/test/wrappertypes.twirp-client.js +107 -0
  531. package/types/devvit/actor/test/wrappertypes.twirp.d.ts +26 -0
  532. package/types/devvit/actor/test/wrappertypes.twirp.d.ts.map +1 -0
  533. package/types/devvit/actor/test/wrappertypes.twirp.js +552 -0
  534. package/types/devvit/actor/user_configurable/user_configurable.d.ts +2 -2
  535. package/types/devvit/actor/user_configurable/user_configurable.js +3 -3
  536. package/types/devvit/actor/user_configurable/user_configurable.twirp-client.d.ts +23 -0
  537. package/types/devvit/actor/user_configurable/user_configurable.twirp-client.d.ts.map +1 -0
  538. package/types/devvit/actor/user_configurable/user_configurable.twirp-client.js +36 -0
  539. package/types/devvit/actor/user_configurable/user_configurable.twirp.d.ts +15 -0
  540. package/types/devvit/actor/user_configurable/user_configurable.twirp.d.ts.map +1 -0
  541. package/types/devvit/actor/user_configurable/user_configurable.twirp.js +157 -0
  542. package/types/devvit/cli/playtest.d.ts +2 -2
  543. package/types/devvit/cli/playtest.js +3 -3
  544. package/types/devvit/data/api/v1alpha/admin.d.ts +4 -4
  545. package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  546. package/types/devvit/data/api/v1alpha/admin.js +6 -6
  547. package/types/devvit/debug/v1alpha/debug.d.ts +1 -1
  548. package/types/devvit/debug/v1alpha/debug.js +2 -2
  549. package/types/devvit/debug/v1alpha/debug.twirp-client.d.ts +19 -0
  550. package/types/devvit/debug/v1alpha/debug.twirp-client.d.ts.map +1 -0
  551. package/types/devvit/debug/v1alpha/debug.twirp-client.js +23 -0
  552. package/types/devvit/debug/v1alpha/debug.twirp.d.ts +12 -0
  553. package/types/devvit/debug/v1alpha/debug.twirp.d.ts.map +1 -0
  554. package/types/devvit/debug/v1alpha/debug.twirp.js +88 -0
  555. package/types/devvit/dev_portal/actor/actor_type.d.ts +1 -1
  556. package/types/devvit/dev_portal/actor/actor_type.js +2 -2
  557. package/types/devvit/dev_portal/admin/waitlist_admin.d.ts +3 -3
  558. package/types/devvit/dev_portal/admin/waitlist_admin.js +5 -5
  559. package/types/devvit/dev_portal/app/app.d.ts +4 -4
  560. package/types/devvit/dev_portal/app/app.js +6 -6
  561. package/types/devvit/dev_portal/app/info/app_info.d.ts +4 -4
  562. package/types/devvit/dev_portal/app/info/app_info.js +6 -6
  563. package/types/devvit/dev_portal/app_publish_request/app_publish_request.d.ts +6 -6
  564. package/types/devvit/dev_portal/app_publish_request/app_publish_request.js +8 -8
  565. package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.d.ts +2 -2
  566. package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.js +4 -4
  567. package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts +2 -2
  568. package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.js +4 -4
  569. package/types/devvit/dev_portal/app_settings/app_settings.d.ts +3 -3
  570. package/types/devvit/dev_portal/app_settings/app_settings.js +4 -4
  571. package/types/devvit/dev_portal/app_version/app_version.d.ts +7 -7
  572. package/types/devvit/dev_portal/app_version/app_version.js +9 -9
  573. package/types/devvit/dev_portal/app_version/info/app_version_info.d.ts +1 -1
  574. package/types/devvit/dev_portal/app_version/info/app_version_info.js +4 -4
  575. package/types/devvit/dev_portal/data_api/admin/audit/audit.d.ts +1 -1
  576. package/types/devvit/dev_portal/data_api/admin/audit/audit.js +3 -3
  577. package/types/devvit/dev_portal/data_api/admin/auth/auth.d.ts +3 -3
  578. package/types/devvit/dev_portal/data_api/admin/auth/auth.js +5 -5
  579. package/types/devvit/dev_portal/data_api/admin/organization/organization.d.ts +2 -2
  580. package/types/devvit/dev_portal/data_api/admin/organization/organization.js +3 -3
  581. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.d.ts +4 -4
  582. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.js +5 -5
  583. package/types/devvit/dev_portal/dev_portal.d.ts +20 -20
  584. package/types/devvit/dev_portal/dev_portal.js +20 -20
  585. package/types/devvit/dev_portal/feedback/feedback.d.ts +1 -1
  586. package/types/devvit/dev_portal/feedback/feedback.js +2 -2
  587. package/types/devvit/dev_portal/installation/installation.d.ts +4 -4
  588. package/types/devvit/dev_portal/installation/installation.js +8 -8
  589. package/types/devvit/dev_portal/installation_settings/installation_settings.d.ts +3 -3
  590. package/types/devvit/dev_portal/installation_settings/installation_settings.js +4 -4
  591. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.d.ts +2 -2
  592. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.js +3 -3
  593. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +5 -5
  594. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.js +5 -5
  595. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.d.ts +2 -2
  596. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.js +3 -3
  597. package/types/devvit/dev_portal/internal/media/media.d.ts +1 -1
  598. package/types/devvit/dev_portal/internal/media/media.js +2 -2
  599. package/types/devvit/dev_portal/nutrition/nutrition.d.ts +1 -1
  600. package/types/devvit/dev_portal/nutrition/nutrition.js +2 -2
  601. package/types/devvit/dev_portal/reddit/redditor.d.ts +1 -1
  602. package/types/devvit/dev_portal/reddit/redditor.js +2 -2
  603. package/types/devvit/dev_portal/waitlist/waitlist.d.ts +3 -3
  604. package/types/devvit/dev_portal/waitlist/waitlist.js +5 -5
  605. package/types/devvit/events/v1alpha/events.d.ts +6 -6
  606. package/types/devvit/events/v1alpha/events.d.ts.map +1 -1
  607. package/types/devvit/events/v1alpha/events.js +17 -17
  608. package/types/devvit/events/v1alpha/realtime.d.ts +2 -2
  609. package/types/devvit/events/v1alpha/realtime.js +4 -4
  610. package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts +23 -0
  611. package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts.map +1 -0
  612. package/types/devvit/events/v1alpha/realtime.twirp-client.js +36 -0
  613. package/types/devvit/events/v1alpha/realtime.twirp.d.ts +15 -0
  614. package/types/devvit/events/v1alpha/realtime.twirp.d.ts.map +1 -0
  615. package/types/devvit/events/v1alpha/realtime.twirp.js +157 -0
  616. package/types/devvit/events/v1alpha/wqcleanup.d.ts +1 -1
  617. package/types/devvit/events/v1alpha/wqcleanup.js +2 -2
  618. package/types/devvit/gateway/custom_post_snapshot.d.ts +2 -2
  619. package/types/devvit/gateway/custom_post_snapshot.js +3 -3
  620. package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts +20 -0
  621. package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts.map +1 -0
  622. package/types/devvit/gateway/custom_post_snapshot.twirp-client.js +24 -0
  623. package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts +13 -0
  624. package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts.map +1 -0
  625. package/types/devvit/gateway/custom_post_snapshot.twirp.js +91 -0
  626. package/types/devvit/gateway/resolvers.d.ts +2 -2
  627. package/types/devvit/gateway/resolvers.js +3 -3
  628. package/types/devvit/gateway/resolvers.twirp-client.d.ts +20 -0
  629. package/types/devvit/gateway/resolvers.twirp-client.d.ts.map +1 -0
  630. package/types/devvit/gateway/resolvers.twirp-client.js +24 -0
  631. package/types/devvit/gateway/resolvers.twirp.d.ts +13 -0
  632. package/types/devvit/gateway/resolvers.twirp.d.ts.map +1 -0
  633. package/types/devvit/gateway/resolvers.twirp.js +91 -0
  634. package/types/devvit/gateway/utils/v1alpha/utilities.d.ts +1 -1
  635. package/types/devvit/gateway/utils/v1alpha/utilities.js +2 -2
  636. package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts +47 -0
  637. package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts.map +1 -0
  638. package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.js +93 -0
  639. package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts +28 -0
  640. package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts.map +1 -0
  641. package/types/devvit/gateway/utils/v1alpha/utilities.twirp.js +440 -0
  642. package/types/devvit/gateway/v1alpha/triggers.d.ts +8 -8
  643. package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
  644. package/types/devvit/gateway/v1alpha/triggers.js +5 -5
  645. package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts +37 -0
  646. package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts.map +1 -0
  647. package/types/devvit/gateway/v1alpha/triggers.twirp-client.js +86 -0
  648. package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts +25 -0
  649. package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts.map +1 -0
  650. package/types/devvit/gateway/v1alpha/triggers.twirp.js +423 -0
  651. package/types/devvit/gql/snapshot.d.ts +1 -1
  652. package/types/devvit/gql/snapshot.js +2 -2
  653. package/types/devvit/gql/subreddit_metadata.d.ts +3 -3
  654. package/types/devvit/gql/subreddit_metadata.js +4 -4
  655. package/types/devvit/options/options.d.ts +1 -1
  656. package/types/devvit/options/options.js +2 -2
  657. package/types/devvit/payments/v1alpha/order.d.ts +3 -3
  658. package/types/devvit/payments/v1alpha/order.js +5 -5
  659. package/types/devvit/payments/v1alpha/product.d.ts +2 -2
  660. package/types/devvit/payments/v1alpha/product.js +3 -3
  661. package/types/devvit/plugin/assetresolver/assetresolver.d.ts +1 -1
  662. package/types/devvit/plugin/assetresolver/assetresolver.js +2 -2
  663. package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts +22 -0
  664. package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts.map +1 -0
  665. package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.js +35 -0
  666. package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts +14 -0
  667. package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts.map +1 -0
  668. package/types/devvit/plugin/assetresolver/assetresolver.twirp.js +156 -0
  669. package/types/devvit/plugin/builder/builder.d.ts +3 -3
  670. package/types/devvit/plugin/builder/builder.js +4 -4
  671. package/types/devvit/plugin/builder/builder.twirp-client.d.ts +23 -0
  672. package/types/devvit/plugin/builder/builder.twirp-client.d.ts.map +1 -0
  673. package/types/devvit/plugin/builder/builder.twirp-client.js +36 -0
  674. package/types/devvit/plugin/builder/builder.twirp.d.ts +15 -0
  675. package/types/devvit/plugin/builder/builder.twirp.d.ts.map +1 -0
  676. package/types/devvit/plugin/builder/builder.twirp.js +154 -0
  677. package/types/devvit/plugin/buildpack/buildpack.d.ts +2 -2
  678. package/types/devvit/plugin/buildpack/buildpack.js +2 -2
  679. package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts +22 -0
  680. package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts.map +1 -0
  681. package/types/devvit/plugin/buildpack/buildpack.twirp-client.js +35 -0
  682. package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts +14 -0
  683. package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts.map +1 -0
  684. package/types/devvit/plugin/buildpack/buildpack.twirp.js +156 -0
  685. package/types/devvit/plugin/buildpack/buildpack_common.d.ts +4 -4
  686. package/types/devvit/plugin/buildpack/buildpack_common.js +6 -6
  687. package/types/devvit/plugin/buildpack/filesystem.d.ts +1 -1
  688. package/types/devvit/plugin/buildpack/filesystem.js +2 -2
  689. package/types/devvit/plugin/clock/clock.d.ts +3 -3
  690. package/types/devvit/plugin/clock/clock.js +3 -3
  691. package/types/devvit/plugin/clock/clock.twirp-client.d.ts +20 -0
  692. package/types/devvit/plugin/clock/clock.twirp-client.d.ts.map +1 -0
  693. package/types/devvit/plugin/clock/clock.twirp-client.js +24 -0
  694. package/types/devvit/plugin/clock/clock.twirp.d.ts +13 -0
  695. package/types/devvit/plugin/clock/clock.twirp.d.ts.map +1 -0
  696. package/types/devvit/plugin/clock/clock.twirp.js +89 -0
  697. package/types/devvit/plugin/http/http.d.ts +1 -1
  698. package/types/devvit/plugin/http/http.js +2 -2
  699. package/types/devvit/plugin/http/http.twirp-client.d.ts +19 -0
  700. package/types/devvit/plugin/http/http.twirp-client.d.ts.map +1 -0
  701. package/types/devvit/plugin/http/http.twirp-client.js +23 -0
  702. package/types/devvit/plugin/http/http.twirp.d.ts +12 -0
  703. package/types/devvit/plugin/http/http.twirp.d.ts.map +1 -0
  704. package/types/devvit/plugin/http/http.twirp.js +88 -0
  705. package/types/devvit/plugin/inspector/inspector.d.ts +3 -3
  706. package/types/devvit/plugin/inspector/inspector.js +4 -4
  707. package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts +23 -0
  708. package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts.map +1 -0
  709. package/types/devvit/plugin/inspector/inspector.twirp-client.js +36 -0
  710. package/types/devvit/plugin/inspector/inspector.twirp.d.ts +15 -0
  711. package/types/devvit/plugin/inspector/inspector.twirp.d.ts.map +1 -0
  712. package/types/devvit/plugin/inspector/inspector.twirp.js +157 -0
  713. package/types/devvit/plugin/kvstore/kvstore.d.ts +2 -2
  714. package/types/devvit/plugin/kvstore/kvstore.js +3 -3
  715. package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts +29 -0
  716. package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts.map +1 -0
  717. package/types/devvit/plugin/kvstore/kvstore.twirp-client.js +60 -0
  718. package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts +19 -0
  719. package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts.map +1 -0
  720. package/types/devvit/plugin/kvstore/kvstore.twirp.js +289 -0
  721. package/types/devvit/plugin/linker/linker.d.ts +4 -4
  722. package/types/devvit/plugin/linker/linker.js +5 -5
  723. package/types/devvit/plugin/linker/linker.twirp-client.d.ts +20 -0
  724. package/types/devvit/plugin/linker/linker.twirp-client.d.ts.map +1 -0
  725. package/types/devvit/plugin/linker/linker.twirp-client.js +24 -0
  726. package/types/devvit/plugin/linker/linker.twirp.d.ts +13 -0
  727. package/types/devvit/plugin/linker/linker.twirp.d.ts.map +1 -0
  728. package/types/devvit/plugin/linker/linker.twirp.js +89 -0
  729. package/types/devvit/plugin/linker/resolver.d.ts +5 -5
  730. package/types/devvit/plugin/linker/resolver.js +6 -6
  731. package/types/devvit/plugin/linker/resolver.twirp-client.d.ts +29 -0
  732. package/types/devvit/plugin/linker/resolver.twirp-client.d.ts.map +1 -0
  733. package/types/devvit/plugin/linker/resolver.twirp-client.js +51 -0
  734. package/types/devvit/plugin/linker/resolver.twirp.d.ts +20 -0
  735. package/types/devvit/plugin/linker/resolver.twirp.d.ts.map +1 -0
  736. package/types/devvit/plugin/linker/resolver.twirp.js +226 -0
  737. package/types/devvit/plugin/logger/logger.d.ts +1 -1
  738. package/types/devvit/plugin/logger/logger.js +4 -4
  739. package/types/devvit/plugin/media/media.d.ts +1 -1
  740. package/types/devvit/plugin/media/media.js +2 -2
  741. package/types/devvit/plugin/media/media.twirp-client.d.ts +19 -0
  742. package/types/devvit/plugin/media/media.twirp-client.d.ts.map +1 -0
  743. package/types/devvit/plugin/media/media.twirp-client.js +23 -0
  744. package/types/devvit/plugin/media/media.twirp.d.ts +12 -0
  745. package/types/devvit/plugin/media/media.twirp.d.ts.map +1 -0
  746. package/types/devvit/plugin/media/media.twirp.js +88 -0
  747. package/types/devvit/plugin/modlog/modlog.d.ts +1 -1
  748. package/types/devvit/plugin/modlog/modlog.js +2 -2
  749. package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts +19 -0
  750. package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts.map +1 -0
  751. package/types/devvit/plugin/modlog/modlog.twirp-client.js +23 -0
  752. package/types/devvit/plugin/modlog/modlog.twirp.d.ts +12 -0
  753. package/types/devvit/plugin/modlog/modlog.twirp.d.ts.map +1 -0
  754. package/types/devvit/plugin/modlog/modlog.twirp.js +88 -0
  755. package/types/devvit/plugin/payments/v1alpha/payments.d.ts +3 -3
  756. package/types/devvit/plugin/payments/v1alpha/payments.js +5 -5
  757. package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts +25 -0
  758. package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts.map +1 -0
  759. package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.js +47 -0
  760. package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts +16 -0
  761. package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts.map +1 -0
  762. package/types/devvit/plugin/payments/v1alpha/payments.twirp.js +222 -0
  763. package/types/devvit/plugin/redditapi/common/common_msg.d.ts +3 -3
  764. package/types/devvit/plugin/redditapi/common/common_msg.js +6 -6
  765. package/types/devvit/plugin/redditapi/flair/flair_msg.d.ts +1 -1
  766. package/types/devvit/plugin/redditapi/flair/flair_msg.js +3 -3
  767. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts +17 -17
  768. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts.map +1 -1
  769. package/types/devvit/plugin/redditapi/flair/flair_svc.js +47 -126
  770. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts +60 -0
  771. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts.map +1 -0
  772. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.js +181 -0
  773. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts +40 -0
  774. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts.map +1 -0
  775. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.js +950 -0
  776. package/types/devvit/plugin/redditapi/graphql/graphql_msg.d.ts +1 -1
  777. package/types/devvit/plugin/redditapi/graphql/graphql_msg.js +3 -3
  778. package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts +2 -2
  779. package/types/devvit/plugin/redditapi/graphql/graphql_svc.js +2 -2
  780. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts +22 -0
  781. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts.map +1 -0
  782. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.js +35 -0
  783. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts +14 -0
  784. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts.map +1 -0
  785. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.js +156 -0
  786. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts +3 -3
  787. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +5 -5
  788. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +27 -27
  789. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
  790. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +89 -388
  791. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts +90 -0
  792. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts.map +1 -0
  793. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.js +301 -0
  794. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts +60 -0
  795. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts.map +1 -0
  796. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.js +1610 -0
  797. package/types/devvit/plugin/redditapi/listings/listings_msg.d.ts +2 -2
  798. package/types/devvit/plugin/redditapi/listings/listings_msg.js +4 -4
  799. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +11 -11
  800. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
  801. package/types/devvit/plugin/redditapi/listings/listings_svc.js +21 -55
  802. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts +41 -0
  803. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts.map +1 -0
  804. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.js +108 -0
  805. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts +27 -0
  806. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts.map +1 -0
  807. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.js +553 -0
  808. package/types/devvit/plugin/redditapi/moderation/moderation_msg.d.ts +1 -1
  809. package/types/devvit/plugin/redditapi/moderation/moderation_msg.js +3 -3
  810. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +28 -28
  811. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
  812. package/types/devvit/plugin/redditapi/moderation/moderation_svc.js +81 -361
  813. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts +85 -0
  814. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts.map +1 -0
  815. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.js +278 -0
  816. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts +57 -0
  817. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts.map +1 -0
  818. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.js +1479 -0
  819. package/types/devvit/plugin/redditapi/modnote/modnote_msg.d.ts +1 -1
  820. package/types/devvit/plugin/redditapi/modnote/modnote_msg.js +3 -3
  821. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts +8 -8
  822. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts.map +1 -1
  823. package/types/devvit/plugin/redditapi/modnote/modnote_svc.js +14 -59
  824. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts +32 -0
  825. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts.map +1 -0
  826. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.js +72 -0
  827. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts +21 -0
  828. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts.map +1 -0
  829. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.js +355 -0
  830. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.d.ts +2 -2
  831. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.js +4 -4
  832. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +21 -21
  833. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts.map +1 -1
  834. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.js +46 -142
  835. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts +77 -0
  836. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts.map +1 -0
  837. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.js +252 -0
  838. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts +51 -0
  839. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts.map +1 -0
  840. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.js +1345 -0
  841. package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.d.ts +1 -1
  842. package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.js +4 -4
  843. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts +3 -3
  844. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.js +3 -3
  845. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts +50 -0
  846. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts.map +1 -0
  847. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.js +144 -0
  848. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts +33 -0
  849. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts.map +1 -0
  850. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.js +751 -0
  851. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.d.ts +1 -1
  852. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.js +3 -3
  853. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +14 -14
  854. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
  855. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.js +34 -101
  856. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts +48 -0
  857. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts.map +1 -0
  858. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.js +133 -0
  859. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts +32 -0
  860. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts.map +1 -0
  861. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.js +686 -0
  862. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.d.ts +3 -3
  863. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.js +5 -5
  864. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +32 -32
  865. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts.map +1 -1
  866. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.js +73 -243
  867. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts +100 -0
  868. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts.map +1 -0
  869. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.js +338 -0
  870. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts +67 -0
  871. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts.map +1 -0
  872. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.js +1809 -0
  873. package/types/devvit/plugin/redditapi/users/users_msg.d.ts +2 -2
  874. package/types/devvit/plugin/redditapi/users/users_msg.js +4 -4
  875. package/types/devvit/plugin/redditapi/users/users_svc.d.ts +17 -17
  876. package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
  877. package/types/devvit/plugin/redditapi/users/users_svc.js +39 -144
  878. package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts +58 -0
  879. package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts.map +1 -0
  880. package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.js +170 -0
  881. package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts +39 -0
  882. package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts.map +1 -0
  883. package/types/devvit/plugin/redditapi/users/users_svc.twirp.js +885 -0
  884. package/types/devvit/plugin/redditapi/widgets/widgets_msg.d.ts +2 -2
  885. package/types/devvit/plugin/redditapi/widgets/widgets_msg.js +4 -4
  886. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts +21 -21
  887. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts.map +1 -1
  888. package/types/devvit/plugin/redditapi/widgets/widgets_svc.js +69 -298
  889. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts +71 -0
  890. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts.map +1 -0
  891. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.js +228 -0
  892. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts +47 -0
  893. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts.map +1 -0
  894. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.js +1213 -0
  895. package/types/devvit/plugin/redditapi/wiki/wiki_msg.d.ts +2 -2
  896. package/types/devvit/plugin/redditapi/wiki/wiki_msg.js +4 -4
  897. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts +13 -18
  898. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts.map +1 -1
  899. package/types/devvit/plugin/redditapi/wiki/wiki_svc.js +28 -79
  900. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts +47 -0
  901. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts.map +1 -0
  902. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.js +132 -0
  903. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts +31 -0
  904. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts.map +1 -0
  905. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.js +685 -0
  906. package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts +4 -4
  907. package/types/devvit/plugin/redditapiv2/redditapiv2.js +4 -4
  908. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts +24 -0
  909. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts.map +1 -0
  910. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.js +37 -0
  911. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts +16 -0
  912. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts.map +1 -0
  913. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.js +158 -0
  914. package/types/devvit/plugin/redis/redisapi.d.ts +3 -3
  915. package/types/devvit/plugin/redis/redisapi.js +4 -4
  916. package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts +126 -0
  917. package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts.map +1 -0
  918. package/types/devvit/plugin/redis/redisapi.twirp-client.js +445 -0
  919. package/types/devvit/plugin/redis/redisapi.twirp.d.ts +84 -0
  920. package/types/devvit/plugin/redis/redisapi.twirp.d.ts.map +1 -0
  921. package/types/devvit/plugin/redis/redisapi.twirp.js +2402 -0
  922. package/types/devvit/plugin/scheduler/scheduler.d.ts +4 -4
  923. package/types/devvit/plugin/scheduler/scheduler.js +6 -6
  924. package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts +26 -0
  925. package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts.map +1 -0
  926. package/types/devvit/plugin/scheduler/scheduler.twirp-client.js +48 -0
  927. package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts +17 -0
  928. package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts.map +1 -0
  929. package/types/devvit/plugin/scheduler/scheduler.twirp.js +223 -0
  930. package/types/devvit/plugin/settings/v1alpha/settings.d.ts +2 -2
  931. package/types/devvit/plugin/settings/v1alpha/settings.js +4 -4
  932. package/types/devvit/plugin/streambroker/streambroker.d.ts +2 -2
  933. package/types/devvit/plugin/streambroker/streambroker.js +3 -3
  934. package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts +23 -0
  935. package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts.map +1 -0
  936. package/types/devvit/plugin/streambroker/streambroker.twirp-client.js +36 -0
  937. package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts +15 -0
  938. package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts.map +1 -0
  939. package/types/devvit/plugin/streambroker/streambroker.twirp.js +157 -0
  940. package/types/devvit/plugin/timer/timer.d.ts +2 -2
  941. package/types/devvit/plugin/timer/timer.js +3 -3
  942. package/types/devvit/plugin/timer/timer.twirp-client.d.ts +20 -0
  943. package/types/devvit/plugin/timer/timer.twirp-client.d.ts.map +1 -0
  944. package/types/devvit/plugin/timer/timer.twirp-client.js +24 -0
  945. package/types/devvit/plugin/timer/timer.twirp.d.ts +13 -0
  946. package/types/devvit/plugin/timer/timer.twirp.d.ts.map +1 -0
  947. package/types/devvit/plugin/timer/timer.twirp.js +89 -0
  948. package/types/devvit/plugin/v2events/v2events.d.ts +1 -1
  949. package/types/devvit/plugin/v2events/v2events.js +2 -2
  950. package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts +19 -0
  951. package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts.map +1 -0
  952. package/types/devvit/plugin/v2events/v2events.twirp-client.js +23 -0
  953. package/types/devvit/plugin/v2events/v2events.twirp.d.ts +12 -0
  954. package/types/devvit/plugin/v2events/v2events.twirp.d.ts.map +1 -0
  955. package/types/devvit/plugin/v2events/v2events.twirp.js +88 -0
  956. package/types/devvit/reddit/comment.d.ts +2 -2
  957. package/types/devvit/reddit/comment.js +5 -5
  958. package/types/devvit/reddit/common.d.ts +1 -1
  959. package/types/devvit/reddit/common.js +3 -3
  960. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts +3 -3
  961. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.js +5 -5
  962. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts +22 -0
  963. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts.map +1 -0
  964. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.js +35 -0
  965. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts +14 -0
  966. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts.map +1 -0
  967. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.js +156 -0
  968. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -4
  969. package/types/devvit/reddit/custom_post/v1alpha/custom_post.js +6 -6
  970. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts +26 -0
  971. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts.map +1 -0
  972. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.js +48 -0
  973. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts +17 -0
  974. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts.map +1 -0
  975. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.js +223 -0
  976. package/types/devvit/reddit/post.d.ts +2 -2
  977. package/types/devvit/reddit/post.js +5 -5
  978. package/types/devvit/reddit/subreddit.d.ts +2 -2
  979. package/types/devvit/reddit/subreddit.js +4 -4
  980. package/types/devvit/reddit/user.d.ts +2 -2
  981. package/types/devvit/reddit/user.js +4 -4
  982. package/types/devvit/reddit/v2alpha/commentv2.d.ts +1 -1
  983. package/types/devvit/reddit/v2alpha/commentv2.js +2 -2
  984. package/types/devvit/reddit/v2alpha/flair.d.ts +1 -1
  985. package/types/devvit/reddit/v2alpha/flair.js +2 -2
  986. package/types/devvit/reddit/v2alpha/modaction.d.ts +5 -5
  987. package/types/devvit/reddit/v2alpha/modaction.js +7 -7
  988. package/types/devvit/reddit/v2alpha/modmail.d.ts +3 -3
  989. package/types/devvit/reddit/v2alpha/modmail.js +5 -5
  990. package/types/devvit/reddit/v2alpha/postv2.d.ts +2 -2
  991. package/types/devvit/reddit/v2alpha/postv2.js +3 -3
  992. package/types/devvit/reddit/v2alpha/subredditv2.d.ts +1 -1
  993. package/types/devvit/reddit/v2alpha/subredditv2.js +2 -2
  994. package/types/devvit/reddit/v2alpha/userv2.d.ts +2 -2
  995. package/types/devvit/reddit/v2alpha/userv2.js +3 -3
  996. package/types/devvit/remote_logger/remote_logger.d.ts +2 -2
  997. package/types/devvit/remote_logger/remote_logger.js +4 -4
  998. package/types/devvit/runtime/actor/bootstrap.d.ts +3 -3
  999. package/types/devvit/runtime/actor/bootstrap.js +3 -3
  1000. package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts +23 -0
  1001. package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts.map +1 -0
  1002. package/types/devvit/runtime/actor/bootstrap.twirp-client.js +36 -0
  1003. package/types/devvit/runtime/actor/bootstrap.twirp.d.ts +15 -0
  1004. package/types/devvit/runtime/actor/bootstrap.twirp.d.ts.map +1 -0
  1005. package/types/devvit/runtime/actor/bootstrap.twirp.js +157 -0
  1006. package/types/devvit/runtime/actor/echo.d.ts +2 -2
  1007. package/types/devvit/runtime/actor/echo.js +2 -2
  1008. package/types/devvit/runtime/actor/echo.twirp-client.d.ts +19 -0
  1009. package/types/devvit/runtime/actor/echo.twirp-client.d.ts.map +1 -0
  1010. package/types/devvit/runtime/actor/echo.twirp-client.js +23 -0
  1011. package/types/devvit/runtime/actor/echo.twirp.d.ts +12 -0
  1012. package/types/devvit/runtime/actor/echo.twirp.d.ts.map +1 -0
  1013. package/types/devvit/runtime/actor/echo.twirp.js +88 -0
  1014. package/types/devvit/runtime/actor/runtime.d.ts +3 -3
  1015. package/types/devvit/runtime/actor/runtime.js +4 -4
  1016. package/types/devvit/runtime/actor/runtime.twirp-client.d.ts +24 -0
  1017. package/types/devvit/runtime/actor/runtime.twirp-client.d.ts.map +1 -0
  1018. package/types/devvit/runtime/actor/runtime.twirp-client.js +37 -0
  1019. package/types/devvit/runtime/actor/runtime.twirp.d.ts +16 -0
  1020. package/types/devvit/runtime/actor/runtime.twirp.d.ts.map +1 -0
  1021. package/types/devvit/runtime/actor/runtime.twirp.js +158 -0
  1022. package/types/devvit/runtime/actor/supervisor.d.ts +4 -4
  1023. package/types/devvit/runtime/actor/supervisor.js +5 -5
  1024. package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts +28 -0
  1025. package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts.map +1 -0
  1026. package/types/devvit/runtime/actor/supervisor.twirp-client.js +50 -0
  1027. package/types/devvit/runtime/actor/supervisor.twirp.d.ts +19 -0
  1028. package/types/devvit/runtime/actor/supervisor.twirp.d.ts.map +1 -0
  1029. package/types/devvit/runtime/actor/supervisor.twirp.js +225 -0
  1030. package/types/devvit/runtime/actor/v1alpha/health.d.ts +2 -2
  1031. package/types/devvit/runtime/actor/v1alpha/health.js +4 -4
  1032. package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts +20 -0
  1033. package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts.map +1 -0
  1034. package/types/devvit/runtime/actor/v1alpha/health.twirp-client.js +24 -0
  1035. package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts +13 -0
  1036. package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts.map +1 -0
  1037. package/types/devvit/runtime/actor/v1alpha/health.twirp.js +89 -0
  1038. package/types/devvit/runtime/bundle.d.ts +2 -2
  1039. package/types/devvit/runtime/bundle.js +5 -5
  1040. package/types/devvit/runtime/envelope.d.ts +2 -2
  1041. package/types/devvit/runtime/envelope.js +4 -4
  1042. package/types/devvit/runtime/runtime_common.d.ts +1 -1
  1043. package/types/devvit/runtime/runtime_common.js +3 -3
  1044. package/types/devvit/runtime/serializable.d.ts +1 -1
  1045. package/types/devvit/runtime/serializable.js +2 -2
  1046. package/types/devvit/service/bundle_service.d.ts +3 -3
  1047. package/types/devvit/service/bundle_service.js +4 -4
  1048. package/types/devvit/service/bundle_service.twirp-client.d.ts +24 -0
  1049. package/types/devvit/service/bundle_service.twirp-client.d.ts.map +1 -0
  1050. package/types/devvit/service/bundle_service.twirp-client.js +37 -0
  1051. package/types/devvit/service/bundle_service.twirp.d.ts +16 -0
  1052. package/types/devvit/service/bundle_service.twirp.d.ts.map +1 -0
  1053. package/types/devvit/service/bundle_service.twirp.js +158 -0
  1054. package/types/devvit/service/envelope_service.d.ts +3 -3
  1055. package/types/devvit/service/envelope_service.js +3 -3
  1056. package/types/devvit/service/envelope_service.twirp-client.d.ts +20 -0
  1057. package/types/devvit/service/envelope_service.twirp-client.d.ts.map +1 -0
  1058. package/types/devvit/service/envelope_service.twirp-client.js +24 -0
  1059. package/types/devvit/service/envelope_service.twirp.d.ts +13 -0
  1060. package/types/devvit/service/envelope_service.twirp.d.ts.map +1 -0
  1061. package/types/devvit/service/envelope_service.twirp.js +89 -0
  1062. package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.d.ts +4 -4
  1063. package/types/devvit/triggers/v1alpha/triggers.d.ts.map +1 -0
  1064. package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.js +6 -6
  1065. package/types/devvit/ui/block_kit/v1beta/attributes.d.ts +2 -2
  1066. package/types/devvit/ui/block_kit/v1beta/attributes.js +4 -4
  1067. package/types/devvit/ui/block_kit/v1beta/block.d.ts +3 -3
  1068. package/types/devvit/ui/block_kit/v1beta/block.js +5 -5
  1069. package/types/devvit/ui/block_kit/v1beta/rendering.d.ts +3 -3
  1070. package/types/devvit/ui/block_kit/v1beta/rendering.js +5 -5
  1071. package/types/devvit/ui/block_kit/v1beta/ui.d.ts +5 -5
  1072. package/types/devvit/ui/block_kit/v1beta/ui.js +7 -7
  1073. package/types/devvit/ui/common/v1alpha/common.d.ts +1 -1
  1074. package/types/devvit/ui/common/v1alpha/common.js +2 -2
  1075. package/types/devvit/ui/effects/v1alpha/create_order.d.ts +1 -1
  1076. package/types/devvit/ui/effects/v1alpha/create_order.js +2 -2
  1077. package/types/devvit/ui/effects/v1alpha/effect.d.ts +9 -9
  1078. package/types/devvit/ui/effects/v1alpha/effect.js +10 -10
  1079. package/types/devvit/ui/effects/v1alpha/interval.d.ts +2 -2
  1080. package/types/devvit/ui/effects/v1alpha/interval.js +4 -4
  1081. package/types/devvit/ui/effects/v1alpha/navigate_to_url.d.ts +1 -1
  1082. package/types/devvit/ui/effects/v1alpha/navigate_to_url.js +2 -2
  1083. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.d.ts +2 -2
  1084. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.js +3 -3
  1085. package/types/devvit/ui/effects/v1alpha/reload_part.d.ts +1 -1
  1086. package/types/devvit/ui/effects/v1alpha/reload_part.js +2 -2
  1087. package/types/devvit/ui/effects/v1alpha/rerender_ui.d.ts +1 -1
  1088. package/types/devvit/ui/effects/v1alpha/rerender_ui.js +2 -2
  1089. package/types/devvit/ui/effects/v1alpha/show_form.d.ts +3 -3
  1090. package/types/devvit/ui/effects/v1alpha/show_form.js +4 -4
  1091. package/types/devvit/ui/effects/v1alpha/show_toast.d.ts +2 -2
  1092. package/types/devvit/ui/effects/v1alpha/show_toast.js +3 -3
  1093. package/types/devvit/ui/events/v1alpha/event.d.ts +5 -5
  1094. package/types/devvit/ui/events/v1alpha/event.js +8 -8
  1095. package/types/devvit/ui/events/v1alpha/handle_ui.d.ts +3 -3
  1096. package/types/devvit/ui/events/v1alpha/handle_ui.js +5 -5
  1097. package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts +19 -0
  1098. package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts.map +1 -0
  1099. package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.js +23 -0
  1100. package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts +12 -0
  1101. package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts.map +1 -0
  1102. package/types/devvit/ui/events/v1alpha/handle_ui.twirp.js +88 -0
  1103. package/types/devvit/ui/form_builder/v1alpha/field.d.ts +3 -3
  1104. package/types/devvit/ui/form_builder/v1alpha/field.js +4 -4
  1105. package/types/devvit/ui/form_builder/v1alpha/form.d.ts +2 -2
  1106. package/types/devvit/ui/form_builder/v1alpha/form.js +3 -3
  1107. package/types/devvit/ui/form_builder/v1alpha/value.d.ts +2 -2
  1108. package/types/devvit/ui/form_builder/v1alpha/value.js +3 -3
  1109. package/types/devvit/ui/toast/toast.d.ts +1 -1
  1110. package/types/devvit/ui/toast/toast.js +2 -2
  1111. package/types/devvit/uuid.d.ts +1 -1
  1112. package/types/devvit/uuid.js +2 -2
  1113. package/types/google/protobuf/any.d.ts +5 -10
  1114. package/types/google/protobuf/any.d.ts.map +1 -1
  1115. package/types/google/protobuf/any.js +2 -2
  1116. package/types/google/protobuf/descriptor.d.ts +39 -435
  1117. package/types/google/protobuf/descriptor.d.ts.map +1 -1
  1118. package/types/google/protobuf/descriptor.js +101 -1605
  1119. package/types/google/protobuf/duration.d.ts +1 -1
  1120. package/types/google/protobuf/duration.js +2 -2
  1121. package/types/google/protobuf/empty.d.ts +1 -1
  1122. package/types/google/protobuf/empty.js +2 -2
  1123. package/types/google/protobuf/struct.d.ts +2 -2
  1124. package/types/google/protobuf/struct.js +3 -3
  1125. package/types/google/protobuf/timestamp.d.ts +2 -2
  1126. package/types/google/protobuf/timestamp.js +2 -2
  1127. package/types/google/protobuf/wrappers.d.ts +1 -1
  1128. package/types/google/protobuf/wrappers.js +2 -2
  1129. package/types/typeRegistry.d.ts +1 -1
  1130. package/schema/buf.strict.yaml +0 -7
  1131. package/schema/buf.yaml +0 -8
  1132. package/types/devvit/data/api/admin/v1alpha/audit.d.ts +0 -159
  1133. package/types/devvit/data/api/admin/v1alpha/audit.d.ts.map +0 -1
  1134. package/types/devvit/data/api/admin/v1alpha/audit.js +0 -776
  1135. package/types/devvit/data/api/admin/v1alpha/auth.d.ts +0 -127
  1136. package/types/devvit/data/api/admin/v1alpha/auth.d.ts.map +0 -1
  1137. package/types/devvit/data/api/admin/v1alpha/auth.js +0 -599
  1138. package/types/devvit/data/api/admin/v1alpha/organization.d.ts +0 -122
  1139. package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +0 -1
  1140. package/types/devvit/data/api/admin/v1alpha/organization.js +0 -522
  1141. package/types/devvit/data/api/admin/v1alpha/service.d.ts +0 -855
  1142. package/types/devvit/data/api/admin/v1alpha/service.d.ts.map +0 -1
  1143. package/types/devvit/data/api/admin/v1alpha/service.js +0 -254
  1144. package/types/devvit/data/api/admin/v1alpha/subscription.d.ts +0 -167
  1145. package/types/devvit/data/api/admin/v1alpha/subscription.d.ts.map +0 -1
  1146. package/types/devvit/data/api/admin/v1alpha/subscription.js +0 -885
  1147. package/types/devvit/data/api/admin/v1alpha/ui.d.ts +0 -52
  1148. package/types/devvit/data/api/admin/v1alpha/ui.d.ts.map +0 -1
  1149. package/types/devvit/data/api/admin/v1alpha/ui.js +0 -198
  1150. package/types/devvit/data/api/v1alpha/filter.d.ts +0 -160
  1151. package/types/devvit/data/api/v1alpha/filter.d.ts.map +0 -1
  1152. package/types/devvit/data/api/v1alpha/filter.js +0 -983
  1153. package/types/devvit/data/api/v1alpha/intake.d.ts +0 -85
  1154. package/types/devvit/data/api/v1alpha/intake.d.ts.map +0 -1
  1155. package/types/devvit/data/api/v1alpha/intake.js +0 -160
  1156. package/types/devvit/data/triggers/v1alpha/triggers.d.ts.map +0 -1
  1157. /package/schema/{buf → .snootobuf/deps/buf}/validate/expression.proto +0 -0
  1158. /package/schema/{buf → .snootobuf/deps/buf}/validate/priv/private.proto +0 -0
  1159. /package/schema/{buf → .snootobuf/deps/buf}/validate/validate.proto +0 -0
  1160. /package/schema/{google → .snootobuf/deps/google}/api/annotations.proto +0 -0
  1161. /package/schema/{openapi → .snootobuf/deps/openapi}/helper.proto +0 -0
@@ -0,0 +1,1869 @@
1
+ // @generated by protobuf-ts 2.9.3
2
+ // @generated from protobuf file "devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto" (package "devvit.plugin.redditapi.linksandcomments", syntax proto3)
3
+ // tslint:disable
4
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
+ import { WireType } from "@protobuf-ts/runtime";
7
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
9
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
+ import type { PartialMessage } from "@protobuf-ts/runtime";
11
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
+ import { MessageType } from "@protobuf-ts/runtime";
13
+ import { Any } from "../../../../google/protobuf/any";
14
+ import { Comment } from "../../../reddit/comment";
15
+ import { BoolValue } from "../../../../google/protobuf/wrappers";
16
+ import { Int32Value } from "../../../../google/protobuf/wrappers";
17
+ import { StringValue } from "../../../../google/protobuf/wrappers";
18
+ /**
19
+ * Request Types
20
+ *
21
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.CommentRequest
22
+ */
23
+ export interface CommentRequest {
24
+ /**
25
+ * Rich-text body of the comment. Serialized RTJSON string.
26
+ * Note: If `richtext_json` is provided, `text` is ignored.
27
+ * @example '{"document":[{"e":"par","c":[{"e":"text","t":"Hello, world!","f":[[2, 0, 13]]}]}]}'
28
+ *
29
+ * @generated from protobuf field: google.protobuf.StringValue richtext_json = 1;
30
+ */
31
+ richtextJson?: StringValue;
32
+ /**
33
+ * Markdown body of the comment
34
+ * @example '_Hello, world!_'
35
+ *
36
+ * @generated from protobuf field: string text = 2;
37
+ */
38
+ text: string;
39
+ /**
40
+ * Post or Comment thing ID
41
+ * @example "t3_abc123"
42
+ *
43
+ * @generated from protobuf field: string thing_id = 3;
44
+ */
45
+ thingId: string;
46
+ }
47
+ /**
48
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.FollowPostRequest
49
+ */
50
+ export interface FollowPostRequest {
51
+ /**
52
+ * `true` to follow; `false` to unfollow
53
+ *
54
+ * @generated from protobuf field: bool follow = 1;
55
+ */
56
+ follow: boolean;
57
+ /**
58
+ * Post thing ID
59
+ * @example "t3_abc123"
60
+ *
61
+ * @generated from protobuf field: string fullname = 2;
62
+ */
63
+ fullname: string;
64
+ }
65
+ /**
66
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.BasicIdRequest
67
+ */
68
+ export interface BasicIdRequest {
69
+ /**
70
+ * Thing ID
71
+ * @example "t1_abc123"
72
+ *
73
+ * @generated from protobuf field: string id = 1;
74
+ */
75
+ id: string;
76
+ }
77
+ /**
78
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.InfoRequest
79
+ */
80
+ export interface InfoRequest {
81
+ /**
82
+ * List of zero or more Subreddit names to fetch
83
+ * @example ["AskReddit", "jokes"]
84
+ *
85
+ * @generated from protobuf field: repeated string subreddits = 1;
86
+ */
87
+ subreddits: string[];
88
+ /**
89
+ * List of zero or more thing IDs to fetch
90
+ * Note: Must be a Comment (t1), Post (t3), or Subreddit (t5) ID
91
+ * @example ["t1_abc123", "t3_abc123", "t5_abc123"]
92
+ *
93
+ * @generated from protobuf field: repeated string thing_ids = 2;
94
+ */
95
+ thingIds: string[];
96
+ /**
97
+ * Any Link Posts that refer to this URL
98
+ * Note: Providing `url` overrides `subreddits` and `thing_ids`
99
+ * @example "https://www.reddit.com/"
100
+ *
101
+ * @generated from protobuf field: google.protobuf.StringValue url = 3;
102
+ */
103
+ url?: StringValue;
104
+ }
105
+ /**
106
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.MoreChildrenRequest
107
+ */
108
+ export interface MoreChildrenRequest {
109
+ /**
110
+ * List of Comment thing IDs without their "t1_" prefixes
111
+ * @example ["foo123", "bar456", "baz789"]
112
+ *
113
+ * @generated from protobuf field: repeated string children = 1;
114
+ */
115
+ children: string[];
116
+ /**
117
+ * Maximum comment depth
118
+ *
119
+ * @generated from protobuf field: google.protobuf.Int32Value depth = 2;
120
+ */
121
+ depth?: Int32Value;
122
+ /**
123
+ * Only return the comments explicitly listed in `children`, otherwise return as many as available
124
+ *
125
+ * @generated from protobuf field: google.protobuf.BoolValue limit_children = 4;
126
+ */
127
+ limitChildren?: BoolValue;
128
+ /**
129
+ * Post thing ID
130
+ * @example "t3_abc123"
131
+ *
132
+ * @generated from protobuf field: string link_id = 5;
133
+ */
134
+ linkId: string;
135
+ /**
136
+ * Optional, one of: "confidence", "top", "new", "controversial", "old", "random", "qa", "live"
137
+ *
138
+ * @generated from protobuf field: google.protobuf.StringValue sort = 6;
139
+ */
140
+ sort?: StringValue;
141
+ /**
142
+ * Optional, id of the associated MoreChildren object
143
+ *
144
+ * @generated from protobuf field: google.protobuf.StringValue id = 7;
145
+ */
146
+ id?: StringValue;
147
+ }
148
+ /**
149
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.ReportRequest
150
+ */
151
+ export interface ReportRequest {
152
+ /**
153
+ * Additional information attached to the report
154
+ *
155
+ * @generated from protobuf field: google.protobuf.StringValue additional_info = 1;
156
+ */
157
+ additionalInfo?: StringValue;
158
+ /**
159
+ * Additional information attached to the report
160
+ *
161
+ * @generated from protobuf field: google.protobuf.StringValue custom_text = 2;
162
+ */
163
+ customText?: StringValue;
164
+ /**
165
+ * Modmail conversation ID to attach to the report for context
166
+ *
167
+ * @generated from protobuf field: google.protobuf.StringValue modmail_conv_id = 5;
168
+ */
169
+ modmailConvId?: StringValue;
170
+ /**
171
+ * Free-form reason explaining this report
172
+ * Note: If reporting Subreddit content the subreddit must have
173
+ * "allow free-form reports by users" enabled
174
+ * @see {@link Subreddits.SubredditAboutRules}
175
+ *
176
+ * @generated from protobuf field: google.protobuf.StringValue other_reason = 6;
177
+ */
178
+ otherReason?: StringValue;
179
+ /**
180
+ * One of: "rule", "site_reason_selected", "other"
181
+ *
182
+ * @generated from protobuf field: string reason = 7;
183
+ */
184
+ reason: string;
185
+ /**
186
+ * The Subreddit rule this thing is violating
187
+ *
188
+ * @generated from protobuf field: google.protobuf.StringValue rule_reason = 8;
189
+ */
190
+ ruleReason?: StringValue;
191
+ /**
192
+ * The Reddit rule this thing is violating
193
+ *
194
+ * @generated from protobuf field: google.protobuf.StringValue site_reason = 9;
195
+ */
196
+ siteReason?: StringValue;
197
+ /**
198
+ * Subreddit name; set if reporting a Post or Comment
199
+ * @example "AskReddit"
200
+ *
201
+ * @generated from protobuf field: google.protobuf.StringValue sr_name = 10;
202
+ */
203
+ srName?: StringValue;
204
+ /**
205
+ * The thing ID being reported. Must be a Post (t3), Comment (t1), or Private Message (t4)
206
+ * @example "t3_abc123"
207
+ *
208
+ * @generated from protobuf field: string thing_id = 11;
209
+ */
210
+ thingId: string;
211
+ /**
212
+ * List of comma-separated usernames to associate with this report
213
+ * @example "user1,user2,user3"
214
+ *
215
+ * @generated from protobuf field: google.protobuf.StringValue usernames = 12;
216
+ */
217
+ usernames?: StringValue;
218
+ }
219
+ /**
220
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.ReportAwardRequest
221
+ */
222
+ export interface ReportAwardRequest {
223
+ /**
224
+ * Award ID from a Post or Comment
225
+ * @example "award_813b473a-4d74-4933-ba79-a7f1b8b285ef"
226
+ *
227
+ * @generated from protobuf field: string award_id = 1;
228
+ */
229
+ awardId: string;
230
+ /**
231
+ * Reason for this report
232
+ *
233
+ * @generated from protobuf field: google.protobuf.StringValue reason = 2;
234
+ */
235
+ reason?: StringValue;
236
+ }
237
+ /**
238
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SaveRequest
239
+ */
240
+ export interface SaveRequest {
241
+ /**
242
+ * Post or Comment thing ID
243
+ * @example "t1_abc123"
244
+ *
245
+ * @generated from protobuf field: string id = 1;
246
+ */
247
+ id: string;
248
+ }
249
+ /**
250
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SendRepliesRequest
251
+ */
252
+ export interface SendRepliesRequest {
253
+ /**
254
+ * Post or Comment thing ID
255
+ * @example "t1_abc123"
256
+ *
257
+ * @generated from protobuf field: string id = 1;
258
+ */
259
+ id: string;
260
+ /**
261
+ * Boolean to enable reply notifications
262
+ *
263
+ * @generated from protobuf field: bool state = 2;
264
+ */
265
+ state: boolean;
266
+ }
267
+ /**
268
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SetContestModeRequest
269
+ */
270
+ export interface SetContestModeRequest {
271
+ /**
272
+ * Post thing ID
273
+ * @example "t3_abc123"
274
+ *
275
+ * @generated from protobuf field: string id = 1;
276
+ */
277
+ id: string;
278
+ /**
279
+ * Boolean to enable Contest Mode
280
+ *
281
+ * @generated from protobuf field: bool state = 2;
282
+ */
283
+ state: boolean;
284
+ }
285
+ /**
286
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SetSubredditStickyRequest
287
+ */
288
+ export interface SetSubredditStickyRequest {
289
+ /**
290
+ * Post thing ID
291
+ * @example "t3_abc123"
292
+ *
293
+ * @generated from protobuf field: string id = 1;
294
+ */
295
+ id: string;
296
+ /**
297
+ * Which sticky "slot" this Post should take
298
+ * If the slot is empty or `num` is not set the bottom-most slot will be used
299
+ * Valid range for subreddits: 1 - 2
300
+ * Valid range for user profiles: 1 - 4
301
+ *
302
+ * @generated from protobuf field: google.protobuf.Int32Value num = 2;
303
+ */
304
+ num?: Int32Value;
305
+ /**
306
+ * Boolean to set the Post as sticky/pinned
307
+ *
308
+ * @generated from protobuf field: bool state = 3;
309
+ */
310
+ state: boolean;
311
+ /**
312
+ * If the Post is owned by the current user set to `true` to pin
313
+ * it to their profile instead of the subreddit it was posted in
314
+ *
315
+ * @generated from protobuf field: google.protobuf.BoolValue to_profile = 4;
316
+ */
317
+ toProfile?: BoolValue;
318
+ }
319
+ /**
320
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SetSuggestedSortRequest
321
+ */
322
+ export interface SetSuggestedSortRequest {
323
+ /**
324
+ * Post thing ID
325
+ * @example "t3_abc123"
326
+ *
327
+ * @generated from protobuf field: string id = 1;
328
+ */
329
+ id: string;
330
+ /**
331
+ * One of: "confidence", "top", "new", "controversial", "old", "random", "qa", "live", ""
332
+ * Note: If left blank the suggested sort order is cleared
333
+ *
334
+ * @generated from protobuf field: string sort = 2;
335
+ */
336
+ sort: string;
337
+ }
338
+ /**
339
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SubmitRequest
340
+ */
341
+ export interface SubmitRequest {
342
+ /**
343
+ * UUID of the collection to add this Post to
344
+ * @example "813b473a-4d74-4933-ba79-a7f1b8b285ef"
345
+ *
346
+ * @generated from protobuf field: google.protobuf.StringValue collection_id = 2;
347
+ */
348
+ collectionId?: StringValue;
349
+ /**
350
+ * Flair template ID to use for this Post
351
+ * @example "813b473a-4d74-4933-ba79-a7f1b8b285ef"
352
+ *
353
+ * @generated from protobuf field: google.protobuf.StringValue flair_id = 7;
354
+ */
355
+ flairId?: StringValue;
356
+ /**
357
+ * Custom text to use in the selected flair template if the template
358
+ * has `text_editable` enabled
359
+ *
360
+ * @generated from protobuf field: google.protobuf.StringValue flair_text = 8;
361
+ */
362
+ flairText?: StringValue;
363
+ /**
364
+ * What kind of Post is being created
365
+ * One of: "link", "self", "image", "video", "videogif", "crosspost"
366
+ *
367
+ * @generated from protobuf field: string kind = 9;
368
+ */
369
+ kind: string;
370
+ /**
371
+ * Boolean to set the Not-Safe-For-Work tag
372
+ *
373
+ * @generated from protobuf field: google.protobuf.BoolValue nsfw = 10;
374
+ */
375
+ nsfw?: BoolValue;
376
+ /**
377
+ * Rich-text body of the Post. Serialized RTJSON string.
378
+ * Note: Only used if `kind` is set to "self"
379
+ * Note: `text` and `richtext_json` cannot both be set
380
+ * @example '{"document":[{"e":"par","c":[{"e":"text","t":"Hello, world!","f":[[2, 0, 13]]}]}]}'
381
+ *
382
+ * @generated from protobuf field: google.protobuf.StringValue richtext_json = 12;
383
+ */
384
+ richtextJson?: StringValue;
385
+ /**
386
+ * Boolean to enable notifications when a comment is added
387
+ *
388
+ * @generated from protobuf field: google.protobuf.BoolValue sendreplies = 13;
389
+ */
390
+ sendreplies?: BoolValue;
391
+ /**
392
+ * Boolean to set the Spoiler tag
393
+ *
394
+ * @generated from protobuf field: google.protobuf.BoolValue spoiler = 14;
395
+ */
396
+ spoiler?: BoolValue;
397
+ /**
398
+ * Subreddit name
399
+ * @example "AskReddit"
400
+ *
401
+ * @generated from protobuf field: string sr = 15;
402
+ */
403
+ sr: string;
404
+ /**
405
+ * Markdown body of the Post
406
+ * Note: Only used if `kind` is set to "self"
407
+ * Note: `text` and `richtext_json` cannot both be set
408
+ * @example "_Hello, world!_"
409
+ *
410
+ * @generated from protobuf field: google.protobuf.StringValue text = 16;
411
+ */
412
+ text?: StringValue;
413
+ /**
414
+ * Post title
415
+ *
416
+ * @generated from protobuf field: string title = 17;
417
+ */
418
+ title: string;
419
+ /**
420
+ * The URL this Post refers to if this is a Link Post
421
+ * Note: If `kind` is "video", "videogif", or "image" this must be set to
422
+ * the media URL created when the media was uploaded
423
+ * Note: If `kind` is "self" this is ignored
424
+ *
425
+ * @generated from protobuf field: google.protobuf.StringValue url = 18;
426
+ */
427
+ url?: StringValue;
428
+ /**
429
+ * If `kind` is "video" or "videogif" this must be set to the thumbnail URL
430
+ *
431
+ * @generated from protobuf field: google.protobuf.StringValue video_poster_url = 19;
432
+ */
433
+ videoPosterUrl?: StringValue;
434
+ /**
435
+ * If `kind` is "crosspost" this must be set to the ID of the post being crossposted
436
+ *
437
+ * @generated from protobuf field: google.protobuf.StringValue crosspost_fullname = 20;
438
+ */
439
+ crosspostFullname?: StringValue;
440
+ }
441
+ /**
442
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.VoteRequest
443
+ */
444
+ export interface VoteRequest {
445
+ /**
446
+ * One of: -1, 0, 1
447
+ * Where:
448
+ * 1 = Upvote
449
+ * 0 = Cleared
450
+ * -1 = Downvote
451
+ *
452
+ * @generated from protobuf field: int32 dir = 1;
453
+ */
454
+ dir: number;
455
+ /**
456
+ * Post or Comment thing ID
457
+ * @example "t1_abc123"
458
+ *
459
+ * @generated from protobuf field: string id = 2;
460
+ */
461
+ id: string;
462
+ }
463
+ /**
464
+ * Response Types
465
+ *
466
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment
467
+ */
468
+ export interface JsonWrappedComment {
469
+ /**
470
+ * @generated from protobuf field: devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.Json json = 1;
471
+ */
472
+ json?: JsonWrappedComment_Json;
473
+ }
474
+ /**
475
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.WrappedComment
476
+ */
477
+ export interface JsonWrappedComment_WrappedComment {
478
+ /**
479
+ * @generated from protobuf field: string kind = 1;
480
+ */
481
+ kind: string;
482
+ /**
483
+ * @generated from protobuf field: devvit.reddit.Comment data = 2;
484
+ */
485
+ data?: Comment;
486
+ }
487
+ /**
488
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.JsonData
489
+ */
490
+ export interface JsonWrappedComment_JsonData {
491
+ /**
492
+ * @generated from protobuf field: repeated devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.WrappedComment things = 1;
493
+ */
494
+ things: JsonWrappedComment_WrappedComment[];
495
+ }
496
+ /**
497
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.Json
498
+ */
499
+ export interface JsonWrappedComment_Json {
500
+ /**
501
+ * @generated from protobuf field: repeated string errors = 1;
502
+ */
503
+ errors: string[];
504
+ /**
505
+ * @generated from protobuf field: devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.JsonData data = 2;
506
+ */
507
+ data?: JsonWrappedComment_JsonData;
508
+ }
509
+ /**
510
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SubmitResponse
511
+ */
512
+ export interface SubmitResponse {
513
+ /**
514
+ * @generated from protobuf field: devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType json = 4;
515
+ */
516
+ json?: SubmitResponse_JsonType;
517
+ }
518
+ /**
519
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType
520
+ */
521
+ export interface SubmitResponse_JsonType {
522
+ /**
523
+ * @generated from protobuf field: repeated google.protobuf.Any errors = 1;
524
+ */
525
+ errors: Any[];
526
+ /**
527
+ * @generated from protobuf field: devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType.JsonData data = 2;
528
+ */
529
+ data?: SubmitResponse_JsonType_JsonData;
530
+ }
531
+ /**
532
+ * @generated from protobuf message devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType.JsonData
533
+ */
534
+ export interface SubmitResponse_JsonType_JsonData {
535
+ /**
536
+ * @generated from protobuf field: google.protobuf.StringValue url = 1;
537
+ */
538
+ url?: StringValue;
539
+ /**
540
+ * @generated from protobuf field: google.protobuf.Int32Value drafts_count = 2;
541
+ */
542
+ draftsCount?: Int32Value;
543
+ /**
544
+ * @generated from protobuf field: google.protobuf.StringValue id = 3;
545
+ */
546
+ id?: StringValue;
547
+ /**
548
+ * @generated from protobuf field: google.protobuf.StringValue name = 4;
549
+ */
550
+ name?: StringValue;
551
+ }
552
+ // @generated message type with reflection information, may provide speed optimized methods
553
+ class CommentRequest$Type extends MessageType<CommentRequest> {
554
+ constructor() {
555
+ super("devvit.plugin.redditapi.linksandcomments.CommentRequest", [
556
+ { no: 1, name: "richtext_json", kind: "message", T: () => StringValue },
557
+ { no: 2, name: "text", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
558
+ { no: 3, name: "thing_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
559
+ ]);
560
+ }
561
+ create(value?: PartialMessage<CommentRequest>): CommentRequest {
562
+ const message = globalThis.Object.create((this.messagePrototype!));
563
+ message.text = "";
564
+ message.thingId = "";
565
+ if (value !== undefined)
566
+ reflectionMergePartial<CommentRequest>(this, message, value);
567
+ return message;
568
+ }
569
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CommentRequest): CommentRequest {
570
+ let message = target ?? this.create(), end = reader.pos + length;
571
+ while (reader.pos < end) {
572
+ let [fieldNo, wireType] = reader.tag();
573
+ switch (fieldNo) {
574
+ case /* google.protobuf.StringValue richtext_json */ 1:
575
+ message.richtextJson = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.richtextJson);
576
+ break;
577
+ case /* string text */ 2:
578
+ message.text = reader.string();
579
+ break;
580
+ case /* string thing_id */ 3:
581
+ message.thingId = reader.string();
582
+ break;
583
+ default:
584
+ let u = options.readUnknownField;
585
+ if (u === "throw")
586
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
587
+ let d = reader.skip(wireType);
588
+ if (u !== false)
589
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
590
+ }
591
+ }
592
+ return message;
593
+ }
594
+ internalBinaryWrite(message: CommentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
595
+ /* google.protobuf.StringValue richtext_json = 1; */
596
+ if (message.richtextJson)
597
+ StringValue.internalBinaryWrite(message.richtextJson, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
598
+ /* string text = 2; */
599
+ if (message.text !== "")
600
+ writer.tag(2, WireType.LengthDelimited).string(message.text);
601
+ /* string thing_id = 3; */
602
+ if (message.thingId !== "")
603
+ writer.tag(3, WireType.LengthDelimited).string(message.thingId);
604
+ let u = options.writeUnknownFields;
605
+ if (u !== false)
606
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
607
+ return writer;
608
+ }
609
+ }
610
+ /**
611
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.CommentRequest
612
+ */
613
+ export const CommentRequest = new CommentRequest$Type();
614
+ // @generated message type with reflection information, may provide speed optimized methods
615
+ class FollowPostRequest$Type extends MessageType<FollowPostRequest> {
616
+ constructor() {
617
+ super("devvit.plugin.redditapi.linksandcomments.FollowPostRequest", [
618
+ { no: 1, name: "follow", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
619
+ { no: 2, name: "fullname", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
620
+ ]);
621
+ }
622
+ create(value?: PartialMessage<FollowPostRequest>): FollowPostRequest {
623
+ const message = globalThis.Object.create((this.messagePrototype!));
624
+ message.follow = false;
625
+ message.fullname = "";
626
+ if (value !== undefined)
627
+ reflectionMergePartial<FollowPostRequest>(this, message, value);
628
+ return message;
629
+ }
630
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FollowPostRequest): FollowPostRequest {
631
+ let message = target ?? this.create(), end = reader.pos + length;
632
+ while (reader.pos < end) {
633
+ let [fieldNo, wireType] = reader.tag();
634
+ switch (fieldNo) {
635
+ case /* bool follow */ 1:
636
+ message.follow = reader.bool();
637
+ break;
638
+ case /* string fullname */ 2:
639
+ message.fullname = reader.string();
640
+ break;
641
+ default:
642
+ let u = options.readUnknownField;
643
+ if (u === "throw")
644
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
645
+ let d = reader.skip(wireType);
646
+ if (u !== false)
647
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
648
+ }
649
+ }
650
+ return message;
651
+ }
652
+ internalBinaryWrite(message: FollowPostRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
653
+ /* bool follow = 1; */
654
+ if (message.follow !== false)
655
+ writer.tag(1, WireType.Varint).bool(message.follow);
656
+ /* string fullname = 2; */
657
+ if (message.fullname !== "")
658
+ writer.tag(2, WireType.LengthDelimited).string(message.fullname);
659
+ let u = options.writeUnknownFields;
660
+ if (u !== false)
661
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
662
+ return writer;
663
+ }
664
+ }
665
+ /**
666
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.FollowPostRequest
667
+ */
668
+ export const FollowPostRequest = new FollowPostRequest$Type();
669
+ // @generated message type with reflection information, may provide speed optimized methods
670
+ class BasicIdRequest$Type extends MessageType<BasicIdRequest> {
671
+ constructor() {
672
+ super("devvit.plugin.redditapi.linksandcomments.BasicIdRequest", [
673
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
674
+ ]);
675
+ }
676
+ create(value?: PartialMessage<BasicIdRequest>): BasicIdRequest {
677
+ const message = globalThis.Object.create((this.messagePrototype!));
678
+ message.id = "";
679
+ if (value !== undefined)
680
+ reflectionMergePartial<BasicIdRequest>(this, message, value);
681
+ return message;
682
+ }
683
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BasicIdRequest): BasicIdRequest {
684
+ let message = target ?? this.create(), end = reader.pos + length;
685
+ while (reader.pos < end) {
686
+ let [fieldNo, wireType] = reader.tag();
687
+ switch (fieldNo) {
688
+ case /* string id */ 1:
689
+ message.id = reader.string();
690
+ break;
691
+ default:
692
+ let u = options.readUnknownField;
693
+ if (u === "throw")
694
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
695
+ let d = reader.skip(wireType);
696
+ if (u !== false)
697
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
698
+ }
699
+ }
700
+ return message;
701
+ }
702
+ internalBinaryWrite(message: BasicIdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
703
+ /* string id = 1; */
704
+ if (message.id !== "")
705
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
706
+ let u = options.writeUnknownFields;
707
+ if (u !== false)
708
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
709
+ return writer;
710
+ }
711
+ }
712
+ /**
713
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.BasicIdRequest
714
+ */
715
+ export const BasicIdRequest = new BasicIdRequest$Type();
716
+ // @generated message type with reflection information, may provide speed optimized methods
717
+ class InfoRequest$Type extends MessageType<InfoRequest> {
718
+ constructor() {
719
+ super("devvit.plugin.redditapi.linksandcomments.InfoRequest", [
720
+ { no: 1, name: "subreddits", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
721
+ { no: 2, name: "thing_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
722
+ { no: 3, name: "url", kind: "message", T: () => StringValue }
723
+ ]);
724
+ }
725
+ create(value?: PartialMessage<InfoRequest>): InfoRequest {
726
+ const message = globalThis.Object.create((this.messagePrototype!));
727
+ message.subreddits = [];
728
+ message.thingIds = [];
729
+ if (value !== undefined)
730
+ reflectionMergePartial<InfoRequest>(this, message, value);
731
+ return message;
732
+ }
733
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InfoRequest): InfoRequest {
734
+ let message = target ?? this.create(), end = reader.pos + length;
735
+ while (reader.pos < end) {
736
+ let [fieldNo, wireType] = reader.tag();
737
+ switch (fieldNo) {
738
+ case /* repeated string subreddits */ 1:
739
+ message.subreddits.push(reader.string());
740
+ break;
741
+ case /* repeated string thing_ids */ 2:
742
+ message.thingIds.push(reader.string());
743
+ break;
744
+ case /* google.protobuf.StringValue url */ 3:
745
+ message.url = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.url);
746
+ break;
747
+ default:
748
+ let u = options.readUnknownField;
749
+ if (u === "throw")
750
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
751
+ let d = reader.skip(wireType);
752
+ if (u !== false)
753
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
754
+ }
755
+ }
756
+ return message;
757
+ }
758
+ internalBinaryWrite(message: InfoRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
759
+ /* repeated string subreddits = 1; */
760
+ for (let i = 0; i < message.subreddits.length; i++)
761
+ writer.tag(1, WireType.LengthDelimited).string(message.subreddits[i]);
762
+ /* repeated string thing_ids = 2; */
763
+ for (let i = 0; i < message.thingIds.length; i++)
764
+ writer.tag(2, WireType.LengthDelimited).string(message.thingIds[i]);
765
+ /* google.protobuf.StringValue url = 3; */
766
+ if (message.url)
767
+ StringValue.internalBinaryWrite(message.url, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
768
+ let u = options.writeUnknownFields;
769
+ if (u !== false)
770
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
771
+ return writer;
772
+ }
773
+ }
774
+ /**
775
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.InfoRequest
776
+ */
777
+ export const InfoRequest = new InfoRequest$Type();
778
+ // @generated message type with reflection information, may provide speed optimized methods
779
+ class MoreChildrenRequest$Type extends MessageType<MoreChildrenRequest> {
780
+ constructor() {
781
+ super("devvit.plugin.redditapi.linksandcomments.MoreChildrenRequest", [
782
+ { no: 1, name: "children", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
783
+ { no: 2, name: "depth", kind: "message", T: () => Int32Value },
784
+ { no: 4, name: "limit_children", kind: "message", T: () => BoolValue },
785
+ { no: 5, name: "link_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
786
+ { no: 6, name: "sort", kind: "message", T: () => StringValue },
787
+ { no: 7, name: "id", kind: "message", T: () => StringValue }
788
+ ]);
789
+ }
790
+ create(value?: PartialMessage<MoreChildrenRequest>): MoreChildrenRequest {
791
+ const message = globalThis.Object.create((this.messagePrototype!));
792
+ message.children = [];
793
+ message.linkId = "";
794
+ if (value !== undefined)
795
+ reflectionMergePartial<MoreChildrenRequest>(this, message, value);
796
+ return message;
797
+ }
798
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MoreChildrenRequest): MoreChildrenRequest {
799
+ let message = target ?? this.create(), end = reader.pos + length;
800
+ while (reader.pos < end) {
801
+ let [fieldNo, wireType] = reader.tag();
802
+ switch (fieldNo) {
803
+ case /* repeated string children */ 1:
804
+ message.children.push(reader.string());
805
+ break;
806
+ case /* google.protobuf.Int32Value depth */ 2:
807
+ message.depth = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.depth);
808
+ break;
809
+ case /* google.protobuf.BoolValue limit_children */ 4:
810
+ message.limitChildren = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.limitChildren);
811
+ break;
812
+ case /* string link_id */ 5:
813
+ message.linkId = reader.string();
814
+ break;
815
+ case /* google.protobuf.StringValue sort */ 6:
816
+ message.sort = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.sort);
817
+ break;
818
+ case /* google.protobuf.StringValue id */ 7:
819
+ message.id = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.id);
820
+ break;
821
+ default:
822
+ let u = options.readUnknownField;
823
+ if (u === "throw")
824
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
825
+ let d = reader.skip(wireType);
826
+ if (u !== false)
827
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
828
+ }
829
+ }
830
+ return message;
831
+ }
832
+ internalBinaryWrite(message: MoreChildrenRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
833
+ /* repeated string children = 1; */
834
+ for (let i = 0; i < message.children.length; i++)
835
+ writer.tag(1, WireType.LengthDelimited).string(message.children[i]);
836
+ /* google.protobuf.Int32Value depth = 2; */
837
+ if (message.depth)
838
+ Int32Value.internalBinaryWrite(message.depth, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
839
+ /* google.protobuf.BoolValue limit_children = 4; */
840
+ if (message.limitChildren)
841
+ BoolValue.internalBinaryWrite(message.limitChildren, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
842
+ /* string link_id = 5; */
843
+ if (message.linkId !== "")
844
+ writer.tag(5, WireType.LengthDelimited).string(message.linkId);
845
+ /* google.protobuf.StringValue sort = 6; */
846
+ if (message.sort)
847
+ StringValue.internalBinaryWrite(message.sort, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
848
+ /* google.protobuf.StringValue id = 7; */
849
+ if (message.id)
850
+ StringValue.internalBinaryWrite(message.id, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
851
+ let u = options.writeUnknownFields;
852
+ if (u !== false)
853
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
854
+ return writer;
855
+ }
856
+ }
857
+ /**
858
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.MoreChildrenRequest
859
+ */
860
+ export const MoreChildrenRequest = new MoreChildrenRequest$Type();
861
+ // @generated message type with reflection information, may provide speed optimized methods
862
+ class ReportRequest$Type extends MessageType<ReportRequest> {
863
+ constructor() {
864
+ super("devvit.plugin.redditapi.linksandcomments.ReportRequest", [
865
+ { no: 1, name: "additional_info", kind: "message", T: () => StringValue },
866
+ { no: 2, name: "custom_text", kind: "message", T: () => StringValue },
867
+ { no: 5, name: "modmail_conv_id", kind: "message", T: () => StringValue },
868
+ { no: 6, name: "other_reason", kind: "message", T: () => StringValue },
869
+ { no: 7, name: "reason", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
870
+ { no: 8, name: "rule_reason", kind: "message", T: () => StringValue },
871
+ { no: 9, name: "site_reason", kind: "message", T: () => StringValue },
872
+ { no: 10, name: "sr_name", kind: "message", T: () => StringValue },
873
+ { no: 11, name: "thing_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
874
+ { no: 12, name: "usernames", kind: "message", T: () => StringValue }
875
+ ]);
876
+ }
877
+ create(value?: PartialMessage<ReportRequest>): ReportRequest {
878
+ const message = globalThis.Object.create((this.messagePrototype!));
879
+ message.reason = "";
880
+ message.thingId = "";
881
+ if (value !== undefined)
882
+ reflectionMergePartial<ReportRequest>(this, message, value);
883
+ return message;
884
+ }
885
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportRequest): ReportRequest {
886
+ let message = target ?? this.create(), end = reader.pos + length;
887
+ while (reader.pos < end) {
888
+ let [fieldNo, wireType] = reader.tag();
889
+ switch (fieldNo) {
890
+ case /* google.protobuf.StringValue additional_info */ 1:
891
+ message.additionalInfo = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.additionalInfo);
892
+ break;
893
+ case /* google.protobuf.StringValue custom_text */ 2:
894
+ message.customText = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.customText);
895
+ break;
896
+ case /* google.protobuf.StringValue modmail_conv_id */ 5:
897
+ message.modmailConvId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.modmailConvId);
898
+ break;
899
+ case /* google.protobuf.StringValue other_reason */ 6:
900
+ message.otherReason = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.otherReason);
901
+ break;
902
+ case /* string reason */ 7:
903
+ message.reason = reader.string();
904
+ break;
905
+ case /* google.protobuf.StringValue rule_reason */ 8:
906
+ message.ruleReason = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.ruleReason);
907
+ break;
908
+ case /* google.protobuf.StringValue site_reason */ 9:
909
+ message.siteReason = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.siteReason);
910
+ break;
911
+ case /* google.protobuf.StringValue sr_name */ 10:
912
+ message.srName = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.srName);
913
+ break;
914
+ case /* string thing_id */ 11:
915
+ message.thingId = reader.string();
916
+ break;
917
+ case /* google.protobuf.StringValue usernames */ 12:
918
+ message.usernames = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.usernames);
919
+ break;
920
+ default:
921
+ let u = options.readUnknownField;
922
+ if (u === "throw")
923
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
924
+ let d = reader.skip(wireType);
925
+ if (u !== false)
926
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
927
+ }
928
+ }
929
+ return message;
930
+ }
931
+ internalBinaryWrite(message: ReportRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
932
+ /* google.protobuf.StringValue additional_info = 1; */
933
+ if (message.additionalInfo)
934
+ StringValue.internalBinaryWrite(message.additionalInfo, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
935
+ /* google.protobuf.StringValue custom_text = 2; */
936
+ if (message.customText)
937
+ StringValue.internalBinaryWrite(message.customText, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
938
+ /* google.protobuf.StringValue modmail_conv_id = 5; */
939
+ if (message.modmailConvId)
940
+ StringValue.internalBinaryWrite(message.modmailConvId, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
941
+ /* google.protobuf.StringValue other_reason = 6; */
942
+ if (message.otherReason)
943
+ StringValue.internalBinaryWrite(message.otherReason, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
944
+ /* string reason = 7; */
945
+ if (message.reason !== "")
946
+ writer.tag(7, WireType.LengthDelimited).string(message.reason);
947
+ /* google.protobuf.StringValue rule_reason = 8; */
948
+ if (message.ruleReason)
949
+ StringValue.internalBinaryWrite(message.ruleReason, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
950
+ /* google.protobuf.StringValue site_reason = 9; */
951
+ if (message.siteReason)
952
+ StringValue.internalBinaryWrite(message.siteReason, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
953
+ /* google.protobuf.StringValue sr_name = 10; */
954
+ if (message.srName)
955
+ StringValue.internalBinaryWrite(message.srName, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
956
+ /* string thing_id = 11; */
957
+ if (message.thingId !== "")
958
+ writer.tag(11, WireType.LengthDelimited).string(message.thingId);
959
+ /* google.protobuf.StringValue usernames = 12; */
960
+ if (message.usernames)
961
+ StringValue.internalBinaryWrite(message.usernames, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
962
+ let u = options.writeUnknownFields;
963
+ if (u !== false)
964
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
965
+ return writer;
966
+ }
967
+ }
968
+ /**
969
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.ReportRequest
970
+ */
971
+ export const ReportRequest = new ReportRequest$Type();
972
+ // @generated message type with reflection information, may provide speed optimized methods
973
+ class ReportAwardRequest$Type extends MessageType<ReportAwardRequest> {
974
+ constructor() {
975
+ super("devvit.plugin.redditapi.linksandcomments.ReportAwardRequest", [
976
+ { no: 1, name: "award_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
977
+ { no: 2, name: "reason", kind: "message", T: () => StringValue }
978
+ ]);
979
+ }
980
+ create(value?: PartialMessage<ReportAwardRequest>): ReportAwardRequest {
981
+ const message = globalThis.Object.create((this.messagePrototype!));
982
+ message.awardId = "";
983
+ if (value !== undefined)
984
+ reflectionMergePartial<ReportAwardRequest>(this, message, value);
985
+ return message;
986
+ }
987
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportAwardRequest): ReportAwardRequest {
988
+ let message = target ?? this.create(), end = reader.pos + length;
989
+ while (reader.pos < end) {
990
+ let [fieldNo, wireType] = reader.tag();
991
+ switch (fieldNo) {
992
+ case /* string award_id */ 1:
993
+ message.awardId = reader.string();
994
+ break;
995
+ case /* google.protobuf.StringValue reason */ 2:
996
+ message.reason = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.reason);
997
+ break;
998
+ default:
999
+ let u = options.readUnknownField;
1000
+ if (u === "throw")
1001
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1002
+ let d = reader.skip(wireType);
1003
+ if (u !== false)
1004
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1005
+ }
1006
+ }
1007
+ return message;
1008
+ }
1009
+ internalBinaryWrite(message: ReportAwardRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1010
+ /* string award_id = 1; */
1011
+ if (message.awardId !== "")
1012
+ writer.tag(1, WireType.LengthDelimited).string(message.awardId);
1013
+ /* google.protobuf.StringValue reason = 2; */
1014
+ if (message.reason)
1015
+ StringValue.internalBinaryWrite(message.reason, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1016
+ let u = options.writeUnknownFields;
1017
+ if (u !== false)
1018
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1019
+ return writer;
1020
+ }
1021
+ }
1022
+ /**
1023
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.ReportAwardRequest
1024
+ */
1025
+ export const ReportAwardRequest = new ReportAwardRequest$Type();
1026
+ // @generated message type with reflection information, may provide speed optimized methods
1027
+ class SaveRequest$Type extends MessageType<SaveRequest> {
1028
+ constructor() {
1029
+ super("devvit.plugin.redditapi.linksandcomments.SaveRequest", [
1030
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1031
+ ]);
1032
+ }
1033
+ create(value?: PartialMessage<SaveRequest>): SaveRequest {
1034
+ const message = globalThis.Object.create((this.messagePrototype!));
1035
+ message.id = "";
1036
+ if (value !== undefined)
1037
+ reflectionMergePartial<SaveRequest>(this, message, value);
1038
+ return message;
1039
+ }
1040
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SaveRequest): SaveRequest {
1041
+ let message = target ?? this.create(), end = reader.pos + length;
1042
+ while (reader.pos < end) {
1043
+ let [fieldNo, wireType] = reader.tag();
1044
+ switch (fieldNo) {
1045
+ case /* string id */ 1:
1046
+ message.id = reader.string();
1047
+ break;
1048
+ default:
1049
+ let u = options.readUnknownField;
1050
+ if (u === "throw")
1051
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1052
+ let d = reader.skip(wireType);
1053
+ if (u !== false)
1054
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1055
+ }
1056
+ }
1057
+ return message;
1058
+ }
1059
+ internalBinaryWrite(message: SaveRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1060
+ /* string id = 1; */
1061
+ if (message.id !== "")
1062
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1063
+ let u = options.writeUnknownFields;
1064
+ if (u !== false)
1065
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1066
+ return writer;
1067
+ }
1068
+ }
1069
+ /**
1070
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SaveRequest
1071
+ */
1072
+ export const SaveRequest = new SaveRequest$Type();
1073
+ // @generated message type with reflection information, may provide speed optimized methods
1074
+ class SendRepliesRequest$Type extends MessageType<SendRepliesRequest> {
1075
+ constructor() {
1076
+ super("devvit.plugin.redditapi.linksandcomments.SendRepliesRequest", [
1077
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1078
+ { no: 2, name: "state", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1079
+ ]);
1080
+ }
1081
+ create(value?: PartialMessage<SendRepliesRequest>): SendRepliesRequest {
1082
+ const message = globalThis.Object.create((this.messagePrototype!));
1083
+ message.id = "";
1084
+ message.state = false;
1085
+ if (value !== undefined)
1086
+ reflectionMergePartial<SendRepliesRequest>(this, message, value);
1087
+ return message;
1088
+ }
1089
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendRepliesRequest): SendRepliesRequest {
1090
+ let message = target ?? this.create(), end = reader.pos + length;
1091
+ while (reader.pos < end) {
1092
+ let [fieldNo, wireType] = reader.tag();
1093
+ switch (fieldNo) {
1094
+ case /* string id */ 1:
1095
+ message.id = reader.string();
1096
+ break;
1097
+ case /* bool state */ 2:
1098
+ message.state = reader.bool();
1099
+ break;
1100
+ default:
1101
+ let u = options.readUnknownField;
1102
+ if (u === "throw")
1103
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1104
+ let d = reader.skip(wireType);
1105
+ if (u !== false)
1106
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1107
+ }
1108
+ }
1109
+ return message;
1110
+ }
1111
+ internalBinaryWrite(message: SendRepliesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1112
+ /* string id = 1; */
1113
+ if (message.id !== "")
1114
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1115
+ /* bool state = 2; */
1116
+ if (message.state !== false)
1117
+ writer.tag(2, WireType.Varint).bool(message.state);
1118
+ let u = options.writeUnknownFields;
1119
+ if (u !== false)
1120
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1121
+ return writer;
1122
+ }
1123
+ }
1124
+ /**
1125
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SendRepliesRequest
1126
+ */
1127
+ export const SendRepliesRequest = new SendRepliesRequest$Type();
1128
+ // @generated message type with reflection information, may provide speed optimized methods
1129
+ class SetContestModeRequest$Type extends MessageType<SetContestModeRequest> {
1130
+ constructor() {
1131
+ super("devvit.plugin.redditapi.linksandcomments.SetContestModeRequest", [
1132
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1133
+ { no: 2, name: "state", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1134
+ ]);
1135
+ }
1136
+ create(value?: PartialMessage<SetContestModeRequest>): SetContestModeRequest {
1137
+ const message = globalThis.Object.create((this.messagePrototype!));
1138
+ message.id = "";
1139
+ message.state = false;
1140
+ if (value !== undefined)
1141
+ reflectionMergePartial<SetContestModeRequest>(this, message, value);
1142
+ return message;
1143
+ }
1144
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetContestModeRequest): SetContestModeRequest {
1145
+ let message = target ?? this.create(), end = reader.pos + length;
1146
+ while (reader.pos < end) {
1147
+ let [fieldNo, wireType] = reader.tag();
1148
+ switch (fieldNo) {
1149
+ case /* string id */ 1:
1150
+ message.id = reader.string();
1151
+ break;
1152
+ case /* bool state */ 2:
1153
+ message.state = reader.bool();
1154
+ break;
1155
+ default:
1156
+ let u = options.readUnknownField;
1157
+ if (u === "throw")
1158
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1159
+ let d = reader.skip(wireType);
1160
+ if (u !== false)
1161
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1162
+ }
1163
+ }
1164
+ return message;
1165
+ }
1166
+ internalBinaryWrite(message: SetContestModeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1167
+ /* string id = 1; */
1168
+ if (message.id !== "")
1169
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1170
+ /* bool state = 2; */
1171
+ if (message.state !== false)
1172
+ writer.tag(2, WireType.Varint).bool(message.state);
1173
+ let u = options.writeUnknownFields;
1174
+ if (u !== false)
1175
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1176
+ return writer;
1177
+ }
1178
+ }
1179
+ /**
1180
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SetContestModeRequest
1181
+ */
1182
+ export const SetContestModeRequest = new SetContestModeRequest$Type();
1183
+ // @generated message type with reflection information, may provide speed optimized methods
1184
+ class SetSubredditStickyRequest$Type extends MessageType<SetSubredditStickyRequest> {
1185
+ constructor() {
1186
+ super("devvit.plugin.redditapi.linksandcomments.SetSubredditStickyRequest", [
1187
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1188
+ { no: 2, name: "num", kind: "message", T: () => Int32Value },
1189
+ { no: 3, name: "state", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1190
+ { no: 4, name: "to_profile", kind: "message", T: () => BoolValue }
1191
+ ]);
1192
+ }
1193
+ create(value?: PartialMessage<SetSubredditStickyRequest>): SetSubredditStickyRequest {
1194
+ const message = globalThis.Object.create((this.messagePrototype!));
1195
+ message.id = "";
1196
+ message.state = false;
1197
+ if (value !== undefined)
1198
+ reflectionMergePartial<SetSubredditStickyRequest>(this, message, value);
1199
+ return message;
1200
+ }
1201
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSubredditStickyRequest): SetSubredditStickyRequest {
1202
+ let message = target ?? this.create(), end = reader.pos + length;
1203
+ while (reader.pos < end) {
1204
+ let [fieldNo, wireType] = reader.tag();
1205
+ switch (fieldNo) {
1206
+ case /* string id */ 1:
1207
+ message.id = reader.string();
1208
+ break;
1209
+ case /* google.protobuf.Int32Value num */ 2:
1210
+ message.num = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.num);
1211
+ break;
1212
+ case /* bool state */ 3:
1213
+ message.state = reader.bool();
1214
+ break;
1215
+ case /* google.protobuf.BoolValue to_profile */ 4:
1216
+ message.toProfile = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.toProfile);
1217
+ break;
1218
+ default:
1219
+ let u = options.readUnknownField;
1220
+ if (u === "throw")
1221
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1222
+ let d = reader.skip(wireType);
1223
+ if (u !== false)
1224
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1225
+ }
1226
+ }
1227
+ return message;
1228
+ }
1229
+ internalBinaryWrite(message: SetSubredditStickyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1230
+ /* string id = 1; */
1231
+ if (message.id !== "")
1232
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1233
+ /* google.protobuf.Int32Value num = 2; */
1234
+ if (message.num)
1235
+ Int32Value.internalBinaryWrite(message.num, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1236
+ /* bool state = 3; */
1237
+ if (message.state !== false)
1238
+ writer.tag(3, WireType.Varint).bool(message.state);
1239
+ /* google.protobuf.BoolValue to_profile = 4; */
1240
+ if (message.toProfile)
1241
+ BoolValue.internalBinaryWrite(message.toProfile, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
1242
+ let u = options.writeUnknownFields;
1243
+ if (u !== false)
1244
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1245
+ return writer;
1246
+ }
1247
+ }
1248
+ /**
1249
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SetSubredditStickyRequest
1250
+ */
1251
+ export const SetSubredditStickyRequest = new SetSubredditStickyRequest$Type();
1252
+ // @generated message type with reflection information, may provide speed optimized methods
1253
+ class SetSuggestedSortRequest$Type extends MessageType<SetSuggestedSortRequest> {
1254
+ constructor() {
1255
+ super("devvit.plugin.redditapi.linksandcomments.SetSuggestedSortRequest", [
1256
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1257
+ { no: 2, name: "sort", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1258
+ ]);
1259
+ }
1260
+ create(value?: PartialMessage<SetSuggestedSortRequest>): SetSuggestedSortRequest {
1261
+ const message = globalThis.Object.create((this.messagePrototype!));
1262
+ message.id = "";
1263
+ message.sort = "";
1264
+ if (value !== undefined)
1265
+ reflectionMergePartial<SetSuggestedSortRequest>(this, message, value);
1266
+ return message;
1267
+ }
1268
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSuggestedSortRequest): SetSuggestedSortRequest {
1269
+ let message = target ?? this.create(), end = reader.pos + length;
1270
+ while (reader.pos < end) {
1271
+ let [fieldNo, wireType] = reader.tag();
1272
+ switch (fieldNo) {
1273
+ case /* string id */ 1:
1274
+ message.id = reader.string();
1275
+ break;
1276
+ case /* string sort */ 2:
1277
+ message.sort = reader.string();
1278
+ break;
1279
+ default:
1280
+ let u = options.readUnknownField;
1281
+ if (u === "throw")
1282
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1283
+ let d = reader.skip(wireType);
1284
+ if (u !== false)
1285
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1286
+ }
1287
+ }
1288
+ return message;
1289
+ }
1290
+ internalBinaryWrite(message: SetSuggestedSortRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1291
+ /* string id = 1; */
1292
+ if (message.id !== "")
1293
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1294
+ /* string sort = 2; */
1295
+ if (message.sort !== "")
1296
+ writer.tag(2, WireType.LengthDelimited).string(message.sort);
1297
+ let u = options.writeUnknownFields;
1298
+ if (u !== false)
1299
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1300
+ return writer;
1301
+ }
1302
+ }
1303
+ /**
1304
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SetSuggestedSortRequest
1305
+ */
1306
+ export const SetSuggestedSortRequest = new SetSuggestedSortRequest$Type();
1307
+ // @generated message type with reflection information, may provide speed optimized methods
1308
+ class SubmitRequest$Type extends MessageType<SubmitRequest> {
1309
+ constructor() {
1310
+ super("devvit.plugin.redditapi.linksandcomments.SubmitRequest", [
1311
+ { no: 2, name: "collection_id", kind: "message", T: () => StringValue },
1312
+ { no: 7, name: "flair_id", kind: "message", T: () => StringValue },
1313
+ { no: 8, name: "flair_text", kind: "message", T: () => StringValue },
1314
+ { no: 9, name: "kind", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1315
+ { no: 10, name: "nsfw", kind: "message", T: () => BoolValue },
1316
+ { no: 12, name: "richtext_json", kind: "message", T: () => StringValue },
1317
+ { no: 13, name: "sendreplies", kind: "message", T: () => BoolValue },
1318
+ { no: 14, name: "spoiler", kind: "message", T: () => BoolValue },
1319
+ { no: 15, name: "sr", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1320
+ { no: 16, name: "text", kind: "message", T: () => StringValue },
1321
+ { no: 17, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1322
+ { no: 18, name: "url", kind: "message", T: () => StringValue },
1323
+ { no: 19, name: "video_poster_url", kind: "message", T: () => StringValue },
1324
+ { no: 20, name: "crosspost_fullname", kind: "message", T: () => StringValue }
1325
+ ]);
1326
+ }
1327
+ create(value?: PartialMessage<SubmitRequest>): SubmitRequest {
1328
+ const message = globalThis.Object.create((this.messagePrototype!));
1329
+ message.kind = "";
1330
+ message.sr = "";
1331
+ message.title = "";
1332
+ if (value !== undefined)
1333
+ reflectionMergePartial<SubmitRequest>(this, message, value);
1334
+ return message;
1335
+ }
1336
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitRequest): SubmitRequest {
1337
+ let message = target ?? this.create(), end = reader.pos + length;
1338
+ while (reader.pos < end) {
1339
+ let [fieldNo, wireType] = reader.tag();
1340
+ switch (fieldNo) {
1341
+ case /* google.protobuf.StringValue collection_id */ 2:
1342
+ message.collectionId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.collectionId);
1343
+ break;
1344
+ case /* google.protobuf.StringValue flair_id */ 7:
1345
+ message.flairId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.flairId);
1346
+ break;
1347
+ case /* google.protobuf.StringValue flair_text */ 8:
1348
+ message.flairText = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.flairText);
1349
+ break;
1350
+ case /* string kind */ 9:
1351
+ message.kind = reader.string();
1352
+ break;
1353
+ case /* google.protobuf.BoolValue nsfw */ 10:
1354
+ message.nsfw = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.nsfw);
1355
+ break;
1356
+ case /* google.protobuf.StringValue richtext_json */ 12:
1357
+ message.richtextJson = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.richtextJson);
1358
+ break;
1359
+ case /* google.protobuf.BoolValue sendreplies */ 13:
1360
+ message.sendreplies = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.sendreplies);
1361
+ break;
1362
+ case /* google.protobuf.BoolValue spoiler */ 14:
1363
+ message.spoiler = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.spoiler);
1364
+ break;
1365
+ case /* string sr */ 15:
1366
+ message.sr = reader.string();
1367
+ break;
1368
+ case /* google.protobuf.StringValue text */ 16:
1369
+ message.text = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.text);
1370
+ break;
1371
+ case /* string title */ 17:
1372
+ message.title = reader.string();
1373
+ break;
1374
+ case /* google.protobuf.StringValue url */ 18:
1375
+ message.url = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.url);
1376
+ break;
1377
+ case /* google.protobuf.StringValue video_poster_url */ 19:
1378
+ message.videoPosterUrl = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.videoPosterUrl);
1379
+ break;
1380
+ case /* google.protobuf.StringValue crosspost_fullname */ 20:
1381
+ message.crosspostFullname = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.crosspostFullname);
1382
+ break;
1383
+ default:
1384
+ let u = options.readUnknownField;
1385
+ if (u === "throw")
1386
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1387
+ let d = reader.skip(wireType);
1388
+ if (u !== false)
1389
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1390
+ }
1391
+ }
1392
+ return message;
1393
+ }
1394
+ internalBinaryWrite(message: SubmitRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1395
+ /* google.protobuf.StringValue collection_id = 2; */
1396
+ if (message.collectionId)
1397
+ StringValue.internalBinaryWrite(message.collectionId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1398
+ /* google.protobuf.StringValue flair_id = 7; */
1399
+ if (message.flairId)
1400
+ StringValue.internalBinaryWrite(message.flairId, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
1401
+ /* google.protobuf.StringValue flair_text = 8; */
1402
+ if (message.flairText)
1403
+ StringValue.internalBinaryWrite(message.flairText, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
1404
+ /* string kind = 9; */
1405
+ if (message.kind !== "")
1406
+ writer.tag(9, WireType.LengthDelimited).string(message.kind);
1407
+ /* google.protobuf.BoolValue nsfw = 10; */
1408
+ if (message.nsfw)
1409
+ BoolValue.internalBinaryWrite(message.nsfw, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
1410
+ /* google.protobuf.StringValue richtext_json = 12; */
1411
+ if (message.richtextJson)
1412
+ StringValue.internalBinaryWrite(message.richtextJson, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
1413
+ /* google.protobuf.BoolValue sendreplies = 13; */
1414
+ if (message.sendreplies)
1415
+ BoolValue.internalBinaryWrite(message.sendreplies, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
1416
+ /* google.protobuf.BoolValue spoiler = 14; */
1417
+ if (message.spoiler)
1418
+ BoolValue.internalBinaryWrite(message.spoiler, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
1419
+ /* string sr = 15; */
1420
+ if (message.sr !== "")
1421
+ writer.tag(15, WireType.LengthDelimited).string(message.sr);
1422
+ /* google.protobuf.StringValue text = 16; */
1423
+ if (message.text)
1424
+ StringValue.internalBinaryWrite(message.text, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
1425
+ /* string title = 17; */
1426
+ if (message.title !== "")
1427
+ writer.tag(17, WireType.LengthDelimited).string(message.title);
1428
+ /* google.protobuf.StringValue url = 18; */
1429
+ if (message.url)
1430
+ StringValue.internalBinaryWrite(message.url, writer.tag(18, WireType.LengthDelimited).fork(), options).join();
1431
+ /* google.protobuf.StringValue video_poster_url = 19; */
1432
+ if (message.videoPosterUrl)
1433
+ StringValue.internalBinaryWrite(message.videoPosterUrl, writer.tag(19, WireType.LengthDelimited).fork(), options).join();
1434
+ /* google.protobuf.StringValue crosspost_fullname = 20; */
1435
+ if (message.crosspostFullname)
1436
+ StringValue.internalBinaryWrite(message.crosspostFullname, writer.tag(20, WireType.LengthDelimited).fork(), options).join();
1437
+ let u = options.writeUnknownFields;
1438
+ if (u !== false)
1439
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1440
+ return writer;
1441
+ }
1442
+ }
1443
+ /**
1444
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SubmitRequest
1445
+ */
1446
+ export const SubmitRequest = new SubmitRequest$Type();
1447
+ // @generated message type with reflection information, may provide speed optimized methods
1448
+ class VoteRequest$Type extends MessageType<VoteRequest> {
1449
+ constructor() {
1450
+ super("devvit.plugin.redditapi.linksandcomments.VoteRequest", [
1451
+ { no: 1, name: "dir", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
1452
+ { no: 2, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1453
+ ]);
1454
+ }
1455
+ create(value?: PartialMessage<VoteRequest>): VoteRequest {
1456
+ const message = globalThis.Object.create((this.messagePrototype!));
1457
+ message.dir = 0;
1458
+ message.id = "";
1459
+ if (value !== undefined)
1460
+ reflectionMergePartial<VoteRequest>(this, message, value);
1461
+ return message;
1462
+ }
1463
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VoteRequest): VoteRequest {
1464
+ let message = target ?? this.create(), end = reader.pos + length;
1465
+ while (reader.pos < end) {
1466
+ let [fieldNo, wireType] = reader.tag();
1467
+ switch (fieldNo) {
1468
+ case /* int32 dir */ 1:
1469
+ message.dir = reader.int32();
1470
+ break;
1471
+ case /* string id */ 2:
1472
+ message.id = reader.string();
1473
+ break;
1474
+ default:
1475
+ let u = options.readUnknownField;
1476
+ if (u === "throw")
1477
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1478
+ let d = reader.skip(wireType);
1479
+ if (u !== false)
1480
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1481
+ }
1482
+ }
1483
+ return message;
1484
+ }
1485
+ internalBinaryWrite(message: VoteRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1486
+ /* int32 dir = 1; */
1487
+ if (message.dir !== 0)
1488
+ writer.tag(1, WireType.Varint).int32(message.dir);
1489
+ /* string id = 2; */
1490
+ if (message.id !== "")
1491
+ writer.tag(2, WireType.LengthDelimited).string(message.id);
1492
+ let u = options.writeUnknownFields;
1493
+ if (u !== false)
1494
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1495
+ return writer;
1496
+ }
1497
+ }
1498
+ /**
1499
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.VoteRequest
1500
+ */
1501
+ export const VoteRequest = new VoteRequest$Type();
1502
+ // @generated message type with reflection information, may provide speed optimized methods
1503
+ class JsonWrappedComment$Type extends MessageType<JsonWrappedComment> {
1504
+ constructor() {
1505
+ super("devvit.plugin.redditapi.linksandcomments.JsonWrappedComment", [
1506
+ { no: 1, name: "json", kind: "message", T: () => JsonWrappedComment_Json }
1507
+ ]);
1508
+ }
1509
+ create(value?: PartialMessage<JsonWrappedComment>): JsonWrappedComment {
1510
+ const message = globalThis.Object.create((this.messagePrototype!));
1511
+ if (value !== undefined)
1512
+ reflectionMergePartial<JsonWrappedComment>(this, message, value);
1513
+ return message;
1514
+ }
1515
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JsonWrappedComment): JsonWrappedComment {
1516
+ let message = target ?? this.create(), end = reader.pos + length;
1517
+ while (reader.pos < end) {
1518
+ let [fieldNo, wireType] = reader.tag();
1519
+ switch (fieldNo) {
1520
+ case /* devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.Json json */ 1:
1521
+ message.json = JsonWrappedComment_Json.internalBinaryRead(reader, reader.uint32(), options, message.json);
1522
+ break;
1523
+ default:
1524
+ let u = options.readUnknownField;
1525
+ if (u === "throw")
1526
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1527
+ let d = reader.skip(wireType);
1528
+ if (u !== false)
1529
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1530
+ }
1531
+ }
1532
+ return message;
1533
+ }
1534
+ internalBinaryWrite(message: JsonWrappedComment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1535
+ /* devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.Json json = 1; */
1536
+ if (message.json)
1537
+ JsonWrappedComment_Json.internalBinaryWrite(message.json, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1538
+ let u = options.writeUnknownFields;
1539
+ if (u !== false)
1540
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1541
+ return writer;
1542
+ }
1543
+ }
1544
+ /**
1545
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment
1546
+ */
1547
+ export const JsonWrappedComment = new JsonWrappedComment$Type();
1548
+ // @generated message type with reflection information, may provide speed optimized methods
1549
+ class JsonWrappedComment_WrappedComment$Type extends MessageType<JsonWrappedComment_WrappedComment> {
1550
+ constructor() {
1551
+ super("devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.WrappedComment", [
1552
+ { no: 1, name: "kind", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1553
+ { no: 2, name: "data", kind: "message", T: () => Comment }
1554
+ ]);
1555
+ }
1556
+ create(value?: PartialMessage<JsonWrappedComment_WrappedComment>): JsonWrappedComment_WrappedComment {
1557
+ const message = globalThis.Object.create((this.messagePrototype!));
1558
+ message.kind = "";
1559
+ if (value !== undefined)
1560
+ reflectionMergePartial<JsonWrappedComment_WrappedComment>(this, message, value);
1561
+ return message;
1562
+ }
1563
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JsonWrappedComment_WrappedComment): JsonWrappedComment_WrappedComment {
1564
+ let message = target ?? this.create(), end = reader.pos + length;
1565
+ while (reader.pos < end) {
1566
+ let [fieldNo, wireType] = reader.tag();
1567
+ switch (fieldNo) {
1568
+ case /* string kind */ 1:
1569
+ message.kind = reader.string();
1570
+ break;
1571
+ case /* devvit.reddit.Comment data */ 2:
1572
+ message.data = Comment.internalBinaryRead(reader, reader.uint32(), options, message.data);
1573
+ break;
1574
+ default:
1575
+ let u = options.readUnknownField;
1576
+ if (u === "throw")
1577
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1578
+ let d = reader.skip(wireType);
1579
+ if (u !== false)
1580
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1581
+ }
1582
+ }
1583
+ return message;
1584
+ }
1585
+ internalBinaryWrite(message: JsonWrappedComment_WrappedComment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1586
+ /* string kind = 1; */
1587
+ if (message.kind !== "")
1588
+ writer.tag(1, WireType.LengthDelimited).string(message.kind);
1589
+ /* devvit.reddit.Comment data = 2; */
1590
+ if (message.data)
1591
+ Comment.internalBinaryWrite(message.data, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1592
+ let u = options.writeUnknownFields;
1593
+ if (u !== false)
1594
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1595
+ return writer;
1596
+ }
1597
+ }
1598
+ /**
1599
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.WrappedComment
1600
+ */
1601
+ export const JsonWrappedComment_WrappedComment = new JsonWrappedComment_WrappedComment$Type();
1602
+ // @generated message type with reflection information, may provide speed optimized methods
1603
+ class JsonWrappedComment_JsonData$Type extends MessageType<JsonWrappedComment_JsonData> {
1604
+ constructor() {
1605
+ super("devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.JsonData", [
1606
+ { no: 1, name: "things", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => JsonWrappedComment_WrappedComment }
1607
+ ]);
1608
+ }
1609
+ create(value?: PartialMessage<JsonWrappedComment_JsonData>): JsonWrappedComment_JsonData {
1610
+ const message = globalThis.Object.create((this.messagePrototype!));
1611
+ message.things = [];
1612
+ if (value !== undefined)
1613
+ reflectionMergePartial<JsonWrappedComment_JsonData>(this, message, value);
1614
+ return message;
1615
+ }
1616
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JsonWrappedComment_JsonData): JsonWrappedComment_JsonData {
1617
+ let message = target ?? this.create(), end = reader.pos + length;
1618
+ while (reader.pos < end) {
1619
+ let [fieldNo, wireType] = reader.tag();
1620
+ switch (fieldNo) {
1621
+ case /* repeated devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.WrappedComment things */ 1:
1622
+ message.things.push(JsonWrappedComment_WrappedComment.internalBinaryRead(reader, reader.uint32(), options));
1623
+ break;
1624
+ default:
1625
+ let u = options.readUnknownField;
1626
+ if (u === "throw")
1627
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1628
+ let d = reader.skip(wireType);
1629
+ if (u !== false)
1630
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1631
+ }
1632
+ }
1633
+ return message;
1634
+ }
1635
+ internalBinaryWrite(message: JsonWrappedComment_JsonData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1636
+ /* repeated devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.WrappedComment things = 1; */
1637
+ for (let i = 0; i < message.things.length; i++)
1638
+ JsonWrappedComment_WrappedComment.internalBinaryWrite(message.things[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1639
+ let u = options.writeUnknownFields;
1640
+ if (u !== false)
1641
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1642
+ return writer;
1643
+ }
1644
+ }
1645
+ /**
1646
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.JsonData
1647
+ */
1648
+ export const JsonWrappedComment_JsonData = new JsonWrappedComment_JsonData$Type();
1649
+ // @generated message type with reflection information, may provide speed optimized methods
1650
+ class JsonWrappedComment_Json$Type extends MessageType<JsonWrappedComment_Json> {
1651
+ constructor() {
1652
+ super("devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.Json", [
1653
+ { no: 1, name: "errors", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
1654
+ { no: 2, name: "data", kind: "message", T: () => JsonWrappedComment_JsonData }
1655
+ ]);
1656
+ }
1657
+ create(value?: PartialMessage<JsonWrappedComment_Json>): JsonWrappedComment_Json {
1658
+ const message = globalThis.Object.create((this.messagePrototype!));
1659
+ message.errors = [];
1660
+ if (value !== undefined)
1661
+ reflectionMergePartial<JsonWrappedComment_Json>(this, message, value);
1662
+ return message;
1663
+ }
1664
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JsonWrappedComment_Json): JsonWrappedComment_Json {
1665
+ let message = target ?? this.create(), end = reader.pos + length;
1666
+ while (reader.pos < end) {
1667
+ let [fieldNo, wireType] = reader.tag();
1668
+ switch (fieldNo) {
1669
+ case /* repeated string errors */ 1:
1670
+ message.errors.push(reader.string());
1671
+ break;
1672
+ case /* devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.JsonData data */ 2:
1673
+ message.data = JsonWrappedComment_JsonData.internalBinaryRead(reader, reader.uint32(), options, message.data);
1674
+ break;
1675
+ default:
1676
+ let u = options.readUnknownField;
1677
+ if (u === "throw")
1678
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1679
+ let d = reader.skip(wireType);
1680
+ if (u !== false)
1681
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1682
+ }
1683
+ }
1684
+ return message;
1685
+ }
1686
+ internalBinaryWrite(message: JsonWrappedComment_Json, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1687
+ /* repeated string errors = 1; */
1688
+ for (let i = 0; i < message.errors.length; i++)
1689
+ writer.tag(1, WireType.LengthDelimited).string(message.errors[i]);
1690
+ /* devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.JsonData data = 2; */
1691
+ if (message.data)
1692
+ JsonWrappedComment_JsonData.internalBinaryWrite(message.data, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1693
+ let u = options.writeUnknownFields;
1694
+ if (u !== false)
1695
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1696
+ return writer;
1697
+ }
1698
+ }
1699
+ /**
1700
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.JsonWrappedComment.Json
1701
+ */
1702
+ export const JsonWrappedComment_Json = new JsonWrappedComment_Json$Type();
1703
+ // @generated message type with reflection information, may provide speed optimized methods
1704
+ class SubmitResponse$Type extends MessageType<SubmitResponse> {
1705
+ constructor() {
1706
+ super("devvit.plugin.redditapi.linksandcomments.SubmitResponse", [
1707
+ { no: 4, name: "json", kind: "message", T: () => SubmitResponse_JsonType }
1708
+ ]);
1709
+ }
1710
+ create(value?: PartialMessage<SubmitResponse>): SubmitResponse {
1711
+ const message = globalThis.Object.create((this.messagePrototype!));
1712
+ if (value !== undefined)
1713
+ reflectionMergePartial<SubmitResponse>(this, message, value);
1714
+ return message;
1715
+ }
1716
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitResponse): SubmitResponse {
1717
+ let message = target ?? this.create(), end = reader.pos + length;
1718
+ while (reader.pos < end) {
1719
+ let [fieldNo, wireType] = reader.tag();
1720
+ switch (fieldNo) {
1721
+ case /* devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType json */ 4:
1722
+ message.json = SubmitResponse_JsonType.internalBinaryRead(reader, reader.uint32(), options, message.json);
1723
+ break;
1724
+ default:
1725
+ let u = options.readUnknownField;
1726
+ if (u === "throw")
1727
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1728
+ let d = reader.skip(wireType);
1729
+ if (u !== false)
1730
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1731
+ }
1732
+ }
1733
+ return message;
1734
+ }
1735
+ internalBinaryWrite(message: SubmitResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1736
+ /* devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType json = 4; */
1737
+ if (message.json)
1738
+ SubmitResponse_JsonType.internalBinaryWrite(message.json, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
1739
+ let u = options.writeUnknownFields;
1740
+ if (u !== false)
1741
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1742
+ return writer;
1743
+ }
1744
+ }
1745
+ /**
1746
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SubmitResponse
1747
+ */
1748
+ export const SubmitResponse = new SubmitResponse$Type();
1749
+ // @generated message type with reflection information, may provide speed optimized methods
1750
+ class SubmitResponse_JsonType$Type extends MessageType<SubmitResponse_JsonType> {
1751
+ constructor() {
1752
+ super("devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType", [
1753
+ { no: 1, name: "errors", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Any },
1754
+ { no: 2, name: "data", kind: "message", T: () => SubmitResponse_JsonType_JsonData }
1755
+ ]);
1756
+ }
1757
+ create(value?: PartialMessage<SubmitResponse_JsonType>): SubmitResponse_JsonType {
1758
+ const message = globalThis.Object.create((this.messagePrototype!));
1759
+ message.errors = [];
1760
+ if (value !== undefined)
1761
+ reflectionMergePartial<SubmitResponse_JsonType>(this, message, value);
1762
+ return message;
1763
+ }
1764
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitResponse_JsonType): SubmitResponse_JsonType {
1765
+ let message = target ?? this.create(), end = reader.pos + length;
1766
+ while (reader.pos < end) {
1767
+ let [fieldNo, wireType] = reader.tag();
1768
+ switch (fieldNo) {
1769
+ case /* repeated google.protobuf.Any errors */ 1:
1770
+ message.errors.push(Any.internalBinaryRead(reader, reader.uint32(), options));
1771
+ break;
1772
+ case /* devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType.JsonData data */ 2:
1773
+ message.data = SubmitResponse_JsonType_JsonData.internalBinaryRead(reader, reader.uint32(), options, message.data);
1774
+ break;
1775
+ default:
1776
+ let u = options.readUnknownField;
1777
+ if (u === "throw")
1778
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1779
+ let d = reader.skip(wireType);
1780
+ if (u !== false)
1781
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1782
+ }
1783
+ }
1784
+ return message;
1785
+ }
1786
+ internalBinaryWrite(message: SubmitResponse_JsonType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1787
+ /* repeated google.protobuf.Any errors = 1; */
1788
+ for (let i = 0; i < message.errors.length; i++)
1789
+ Any.internalBinaryWrite(message.errors[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1790
+ /* devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType.JsonData data = 2; */
1791
+ if (message.data)
1792
+ SubmitResponse_JsonType_JsonData.internalBinaryWrite(message.data, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1793
+ let u = options.writeUnknownFields;
1794
+ if (u !== false)
1795
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1796
+ return writer;
1797
+ }
1798
+ }
1799
+ /**
1800
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType
1801
+ */
1802
+ export const SubmitResponse_JsonType = new SubmitResponse_JsonType$Type();
1803
+ // @generated message type with reflection information, may provide speed optimized methods
1804
+ class SubmitResponse_JsonType_JsonData$Type extends MessageType<SubmitResponse_JsonType_JsonData> {
1805
+ constructor() {
1806
+ super("devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType.JsonData", [
1807
+ { no: 1, name: "url", kind: "message", T: () => StringValue },
1808
+ { no: 2, name: "drafts_count", kind: "message", T: () => Int32Value },
1809
+ { no: 3, name: "id", kind: "message", T: () => StringValue },
1810
+ { no: 4, name: "name", kind: "message", T: () => StringValue }
1811
+ ]);
1812
+ }
1813
+ create(value?: PartialMessage<SubmitResponse_JsonType_JsonData>): SubmitResponse_JsonType_JsonData {
1814
+ const message = globalThis.Object.create((this.messagePrototype!));
1815
+ if (value !== undefined)
1816
+ reflectionMergePartial<SubmitResponse_JsonType_JsonData>(this, message, value);
1817
+ return message;
1818
+ }
1819
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitResponse_JsonType_JsonData): SubmitResponse_JsonType_JsonData {
1820
+ let message = target ?? this.create(), end = reader.pos + length;
1821
+ while (reader.pos < end) {
1822
+ let [fieldNo, wireType] = reader.tag();
1823
+ switch (fieldNo) {
1824
+ case /* google.protobuf.StringValue url */ 1:
1825
+ message.url = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.url);
1826
+ break;
1827
+ case /* google.protobuf.Int32Value drafts_count */ 2:
1828
+ message.draftsCount = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.draftsCount);
1829
+ break;
1830
+ case /* google.protobuf.StringValue id */ 3:
1831
+ message.id = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.id);
1832
+ break;
1833
+ case /* google.protobuf.StringValue name */ 4:
1834
+ message.name = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.name);
1835
+ break;
1836
+ default:
1837
+ let u = options.readUnknownField;
1838
+ if (u === "throw")
1839
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1840
+ let d = reader.skip(wireType);
1841
+ if (u !== false)
1842
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1843
+ }
1844
+ }
1845
+ return message;
1846
+ }
1847
+ internalBinaryWrite(message: SubmitResponse_JsonType_JsonData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1848
+ /* google.protobuf.StringValue url = 1; */
1849
+ if (message.url)
1850
+ StringValue.internalBinaryWrite(message.url, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1851
+ /* google.protobuf.Int32Value drafts_count = 2; */
1852
+ if (message.draftsCount)
1853
+ Int32Value.internalBinaryWrite(message.draftsCount, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1854
+ /* google.protobuf.StringValue id = 3; */
1855
+ if (message.id)
1856
+ StringValue.internalBinaryWrite(message.id, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1857
+ /* google.protobuf.StringValue name = 4; */
1858
+ if (message.name)
1859
+ StringValue.internalBinaryWrite(message.name, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
1860
+ let u = options.writeUnknownFields;
1861
+ if (u !== false)
1862
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1863
+ return writer;
1864
+ }
1865
+ }
1866
+ /**
1867
+ * @generated MessageType for protobuf message devvit.plugin.redditapi.linksandcomments.SubmitResponse.JsonType.JsonData
1868
+ */
1869
+ export const SubmitResponse_JsonType_JsonData = new SubmitResponse_JsonType_JsonData$Type();