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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1169) 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 +200 -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 +1047 -0
  230. package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.ts +218 -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 -10
  409. package/schema/devvit/dev_portal/app_settings/app_settings.proto +2 -0
  410. package/schema/devvit/dev_portal/dev_portal.proto +2 -2
  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 -28
  568. package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts.map +1 -1
  569. package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.js +4 -142
  570. package/types/devvit/dev_portal/app_settings/app_settings.d.ts +3 -3
  571. package/types/devvit/dev_portal/app_settings/app_settings.js +4 -4
  572. package/types/devvit/dev_portal/app_version/app_version.d.ts +7 -7
  573. package/types/devvit/dev_portal/app_version/app_version.js +9 -9
  574. package/types/devvit/dev_portal/app_version/info/app_version_info.d.ts +1 -1
  575. package/types/devvit/dev_portal/app_version/info/app_version_info.js +4 -4
  576. package/types/devvit/dev_portal/data_api/admin/audit/audit.d.ts +1 -1
  577. package/types/devvit/dev_portal/data_api/admin/audit/audit.js +3 -3
  578. package/types/devvit/dev_portal/data_api/admin/auth/auth.d.ts +3 -3
  579. package/types/devvit/dev_portal/data_api/admin/auth/auth.js +5 -5
  580. package/types/devvit/dev_portal/data_api/admin/organization/organization.d.ts +2 -2
  581. package/types/devvit/dev_portal/data_api/admin/organization/organization.js +3 -3
  582. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.d.ts +4 -4
  583. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.js +5 -5
  584. package/types/devvit/dev_portal/dev_portal.d.ts +20 -88
  585. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  586. package/types/devvit/dev_portal/dev_portal.js +20 -48
  587. package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts +1 -7
  588. package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts.map +1 -1
  589. package/types/devvit/dev_portal/dev_portal.twirp-client.js +1 -25
  590. package/types/devvit/dev_portal/dev_portal.twirp.d.ts +1 -5
  591. package/types/devvit/dev_portal/dev_portal.twirp.d.ts.map +1 -1
  592. package/types/devvit/dev_portal/dev_portal.twirp.js +1 -133
  593. package/types/devvit/dev_portal/feedback/feedback.d.ts +1 -1
  594. package/types/devvit/dev_portal/feedback/feedback.js +2 -2
  595. package/types/devvit/dev_portal/installation/installation.d.ts +4 -4
  596. package/types/devvit/dev_portal/installation/installation.js +8 -8
  597. package/types/devvit/dev_portal/installation_settings/installation_settings.d.ts +3 -3
  598. package/types/devvit/dev_portal/installation_settings/installation_settings.js +4 -4
  599. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.d.ts +2 -2
  600. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.js +3 -3
  601. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +5 -5
  602. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.js +5 -5
  603. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.d.ts +2 -2
  604. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.js +3 -3
  605. package/types/devvit/dev_portal/internal/media/media.d.ts +1 -1
  606. package/types/devvit/dev_portal/internal/media/media.js +2 -2
  607. package/types/devvit/dev_portal/nutrition/nutrition.d.ts +1 -1
  608. package/types/devvit/dev_portal/nutrition/nutrition.js +2 -2
  609. package/types/devvit/dev_portal/reddit/redditor.d.ts +1 -1
  610. package/types/devvit/dev_portal/reddit/redditor.js +2 -2
  611. package/types/devvit/dev_portal/waitlist/waitlist.d.ts +3 -3
  612. package/types/devvit/dev_portal/waitlist/waitlist.js +5 -5
  613. package/types/devvit/events/v1alpha/events.d.ts +6 -6
  614. package/types/devvit/events/v1alpha/events.d.ts.map +1 -1
  615. package/types/devvit/events/v1alpha/events.js +17 -17
  616. package/types/devvit/events/v1alpha/realtime.d.ts +2 -2
  617. package/types/devvit/events/v1alpha/realtime.js +4 -4
  618. package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts +23 -0
  619. package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts.map +1 -0
  620. package/types/devvit/events/v1alpha/realtime.twirp-client.js +36 -0
  621. package/types/devvit/events/v1alpha/realtime.twirp.d.ts +15 -0
  622. package/types/devvit/events/v1alpha/realtime.twirp.d.ts.map +1 -0
  623. package/types/devvit/events/v1alpha/realtime.twirp.js +157 -0
  624. package/types/devvit/events/v1alpha/wqcleanup.d.ts +1 -1
  625. package/types/devvit/events/v1alpha/wqcleanup.js +2 -2
  626. package/types/devvit/gateway/custom_post_snapshot.d.ts +2 -2
  627. package/types/devvit/gateway/custom_post_snapshot.js +3 -3
  628. package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts +20 -0
  629. package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts.map +1 -0
  630. package/types/devvit/gateway/custom_post_snapshot.twirp-client.js +24 -0
  631. package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts +13 -0
  632. package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts.map +1 -0
  633. package/types/devvit/gateway/custom_post_snapshot.twirp.js +91 -0
  634. package/types/devvit/gateway/resolvers.d.ts +2 -2
  635. package/types/devvit/gateway/resolvers.js +3 -3
  636. package/types/devvit/gateway/resolvers.twirp-client.d.ts +20 -0
  637. package/types/devvit/gateway/resolvers.twirp-client.d.ts.map +1 -0
  638. package/types/devvit/gateway/resolvers.twirp-client.js +24 -0
  639. package/types/devvit/gateway/resolvers.twirp.d.ts +13 -0
  640. package/types/devvit/gateway/resolvers.twirp.d.ts.map +1 -0
  641. package/types/devvit/gateway/resolvers.twirp.js +91 -0
  642. package/types/devvit/gateway/utils/v1alpha/utilities.d.ts +1 -1
  643. package/types/devvit/gateway/utils/v1alpha/utilities.js +2 -2
  644. package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts +47 -0
  645. package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts.map +1 -0
  646. package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.js +93 -0
  647. package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts +28 -0
  648. package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts.map +1 -0
  649. package/types/devvit/gateway/utils/v1alpha/utilities.twirp.js +440 -0
  650. package/types/devvit/gateway/v1alpha/triggers.d.ts +8 -8
  651. package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
  652. package/types/devvit/gateway/v1alpha/triggers.js +5 -5
  653. package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts +37 -0
  654. package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts.map +1 -0
  655. package/types/devvit/gateway/v1alpha/triggers.twirp-client.js +86 -0
  656. package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts +25 -0
  657. package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts.map +1 -0
  658. package/types/devvit/gateway/v1alpha/triggers.twirp.js +423 -0
  659. package/types/devvit/gql/snapshot.d.ts +1 -1
  660. package/types/devvit/gql/snapshot.js +2 -2
  661. package/types/devvit/gql/subreddit_metadata.d.ts +3 -3
  662. package/types/devvit/gql/subreddit_metadata.js +4 -4
  663. package/types/devvit/options/options.d.ts +1 -1
  664. package/types/devvit/options/options.js +2 -2
  665. package/types/devvit/payments/v1alpha/order.d.ts +3 -3
  666. package/types/devvit/payments/v1alpha/order.js +5 -5
  667. package/types/devvit/payments/v1alpha/product.d.ts +2 -2
  668. package/types/devvit/payments/v1alpha/product.js +3 -3
  669. package/types/devvit/plugin/assetresolver/assetresolver.d.ts +1 -1
  670. package/types/devvit/plugin/assetresolver/assetresolver.js +2 -2
  671. package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts +22 -0
  672. package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts.map +1 -0
  673. package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.js +35 -0
  674. package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts +14 -0
  675. package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts.map +1 -0
  676. package/types/devvit/plugin/assetresolver/assetresolver.twirp.js +156 -0
  677. package/types/devvit/plugin/builder/builder.d.ts +3 -3
  678. package/types/devvit/plugin/builder/builder.js +4 -4
  679. package/types/devvit/plugin/builder/builder.twirp-client.d.ts +23 -0
  680. package/types/devvit/plugin/builder/builder.twirp-client.d.ts.map +1 -0
  681. package/types/devvit/plugin/builder/builder.twirp-client.js +36 -0
  682. package/types/devvit/plugin/builder/builder.twirp.d.ts +15 -0
  683. package/types/devvit/plugin/builder/builder.twirp.d.ts.map +1 -0
  684. package/types/devvit/plugin/builder/builder.twirp.js +154 -0
  685. package/types/devvit/plugin/buildpack/buildpack.d.ts +2 -2
  686. package/types/devvit/plugin/buildpack/buildpack.js +2 -2
  687. package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts +22 -0
  688. package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts.map +1 -0
  689. package/types/devvit/plugin/buildpack/buildpack.twirp-client.js +35 -0
  690. package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts +14 -0
  691. package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts.map +1 -0
  692. package/types/devvit/plugin/buildpack/buildpack.twirp.js +156 -0
  693. package/types/devvit/plugin/buildpack/buildpack_common.d.ts +4 -4
  694. package/types/devvit/plugin/buildpack/buildpack_common.js +6 -6
  695. package/types/devvit/plugin/buildpack/filesystem.d.ts +1 -1
  696. package/types/devvit/plugin/buildpack/filesystem.js +2 -2
  697. package/types/devvit/plugin/clock/clock.d.ts +3 -3
  698. package/types/devvit/plugin/clock/clock.js +3 -3
  699. package/types/devvit/plugin/clock/clock.twirp-client.d.ts +20 -0
  700. package/types/devvit/plugin/clock/clock.twirp-client.d.ts.map +1 -0
  701. package/types/devvit/plugin/clock/clock.twirp-client.js +24 -0
  702. package/types/devvit/plugin/clock/clock.twirp.d.ts +13 -0
  703. package/types/devvit/plugin/clock/clock.twirp.d.ts.map +1 -0
  704. package/types/devvit/plugin/clock/clock.twirp.js +89 -0
  705. package/types/devvit/plugin/http/http.d.ts +1 -1
  706. package/types/devvit/plugin/http/http.js +2 -2
  707. package/types/devvit/plugin/http/http.twirp-client.d.ts +19 -0
  708. package/types/devvit/plugin/http/http.twirp-client.d.ts.map +1 -0
  709. package/types/devvit/plugin/http/http.twirp-client.js +23 -0
  710. package/types/devvit/plugin/http/http.twirp.d.ts +12 -0
  711. package/types/devvit/plugin/http/http.twirp.d.ts.map +1 -0
  712. package/types/devvit/plugin/http/http.twirp.js +88 -0
  713. package/types/devvit/plugin/inspector/inspector.d.ts +3 -3
  714. package/types/devvit/plugin/inspector/inspector.js +4 -4
  715. package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts +23 -0
  716. package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts.map +1 -0
  717. package/types/devvit/plugin/inspector/inspector.twirp-client.js +36 -0
  718. package/types/devvit/plugin/inspector/inspector.twirp.d.ts +15 -0
  719. package/types/devvit/plugin/inspector/inspector.twirp.d.ts.map +1 -0
  720. package/types/devvit/plugin/inspector/inspector.twirp.js +157 -0
  721. package/types/devvit/plugin/kvstore/kvstore.d.ts +2 -2
  722. package/types/devvit/plugin/kvstore/kvstore.js +3 -3
  723. package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts +29 -0
  724. package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts.map +1 -0
  725. package/types/devvit/plugin/kvstore/kvstore.twirp-client.js +60 -0
  726. package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts +19 -0
  727. package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts.map +1 -0
  728. package/types/devvit/plugin/kvstore/kvstore.twirp.js +289 -0
  729. package/types/devvit/plugin/linker/linker.d.ts +4 -4
  730. package/types/devvit/plugin/linker/linker.js +5 -5
  731. package/types/devvit/plugin/linker/linker.twirp-client.d.ts +20 -0
  732. package/types/devvit/plugin/linker/linker.twirp-client.d.ts.map +1 -0
  733. package/types/devvit/plugin/linker/linker.twirp-client.js +24 -0
  734. package/types/devvit/plugin/linker/linker.twirp.d.ts +13 -0
  735. package/types/devvit/plugin/linker/linker.twirp.d.ts.map +1 -0
  736. package/types/devvit/plugin/linker/linker.twirp.js +89 -0
  737. package/types/devvit/plugin/linker/resolver.d.ts +5 -5
  738. package/types/devvit/plugin/linker/resolver.js +6 -6
  739. package/types/devvit/plugin/linker/resolver.twirp-client.d.ts +29 -0
  740. package/types/devvit/plugin/linker/resolver.twirp-client.d.ts.map +1 -0
  741. package/types/devvit/plugin/linker/resolver.twirp-client.js +51 -0
  742. package/types/devvit/plugin/linker/resolver.twirp.d.ts +20 -0
  743. package/types/devvit/plugin/linker/resolver.twirp.d.ts.map +1 -0
  744. package/types/devvit/plugin/linker/resolver.twirp.js +226 -0
  745. package/types/devvit/plugin/logger/logger.d.ts +1 -1
  746. package/types/devvit/plugin/logger/logger.js +4 -4
  747. package/types/devvit/plugin/media/media.d.ts +1 -1
  748. package/types/devvit/plugin/media/media.js +2 -2
  749. package/types/devvit/plugin/media/media.twirp-client.d.ts +19 -0
  750. package/types/devvit/plugin/media/media.twirp-client.d.ts.map +1 -0
  751. package/types/devvit/plugin/media/media.twirp-client.js +23 -0
  752. package/types/devvit/plugin/media/media.twirp.d.ts +12 -0
  753. package/types/devvit/plugin/media/media.twirp.d.ts.map +1 -0
  754. package/types/devvit/plugin/media/media.twirp.js +88 -0
  755. package/types/devvit/plugin/modlog/modlog.d.ts +1 -1
  756. package/types/devvit/plugin/modlog/modlog.js +2 -2
  757. package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts +19 -0
  758. package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts.map +1 -0
  759. package/types/devvit/plugin/modlog/modlog.twirp-client.js +23 -0
  760. package/types/devvit/plugin/modlog/modlog.twirp.d.ts +12 -0
  761. package/types/devvit/plugin/modlog/modlog.twirp.d.ts.map +1 -0
  762. package/types/devvit/plugin/modlog/modlog.twirp.js +88 -0
  763. package/types/devvit/plugin/payments/v1alpha/payments.d.ts +3 -3
  764. package/types/devvit/plugin/payments/v1alpha/payments.js +5 -5
  765. package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts +25 -0
  766. package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts.map +1 -0
  767. package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.js +47 -0
  768. package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts +16 -0
  769. package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts.map +1 -0
  770. package/types/devvit/plugin/payments/v1alpha/payments.twirp.js +222 -0
  771. package/types/devvit/plugin/redditapi/common/common_msg.d.ts +3 -3
  772. package/types/devvit/plugin/redditapi/common/common_msg.js +6 -6
  773. package/types/devvit/plugin/redditapi/flair/flair_msg.d.ts +1 -1
  774. package/types/devvit/plugin/redditapi/flair/flair_msg.js +3 -3
  775. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts +17 -17
  776. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts.map +1 -1
  777. package/types/devvit/plugin/redditapi/flair/flair_svc.js +47 -126
  778. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts +60 -0
  779. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts.map +1 -0
  780. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.js +181 -0
  781. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts +40 -0
  782. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts.map +1 -0
  783. package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.js +950 -0
  784. package/types/devvit/plugin/redditapi/graphql/graphql_msg.d.ts +1 -1
  785. package/types/devvit/plugin/redditapi/graphql/graphql_msg.js +3 -3
  786. package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts +2 -2
  787. package/types/devvit/plugin/redditapi/graphql/graphql_svc.js +2 -2
  788. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts +22 -0
  789. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts.map +1 -0
  790. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.js +35 -0
  791. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts +14 -0
  792. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts.map +1 -0
  793. package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.js +156 -0
  794. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts +3 -3
  795. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +5 -5
  796. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +27 -27
  797. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
  798. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +89 -388
  799. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts +90 -0
  800. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts.map +1 -0
  801. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.js +301 -0
  802. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts +60 -0
  803. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts.map +1 -0
  804. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.js +1610 -0
  805. package/types/devvit/plugin/redditapi/listings/listings_msg.d.ts +2 -2
  806. package/types/devvit/plugin/redditapi/listings/listings_msg.js +4 -4
  807. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +11 -11
  808. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
  809. package/types/devvit/plugin/redditapi/listings/listings_svc.js +21 -55
  810. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts +41 -0
  811. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts.map +1 -0
  812. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.js +108 -0
  813. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts +27 -0
  814. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts.map +1 -0
  815. package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.js +553 -0
  816. package/types/devvit/plugin/redditapi/moderation/moderation_msg.d.ts +1 -1
  817. package/types/devvit/plugin/redditapi/moderation/moderation_msg.js +3 -3
  818. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +28 -28
  819. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
  820. package/types/devvit/plugin/redditapi/moderation/moderation_svc.js +81 -361
  821. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts +85 -0
  822. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts.map +1 -0
  823. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.js +278 -0
  824. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts +57 -0
  825. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts.map +1 -0
  826. package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.js +1479 -0
  827. package/types/devvit/plugin/redditapi/modnote/modnote_msg.d.ts +1 -1
  828. package/types/devvit/plugin/redditapi/modnote/modnote_msg.js +3 -3
  829. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts +8 -8
  830. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts.map +1 -1
  831. package/types/devvit/plugin/redditapi/modnote/modnote_svc.js +14 -59
  832. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts +32 -0
  833. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts.map +1 -0
  834. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.js +72 -0
  835. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts +21 -0
  836. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts.map +1 -0
  837. package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.js +355 -0
  838. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.d.ts +2 -2
  839. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.js +4 -4
  840. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +21 -21
  841. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts.map +1 -1
  842. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.js +46 -142
  843. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts +77 -0
  844. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts.map +1 -0
  845. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.js +252 -0
  846. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts +51 -0
  847. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts.map +1 -0
  848. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.js +1345 -0
  849. package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.d.ts +1 -1
  850. package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.js +4 -4
  851. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts +3 -3
  852. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.js +3 -3
  853. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts +50 -0
  854. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts.map +1 -0
  855. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.js +144 -0
  856. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts +33 -0
  857. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts.map +1 -0
  858. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.js +751 -0
  859. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.d.ts +1 -1
  860. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.js +3 -3
  861. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +14 -14
  862. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
  863. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.js +34 -101
  864. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts +48 -0
  865. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts.map +1 -0
  866. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.js +133 -0
  867. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts +32 -0
  868. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts.map +1 -0
  869. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.js +686 -0
  870. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.d.ts +3 -3
  871. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.js +5 -5
  872. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +32 -32
  873. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts.map +1 -1
  874. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.js +73 -243
  875. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts +100 -0
  876. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts.map +1 -0
  877. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.js +338 -0
  878. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts +67 -0
  879. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts.map +1 -0
  880. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.js +1809 -0
  881. package/types/devvit/plugin/redditapi/users/users_msg.d.ts +2 -2
  882. package/types/devvit/plugin/redditapi/users/users_msg.js +4 -4
  883. package/types/devvit/plugin/redditapi/users/users_svc.d.ts +17 -17
  884. package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
  885. package/types/devvit/plugin/redditapi/users/users_svc.js +39 -144
  886. package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts +58 -0
  887. package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts.map +1 -0
  888. package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.js +170 -0
  889. package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts +39 -0
  890. package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts.map +1 -0
  891. package/types/devvit/plugin/redditapi/users/users_svc.twirp.js +885 -0
  892. package/types/devvit/plugin/redditapi/widgets/widgets_msg.d.ts +2 -2
  893. package/types/devvit/plugin/redditapi/widgets/widgets_msg.js +4 -4
  894. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts +21 -21
  895. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts.map +1 -1
  896. package/types/devvit/plugin/redditapi/widgets/widgets_svc.js +69 -298
  897. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts +71 -0
  898. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts.map +1 -0
  899. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.js +228 -0
  900. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts +47 -0
  901. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts.map +1 -0
  902. package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.js +1213 -0
  903. package/types/devvit/plugin/redditapi/wiki/wiki_msg.d.ts +2 -2
  904. package/types/devvit/plugin/redditapi/wiki/wiki_msg.js +4 -4
  905. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts +13 -18
  906. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts.map +1 -1
  907. package/types/devvit/plugin/redditapi/wiki/wiki_svc.js +28 -79
  908. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts +47 -0
  909. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts.map +1 -0
  910. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.js +132 -0
  911. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts +31 -0
  912. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts.map +1 -0
  913. package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.js +685 -0
  914. package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts +4 -4
  915. package/types/devvit/plugin/redditapiv2/redditapiv2.js +4 -4
  916. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts +24 -0
  917. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts.map +1 -0
  918. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.js +37 -0
  919. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts +16 -0
  920. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts.map +1 -0
  921. package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.js +158 -0
  922. package/types/devvit/plugin/redis/redisapi.d.ts +3 -3
  923. package/types/devvit/plugin/redis/redisapi.js +4 -4
  924. package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts +126 -0
  925. package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts.map +1 -0
  926. package/types/devvit/plugin/redis/redisapi.twirp-client.js +445 -0
  927. package/types/devvit/plugin/redis/redisapi.twirp.d.ts +84 -0
  928. package/types/devvit/plugin/redis/redisapi.twirp.d.ts.map +1 -0
  929. package/types/devvit/plugin/redis/redisapi.twirp.js +2402 -0
  930. package/types/devvit/plugin/scheduler/scheduler.d.ts +4 -4
  931. package/types/devvit/plugin/scheduler/scheduler.js +6 -6
  932. package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts +26 -0
  933. package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts.map +1 -0
  934. package/types/devvit/plugin/scheduler/scheduler.twirp-client.js +48 -0
  935. package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts +17 -0
  936. package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts.map +1 -0
  937. package/types/devvit/plugin/scheduler/scheduler.twirp.js +223 -0
  938. package/types/devvit/plugin/settings/v1alpha/settings.d.ts +2 -2
  939. package/types/devvit/plugin/settings/v1alpha/settings.js +4 -4
  940. package/types/devvit/plugin/streambroker/streambroker.d.ts +2 -2
  941. package/types/devvit/plugin/streambroker/streambroker.js +3 -3
  942. package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts +23 -0
  943. package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts.map +1 -0
  944. package/types/devvit/plugin/streambroker/streambroker.twirp-client.js +36 -0
  945. package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts +15 -0
  946. package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts.map +1 -0
  947. package/types/devvit/plugin/streambroker/streambroker.twirp.js +157 -0
  948. package/types/devvit/plugin/timer/timer.d.ts +2 -2
  949. package/types/devvit/plugin/timer/timer.js +3 -3
  950. package/types/devvit/plugin/timer/timer.twirp-client.d.ts +20 -0
  951. package/types/devvit/plugin/timer/timer.twirp-client.d.ts.map +1 -0
  952. package/types/devvit/plugin/timer/timer.twirp-client.js +24 -0
  953. package/types/devvit/plugin/timer/timer.twirp.d.ts +13 -0
  954. package/types/devvit/plugin/timer/timer.twirp.d.ts.map +1 -0
  955. package/types/devvit/plugin/timer/timer.twirp.js +89 -0
  956. package/types/devvit/plugin/v2events/v2events.d.ts +1 -1
  957. package/types/devvit/plugin/v2events/v2events.js +2 -2
  958. package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts +19 -0
  959. package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts.map +1 -0
  960. package/types/devvit/plugin/v2events/v2events.twirp-client.js +23 -0
  961. package/types/devvit/plugin/v2events/v2events.twirp.d.ts +12 -0
  962. package/types/devvit/plugin/v2events/v2events.twirp.d.ts.map +1 -0
  963. package/types/devvit/plugin/v2events/v2events.twirp.js +88 -0
  964. package/types/devvit/reddit/comment.d.ts +2 -2
  965. package/types/devvit/reddit/comment.js +5 -5
  966. package/types/devvit/reddit/common.d.ts +1 -1
  967. package/types/devvit/reddit/common.js +3 -3
  968. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts +3 -3
  969. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.js +5 -5
  970. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts +22 -0
  971. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts.map +1 -0
  972. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.js +35 -0
  973. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts +14 -0
  974. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts.map +1 -0
  975. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.js +156 -0
  976. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -4
  977. package/types/devvit/reddit/custom_post/v1alpha/custom_post.js +6 -6
  978. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts +26 -0
  979. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts.map +1 -0
  980. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.js +48 -0
  981. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts +17 -0
  982. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts.map +1 -0
  983. package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.js +223 -0
  984. package/types/devvit/reddit/post.d.ts +2 -2
  985. package/types/devvit/reddit/post.js +5 -5
  986. package/types/devvit/reddit/subreddit.d.ts +2 -2
  987. package/types/devvit/reddit/subreddit.js +4 -4
  988. package/types/devvit/reddit/user.d.ts +2 -2
  989. package/types/devvit/reddit/user.js +4 -4
  990. package/types/devvit/reddit/v2alpha/commentv2.d.ts +1 -1
  991. package/types/devvit/reddit/v2alpha/commentv2.js +2 -2
  992. package/types/devvit/reddit/v2alpha/flair.d.ts +1 -1
  993. package/types/devvit/reddit/v2alpha/flair.js +2 -2
  994. package/types/devvit/reddit/v2alpha/modaction.d.ts +5 -5
  995. package/types/devvit/reddit/v2alpha/modaction.js +7 -7
  996. package/types/devvit/reddit/v2alpha/modmail.d.ts +3 -3
  997. package/types/devvit/reddit/v2alpha/modmail.js +5 -5
  998. package/types/devvit/reddit/v2alpha/postv2.d.ts +2 -2
  999. package/types/devvit/reddit/v2alpha/postv2.js +3 -3
  1000. package/types/devvit/reddit/v2alpha/subredditv2.d.ts +1 -1
  1001. package/types/devvit/reddit/v2alpha/subredditv2.js +2 -2
  1002. package/types/devvit/reddit/v2alpha/userv2.d.ts +2 -2
  1003. package/types/devvit/reddit/v2alpha/userv2.js +3 -3
  1004. package/types/devvit/remote_logger/remote_logger.d.ts +2 -2
  1005. package/types/devvit/remote_logger/remote_logger.js +4 -4
  1006. package/types/devvit/runtime/actor/bootstrap.d.ts +3 -3
  1007. package/types/devvit/runtime/actor/bootstrap.js +3 -3
  1008. package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts +23 -0
  1009. package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts.map +1 -0
  1010. package/types/devvit/runtime/actor/bootstrap.twirp-client.js +36 -0
  1011. package/types/devvit/runtime/actor/bootstrap.twirp.d.ts +15 -0
  1012. package/types/devvit/runtime/actor/bootstrap.twirp.d.ts.map +1 -0
  1013. package/types/devvit/runtime/actor/bootstrap.twirp.js +157 -0
  1014. package/types/devvit/runtime/actor/echo.d.ts +2 -2
  1015. package/types/devvit/runtime/actor/echo.js +2 -2
  1016. package/types/devvit/runtime/actor/echo.twirp-client.d.ts +19 -0
  1017. package/types/devvit/runtime/actor/echo.twirp-client.d.ts.map +1 -0
  1018. package/types/devvit/runtime/actor/echo.twirp-client.js +23 -0
  1019. package/types/devvit/runtime/actor/echo.twirp.d.ts +12 -0
  1020. package/types/devvit/runtime/actor/echo.twirp.d.ts.map +1 -0
  1021. package/types/devvit/runtime/actor/echo.twirp.js +88 -0
  1022. package/types/devvit/runtime/actor/runtime.d.ts +3 -3
  1023. package/types/devvit/runtime/actor/runtime.js +4 -4
  1024. package/types/devvit/runtime/actor/runtime.twirp-client.d.ts +24 -0
  1025. package/types/devvit/runtime/actor/runtime.twirp-client.d.ts.map +1 -0
  1026. package/types/devvit/runtime/actor/runtime.twirp-client.js +37 -0
  1027. package/types/devvit/runtime/actor/runtime.twirp.d.ts +16 -0
  1028. package/types/devvit/runtime/actor/runtime.twirp.d.ts.map +1 -0
  1029. package/types/devvit/runtime/actor/runtime.twirp.js +158 -0
  1030. package/types/devvit/runtime/actor/supervisor.d.ts +4 -4
  1031. package/types/devvit/runtime/actor/supervisor.js +5 -5
  1032. package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts +28 -0
  1033. package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts.map +1 -0
  1034. package/types/devvit/runtime/actor/supervisor.twirp-client.js +50 -0
  1035. package/types/devvit/runtime/actor/supervisor.twirp.d.ts +19 -0
  1036. package/types/devvit/runtime/actor/supervisor.twirp.d.ts.map +1 -0
  1037. package/types/devvit/runtime/actor/supervisor.twirp.js +225 -0
  1038. package/types/devvit/runtime/actor/v1alpha/health.d.ts +2 -2
  1039. package/types/devvit/runtime/actor/v1alpha/health.js +4 -4
  1040. package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts +20 -0
  1041. package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts.map +1 -0
  1042. package/types/devvit/runtime/actor/v1alpha/health.twirp-client.js +24 -0
  1043. package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts +13 -0
  1044. package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts.map +1 -0
  1045. package/types/devvit/runtime/actor/v1alpha/health.twirp.js +89 -0
  1046. package/types/devvit/runtime/bundle.d.ts +2 -2
  1047. package/types/devvit/runtime/bundle.js +5 -5
  1048. package/types/devvit/runtime/envelope.d.ts +2 -2
  1049. package/types/devvit/runtime/envelope.js +4 -4
  1050. package/types/devvit/runtime/runtime_common.d.ts +1 -1
  1051. package/types/devvit/runtime/runtime_common.js +3 -3
  1052. package/types/devvit/runtime/serializable.d.ts +1 -1
  1053. package/types/devvit/runtime/serializable.js +2 -2
  1054. package/types/devvit/service/bundle_service.d.ts +3 -3
  1055. package/types/devvit/service/bundle_service.js +4 -4
  1056. package/types/devvit/service/bundle_service.twirp-client.d.ts +24 -0
  1057. package/types/devvit/service/bundle_service.twirp-client.d.ts.map +1 -0
  1058. package/types/devvit/service/bundle_service.twirp-client.js +37 -0
  1059. package/types/devvit/service/bundle_service.twirp.d.ts +16 -0
  1060. package/types/devvit/service/bundle_service.twirp.d.ts.map +1 -0
  1061. package/types/devvit/service/bundle_service.twirp.js +158 -0
  1062. package/types/devvit/service/envelope_service.d.ts +3 -3
  1063. package/types/devvit/service/envelope_service.js +3 -3
  1064. package/types/devvit/service/envelope_service.twirp-client.d.ts +20 -0
  1065. package/types/devvit/service/envelope_service.twirp-client.d.ts.map +1 -0
  1066. package/types/devvit/service/envelope_service.twirp-client.js +24 -0
  1067. package/types/devvit/service/envelope_service.twirp.d.ts +13 -0
  1068. package/types/devvit/service/envelope_service.twirp.d.ts.map +1 -0
  1069. package/types/devvit/service/envelope_service.twirp.js +89 -0
  1070. package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.d.ts +4 -4
  1071. package/types/devvit/triggers/v1alpha/triggers.d.ts.map +1 -0
  1072. package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.js +6 -6
  1073. package/types/devvit/ui/block_kit/v1beta/attributes.d.ts +2 -2
  1074. package/types/devvit/ui/block_kit/v1beta/attributes.js +4 -4
  1075. package/types/devvit/ui/block_kit/v1beta/block.d.ts +3 -3
  1076. package/types/devvit/ui/block_kit/v1beta/block.js +5 -5
  1077. package/types/devvit/ui/block_kit/v1beta/rendering.d.ts +3 -3
  1078. package/types/devvit/ui/block_kit/v1beta/rendering.js +5 -5
  1079. package/types/devvit/ui/block_kit/v1beta/ui.d.ts +5 -5
  1080. package/types/devvit/ui/block_kit/v1beta/ui.js +7 -7
  1081. package/types/devvit/ui/common/v1alpha/common.d.ts +1 -1
  1082. package/types/devvit/ui/common/v1alpha/common.js +2 -2
  1083. package/types/devvit/ui/effects/v1alpha/create_order.d.ts +1 -1
  1084. package/types/devvit/ui/effects/v1alpha/create_order.js +2 -2
  1085. package/types/devvit/ui/effects/v1alpha/effect.d.ts +9 -9
  1086. package/types/devvit/ui/effects/v1alpha/effect.js +10 -10
  1087. package/types/devvit/ui/effects/v1alpha/interval.d.ts +2 -2
  1088. package/types/devvit/ui/effects/v1alpha/interval.js +4 -4
  1089. package/types/devvit/ui/effects/v1alpha/navigate_to_url.d.ts +1 -1
  1090. package/types/devvit/ui/effects/v1alpha/navigate_to_url.js +2 -2
  1091. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.d.ts +2 -2
  1092. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.js +3 -3
  1093. package/types/devvit/ui/effects/v1alpha/reload_part.d.ts +1 -1
  1094. package/types/devvit/ui/effects/v1alpha/reload_part.js +2 -2
  1095. package/types/devvit/ui/effects/v1alpha/rerender_ui.d.ts +1 -1
  1096. package/types/devvit/ui/effects/v1alpha/rerender_ui.js +2 -2
  1097. package/types/devvit/ui/effects/v1alpha/show_form.d.ts +3 -3
  1098. package/types/devvit/ui/effects/v1alpha/show_form.js +4 -4
  1099. package/types/devvit/ui/effects/v1alpha/show_toast.d.ts +2 -2
  1100. package/types/devvit/ui/effects/v1alpha/show_toast.js +3 -3
  1101. package/types/devvit/ui/events/v1alpha/event.d.ts +5 -5
  1102. package/types/devvit/ui/events/v1alpha/event.js +8 -8
  1103. package/types/devvit/ui/events/v1alpha/handle_ui.d.ts +3 -3
  1104. package/types/devvit/ui/events/v1alpha/handle_ui.js +5 -5
  1105. package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts +19 -0
  1106. package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts.map +1 -0
  1107. package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.js +23 -0
  1108. package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts +12 -0
  1109. package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts.map +1 -0
  1110. package/types/devvit/ui/events/v1alpha/handle_ui.twirp.js +88 -0
  1111. package/types/devvit/ui/form_builder/v1alpha/field.d.ts +3 -3
  1112. package/types/devvit/ui/form_builder/v1alpha/field.js +4 -4
  1113. package/types/devvit/ui/form_builder/v1alpha/form.d.ts +2 -2
  1114. package/types/devvit/ui/form_builder/v1alpha/form.js +3 -3
  1115. package/types/devvit/ui/form_builder/v1alpha/value.d.ts +2 -2
  1116. package/types/devvit/ui/form_builder/v1alpha/value.js +3 -3
  1117. package/types/devvit/ui/toast/toast.d.ts +1 -1
  1118. package/types/devvit/ui/toast/toast.js +2 -2
  1119. package/types/devvit/uuid.d.ts +1 -1
  1120. package/types/devvit/uuid.js +2 -2
  1121. package/types/google/protobuf/any.d.ts +5 -10
  1122. package/types/google/protobuf/any.d.ts.map +1 -1
  1123. package/types/google/protobuf/any.js +2 -2
  1124. package/types/google/protobuf/descriptor.d.ts +39 -435
  1125. package/types/google/protobuf/descriptor.d.ts.map +1 -1
  1126. package/types/google/protobuf/descriptor.js +101 -1605
  1127. package/types/google/protobuf/duration.d.ts +1 -1
  1128. package/types/google/protobuf/duration.js +2 -2
  1129. package/types/google/protobuf/empty.d.ts +1 -1
  1130. package/types/google/protobuf/empty.js +2 -2
  1131. package/types/google/protobuf/struct.d.ts +2 -2
  1132. package/types/google/protobuf/struct.js +3 -3
  1133. package/types/google/protobuf/timestamp.d.ts +2 -2
  1134. package/types/google/protobuf/timestamp.js +2 -2
  1135. package/types/google/protobuf/wrappers.d.ts +1 -1
  1136. package/types/google/protobuf/wrappers.js +2 -2
  1137. package/types/typeRegistry.d.ts +1 -1
  1138. package/schema/buf.strict.yaml +0 -7
  1139. package/schema/buf.yaml +0 -8
  1140. package/types/devvit/data/api/admin/v1alpha/audit.d.ts +0 -159
  1141. package/types/devvit/data/api/admin/v1alpha/audit.d.ts.map +0 -1
  1142. package/types/devvit/data/api/admin/v1alpha/audit.js +0 -776
  1143. package/types/devvit/data/api/admin/v1alpha/auth.d.ts +0 -127
  1144. package/types/devvit/data/api/admin/v1alpha/auth.d.ts.map +0 -1
  1145. package/types/devvit/data/api/admin/v1alpha/auth.js +0 -599
  1146. package/types/devvit/data/api/admin/v1alpha/organization.d.ts +0 -122
  1147. package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +0 -1
  1148. package/types/devvit/data/api/admin/v1alpha/organization.js +0 -522
  1149. package/types/devvit/data/api/admin/v1alpha/service.d.ts +0 -855
  1150. package/types/devvit/data/api/admin/v1alpha/service.d.ts.map +0 -1
  1151. package/types/devvit/data/api/admin/v1alpha/service.js +0 -254
  1152. package/types/devvit/data/api/admin/v1alpha/subscription.d.ts +0 -167
  1153. package/types/devvit/data/api/admin/v1alpha/subscription.d.ts.map +0 -1
  1154. package/types/devvit/data/api/admin/v1alpha/subscription.js +0 -885
  1155. package/types/devvit/data/api/admin/v1alpha/ui.d.ts +0 -52
  1156. package/types/devvit/data/api/admin/v1alpha/ui.d.ts.map +0 -1
  1157. package/types/devvit/data/api/admin/v1alpha/ui.js +0 -198
  1158. package/types/devvit/data/api/v1alpha/filter.d.ts +0 -160
  1159. package/types/devvit/data/api/v1alpha/filter.d.ts.map +0 -1
  1160. package/types/devvit/data/api/v1alpha/filter.js +0 -983
  1161. package/types/devvit/data/api/v1alpha/intake.d.ts +0 -85
  1162. package/types/devvit/data/api/v1alpha/intake.d.ts.map +0 -1
  1163. package/types/devvit/data/api/v1alpha/intake.js +0 -160
  1164. package/types/devvit/data/triggers/v1alpha/triggers.d.ts.map +0 -1
  1165. /package/schema/{buf → .snootobuf/deps/buf}/validate/expression.proto +0 -0
  1166. /package/schema/{buf → .snootobuf/deps/buf}/validate/priv/private.proto +0 -0
  1167. /package/schema/{buf → .snootobuf/deps/buf}/validate/validate.proto +0 -0
  1168. /package/schema/{google → .snootobuf/deps/google}/api/annotations.proto +0 -0
  1169. /package/schema/{openapi → .snootobuf/deps/openapi}/helper.proto +0 -0
@@ -0,0 +1,1882 @@
1
+ // @generated by protobuf-ts 2.9.3
2
+ // @generated from protobuf file "devvit/dev_portal/installation/installation.proto" (package "devvit.dev_portal.installation", 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 { AppInfo } from "../app/info/app_info";
14
+ import { AppVersionInfo } from "../app_version/info/app_version_info";
15
+ import { ThingType } from "../../reddit/thing_type";
16
+ import { Timestamp } from "../../../google/protobuf/timestamp";
17
+ import { BoolValue } from "../../../google/protobuf/wrappers";
18
+ import { Struct } from "../../../google/protobuf/struct";
19
+ import { InstallationType } from "../app_version/info/app_version_info";
20
+ import { StringValue } from "../../../google/protobuf/wrappers";
21
+ // endregion
22
+
23
+ /**
24
+ * @generated from protobuf message devvit.dev_portal.installation.OptionalUpgradeStrategy
25
+ */
26
+ export interface OptionalUpgradeStrategy {
27
+ /**
28
+ * @generated from protobuf field: devvit.dev_portal.installation.UpgradeStrategy value = 1;
29
+ */
30
+ value: UpgradeStrategy;
31
+ }
32
+ // region Request parameters
33
+
34
+ /**
35
+ * Used to install an app
36
+ *
37
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationCreationRequest
38
+ */
39
+ export interface InstallationCreationRequest {
40
+ /**
41
+ * What app version are you installing?
42
+ *
43
+ * @generated from protobuf field: string app_version_id = 1;
44
+ */
45
+ appVersionId: string;
46
+ /**
47
+ * Who should this app run as? If not present, will be run by the user installing the app.
48
+ *
49
+ * @generated from protobuf field: google.protobuf.StringValue run_as = 3;
50
+ */
51
+ runAs?: StringValue;
52
+ /**
53
+ * What type of install is this?
54
+ *
55
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 4;
56
+ */
57
+ type: InstallationType;
58
+ /**
59
+ * The subreddit or user to install on. For subreddits, this is either the
60
+ * subreddit name (**with** "r/" prefix) or its t5 ID. Eg, `r/beta` or
61
+ * `t5_15e`. For users, this is the username (**with** "u/" prefix) or the t2 ID.
62
+ *
63
+ * @generated from protobuf field: string location = 5;
64
+ */
65
+ location: string;
66
+ /**
67
+ * What is the installation's upgrade strategy?
68
+ *
69
+ * @generated from protobuf field: devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 6;
70
+ */
71
+ upgradeStrategy: UpgradeStrategy;
72
+ /**
73
+ * If applicable, what is the configuration for that upgrade strategy?
74
+ *
75
+ * @generated from protobuf field: google.protobuf.Struct upgrade_strategy_config = 7;
76
+ */
77
+ upgradeStrategyConfig?: Struct;
78
+ }
79
+ /**
80
+ * Used to update an existing installation's information.
81
+ * If a field is optional, omitting it will leave its value unchanged.
82
+ *
83
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationUpdateRequest
84
+ */
85
+ export interface InstallationUpdateRequest {
86
+ /**
87
+ * What is the ID of the installation you want to change?
88
+ *
89
+ * @generated from protobuf field: string id = 1;
90
+ */
91
+ id: string;
92
+ /**
93
+ * Who should this app run as? If not present, will be run by the user installing the app.
94
+ *
95
+ * @generated from protobuf field: google.protobuf.StringValue run_as = 3;
96
+ */
97
+ runAs?: StringValue;
98
+ // installed_by, install type, location, and version are not editable
99
+
100
+ /**
101
+ * What is the installation's upgrade strategy?
102
+ *
103
+ * @generated from protobuf field: devvit.dev_portal.installation.OptionalUpgradeStrategy upgrade_strategy = 4;
104
+ */
105
+ upgradeStrategy?: OptionalUpgradeStrategy;
106
+ /**
107
+ * If applicable, what is the configuration for that upgrade strategy?
108
+ *
109
+ * @generated from protobuf field: google.protobuf.Struct upgrade_strategy_config = 5;
110
+ */
111
+ upgradeStrategyConfig?: Struct;
112
+ /**
113
+ * * Disable this installation of the app?
114
+ *
115
+ * @generated from protobuf field: google.protobuf.BoolValue is_enabled = 6;
116
+ */
117
+ isEnabled?: BoolValue;
118
+ }
119
+ /**
120
+ * Used to upgrade an existing installation to a newer version.
121
+ *
122
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeRequest
123
+ */
124
+ export interface InstallationUpgradeRequest {
125
+ /**
126
+ * What is the ID of the installation you want to change?
127
+ *
128
+ * @generated from protobuf field: string id = 1;
129
+ */
130
+ id: string;
131
+ /**
132
+ * What version of the app are you upgrading to? (NOTE: This must be a version of
133
+ * the same app, and must be a later version than the one currently installed.)
134
+ * If not given, we will upgrade you to the latest non-prerelease version of the app.
135
+ *
136
+ * @generated from protobuf field: google.protobuf.StringValue app_version_id = 2;
137
+ */
138
+ appVersionId?: StringValue;
139
+ }
140
+ /**
141
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeManyRequest
142
+ */
143
+ export interface InstallationUpgradeManyRequest {
144
+ /**
145
+ * What are the IDs of the installations you want to change?
146
+ *
147
+ * @generated from protobuf field: repeated string ids = 1;
148
+ */
149
+ ids: string[];
150
+ /**
151
+ * What version of the app are you upgrading them all to? (NOTE: This must be a version
152
+ * of the same app, and must be a later version than the one currently installed.)
153
+ *
154
+ * @generated from protobuf field: string app_version_id = 2;
155
+ */
156
+ appVersionId: string;
157
+ }
158
+ /**
159
+ * @generated from protobuf message devvit.dev_portal.installation.GetByAppNameAndInstallLocationRequest
160
+ */
161
+ export interface GetByAppNameAndInstallLocationRequest {
162
+ /**
163
+ * What is the slug of the app you're looking for?
164
+ *
165
+ * @generated from protobuf field: string slug = 1;
166
+ */
167
+ slug: string;
168
+ /**
169
+ * What type of install are you looking for?
170
+ *
171
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 2;
172
+ */
173
+ type: InstallationType;
174
+ /**
175
+ * What is the install location?
176
+ *
177
+ * @generated from protobuf field: string location = 3;
178
+ */
179
+ location: string;
180
+ }
181
+ /**
182
+ * Used to get all installs in a given location
183
+ *
184
+ * @generated from protobuf message devvit.dev_portal.installation.GetAllWithInstallLocationRequest
185
+ */
186
+ export interface GetAllWithInstallLocationRequest {
187
+ /**
188
+ * What type of install are you looking for?
189
+ *
190
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 1;
191
+ */
192
+ type: InstallationType;
193
+ /**
194
+ * What is the install location?
195
+ *
196
+ * @generated from protobuf field: string location = 2;
197
+ */
198
+ location: string;
199
+ }
200
+ /**
201
+ * Used to get all installs made by a given user
202
+ *
203
+ * @generated from protobuf message devvit.dev_portal.installation.GetAllWithInstallerRequest
204
+ */
205
+ export interface GetAllWithInstallerRequest {
206
+ /**
207
+ * Whose installs are you looking for? (Can be a t2_ ID or a username, with or without `u/`)
208
+ *
209
+ * @generated from protobuf field: string installed_by = 1;
210
+ */
211
+ installedBy: string;
212
+ }
213
+ /**
214
+ * @generated from protobuf message devvit.dev_portal.installation.GetAllWithAppRequest
215
+ */
216
+ export interface GetAllWithAppRequest {
217
+ /**
218
+ * @generated from protobuf field: string id = 1;
219
+ */
220
+ id: string;
221
+ /**
222
+ * @generated from protobuf field: optional uint32 take = 2;
223
+ */
224
+ take?: number;
225
+ /**
226
+ * @generated from protobuf field: optional uint32 skip = 3;
227
+ */
228
+ skip?: number;
229
+ }
230
+ /**
231
+ * @generated from protobuf message devvit.dev_portal.installation.GetInstallationHistoryRequest
232
+ */
233
+ export interface GetInstallationHistoryRequest {
234
+ /**
235
+ * What type of install are you looking for?
236
+ *
237
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 1;
238
+ */
239
+ type: InstallationType;
240
+ /**
241
+ * What is the install location?
242
+ *
243
+ * @generated from protobuf field: string location = 2;
244
+ */
245
+ location: string;
246
+ /**
247
+ * What is the slug of the app you're looking for?
248
+ *
249
+ * @generated from protobuf field: string slug = 3;
250
+ */
251
+ slug: string;
252
+ /**
253
+ * Beginning of the time window. Leaving null implies searching from the beginning
254
+ *
255
+ * @generated from protobuf field: google.protobuf.Timestamp from = 4;
256
+ */
257
+ from?: Timestamp;
258
+ /**
259
+ * End of the time window. Leaving null implies searching until the end
260
+ *
261
+ * @generated from protobuf field: google.protobuf.Timestamp to = 5;
262
+ */
263
+ to?: Timestamp;
264
+ /**
265
+ * How many items to take?
266
+ *
267
+ * @generated from protobuf field: optional uint32 take = 6;
268
+ */
269
+ take?: number;
270
+ /**
271
+ * Order in desc order?
272
+ *
273
+ * @generated from protobuf field: optional bool desc = 7;
274
+ */
275
+ desc?: boolean;
276
+ }
277
+ // endregion
278
+
279
+ // region Response types
280
+
281
+ /**
282
+ * Contains the details of an installation. For field documentation, refer to the Prisma schema.
283
+ *
284
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationInfo
285
+ */
286
+ export interface InstallationInfo {
287
+ /**
288
+ * @generated from protobuf field: string id = 1;
289
+ */
290
+ id: string;
291
+ /**
292
+ * string installed_by = 2; // Removed; see DX-2225
293
+ *
294
+ * @generated from protobuf field: devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 3;
295
+ */
296
+ upgradeStrategy: UpgradeStrategy;
297
+ /**
298
+ * @generated from protobuf field: google.protobuf.Struct upgrade_strategy_config = 4;
299
+ */
300
+ upgradeStrategyConfig?: Struct;
301
+ /**
302
+ * @generated from protobuf field: google.protobuf.StringValue run_as = 6;
303
+ */
304
+ runAs?: StringValue;
305
+ /**
306
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 7;
307
+ */
308
+ type: InstallationType;
309
+ /**
310
+ * @generated from protobuf field: devvit.dev_portal.installation.InstallationLocationInfo location = 8;
311
+ */
312
+ location?: InstallationLocationInfo;
313
+ /**
314
+ * @generated from protobuf field: bool is_enabled = 9;
315
+ */
316
+ isEnabled: boolean;
317
+ }
318
+ /**
319
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationLocationInfo
320
+ */
321
+ export interface InstallationLocationInfo {
322
+ /**
323
+ * Thing ID; eg, `"t5_2qh0u"` for r/pics.
324
+ *
325
+ * @generated from protobuf field: string id = 1;
326
+ */
327
+ id: string;
328
+ /**
329
+ * Thing name; eg, `"pics"` for r/pics.
330
+ *
331
+ * @generated from protobuf field: string name = 2;
332
+ */
333
+ name: string;
334
+ /**
335
+ * Thing type; eg, `5`, the second character in `t5_2qh0u` for r/pics.
336
+ *
337
+ * @generated from protobuf field: devvit.reddit.ThingType type = 3;
338
+ */
339
+ type: ThingType;
340
+ /**
341
+ * @generated from protobuf field: google.protobuf.StringValue icon = 4;
342
+ */
343
+ icon?: StringValue;
344
+ /**
345
+ * @generated from protobuf field: bool is_nsfw = 5;
346
+ */
347
+ isNsfw: boolean;
348
+ /**
349
+ * True if subreddit is private and the user isn't a member, or is not visible to viewer for any other reason.
350
+ *
351
+ * @generated from protobuf field: bool is_unavailable = 6;
352
+ */
353
+ isUnavailable: boolean;
354
+ }
355
+ /**
356
+ * Contains details of an installation, as well as what version was installed.
357
+ *
358
+ * @generated from protobuf message devvit.dev_portal.installation.FullInstallationInfo
359
+ */
360
+ export interface FullInstallationInfo {
361
+ /**
362
+ * @generated from protobuf field: devvit.dev_portal.installation.InstallationInfo installation = 1;
363
+ */
364
+ installation?: InstallationInfo;
365
+ /**
366
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2;
367
+ */
368
+ appVersion?: AppVersionInfo;
369
+ /**
370
+ * @generated from protobuf field: devvit.dev_portal.app.info.AppInfo app = 3;
371
+ */
372
+ app?: AppInfo;
373
+ }
374
+ /**
375
+ * Contains multiple installations.
376
+ *
377
+ * @generated from protobuf message devvit.dev_portal.installation.MultipleInstallationsResponse
378
+ */
379
+ export interface MultipleInstallationsResponse {
380
+ /**
381
+ * @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationInfo installations = 1;
382
+ */
383
+ installations: InstallationInfo[];
384
+ }
385
+ /**
386
+ * Contains multiple installations and their app versions.
387
+ *
388
+ * @generated from protobuf message devvit.dev_portal.installation.GetAllWithAppResponse
389
+ */
390
+ export interface GetAllWithAppResponse {
391
+ /**
392
+ * @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationWithAppVersion installations = 1;
393
+ */
394
+ installations: InstallationWithAppVersion[];
395
+ }
396
+ /**
397
+ * An app installation with its matching app version info.
398
+ *
399
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationWithAppVersion
400
+ */
401
+ export interface InstallationWithAppVersion {
402
+ /**
403
+ * @generated from protobuf field: devvit.dev_portal.installation.InstallationInfo installation = 1;
404
+ */
405
+ installation?: InstallationInfo;
406
+ /**
407
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2;
408
+ */
409
+ appVersion?: AppVersionInfo;
410
+ }
411
+ /**
412
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse
413
+ */
414
+ export interface InstallationUpgradeManyResponse {
415
+ /**
416
+ * @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails details = 1;
417
+ */
418
+ details: InstallationUpgradeManyResponse_InstallationUpgradeDetails[];
419
+ }
420
+ /**
421
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails
422
+ */
423
+ export interface InstallationUpgradeManyResponse_InstallationUpgradeDetails {
424
+ /**
425
+ * @generated from protobuf field: string id = 1;
426
+ */
427
+ id: string;
428
+ /**
429
+ * @generated from protobuf field: bool success = 2;
430
+ */
431
+ success: boolean;
432
+ /**
433
+ * @generated from protobuf field: optional string error = 3;
434
+ */
435
+ error?: string;
436
+ }
437
+ /**
438
+ * Location details of an install including type of location, id, and name. (subreddit or user)
439
+ *
440
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationLocationDetails
441
+ */
442
+ export interface InstallationLocationDetails {
443
+ /**
444
+ * @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 1;
445
+ */
446
+ type: InstallationType;
447
+ /**
448
+ * The thing ID of the valid install location
449
+ *
450
+ * @generated from protobuf field: string thing_id = 2;
451
+ */
452
+ thingId: string;
453
+ /**
454
+ * The name of the valid install location
455
+ *
456
+ * @generated from protobuf field: string name = 3;
457
+ */
458
+ name: string;
459
+ }
460
+ /**
461
+ * @generated from protobuf message devvit.dev_portal.installation.InstallationHistoryEvent
462
+ */
463
+ export interface InstallationHistoryEvent {
464
+ /**
465
+ * Who triggered this event? t2_id of the user
466
+ *
467
+ * @generated from protobuf field: string user_id = 1;
468
+ */
469
+ userId: string;
470
+ /**
471
+ * What kind of event what it?
472
+ *
473
+ * @generated from protobuf field: devvit.dev_portal.installation.InstallationHistoryEventName name = 2;
474
+ */
475
+ name: InstallationHistoryEventName;
476
+ /**
477
+ * What are the details of the event?
478
+ *
479
+ * @generated from protobuf field: map<string, string> details = 3;
480
+ */
481
+ details: {
482
+ [key: string]: string;
483
+ };
484
+ /**
485
+ * When did this event occur?
486
+ *
487
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 4;
488
+ */
489
+ createdAt?: Timestamp;
490
+ }
491
+ /**
492
+ * @generated from protobuf message devvit.dev_portal.installation.GetInstallationHistoryResponse
493
+ */
494
+ export interface GetInstallationHistoryResponse {
495
+ /**
496
+ * The events that occurred during the window specified by the request query
497
+ *
498
+ * @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationHistoryEvent events = 1;
499
+ */
500
+ events: InstallationHistoryEvent[];
501
+ /**
502
+ * Total number of events associated with the installation
503
+ *
504
+ * @generated from protobuf field: uint32 total_events = 8;
505
+ */
506
+ totalEvents: number;
507
+ }
508
+ // region Enums
509
+
510
+ /**
511
+ * @generated from protobuf enum devvit.dev_portal.installation.UpgradeStrategy
512
+ */
513
+ export enum UpgradeStrategy {
514
+ /**
515
+ * @generated from protobuf enum value: MANUAL = 0;
516
+ */
517
+ MANUAL = 0,
518
+ /**
519
+ * @generated from protobuf enum value: AUTOMATIC = 1;
520
+ */
521
+ AUTOMATIC = 1
522
+ }
523
+ /**
524
+ * @generated from protobuf enum devvit.dev_portal.installation.InstallationHistoryEventName
525
+ */
526
+ export enum InstallationHistoryEventName {
527
+ /**
528
+ * @generated from protobuf enum value: INSTALLED = 0;
529
+ */
530
+ INSTALLED = 0,
531
+ /**
532
+ * @generated from protobuf enum value: UNINSTALLED = 1;
533
+ */
534
+ UNINSTALLED = 1,
535
+ /**
536
+ * @generated from protobuf enum value: UPGRADED = 2;
537
+ */
538
+ UPGRADED = 2,
539
+ /**
540
+ * @generated from protobuf enum value: UPDATED = 3;
541
+ */
542
+ UPDATED = 3,
543
+ /**
544
+ * @generated from protobuf enum value: BANNED = 4;
545
+ */
546
+ BANNED = 4,
547
+ /**
548
+ * @generated from protobuf enum value: UNBANNED = 5;
549
+ */
550
+ UNBANNED = 5
551
+ }
552
+ // @generated message type with reflection information, may provide speed optimized methods
553
+ class OptionalUpgradeStrategy$Type extends MessageType<OptionalUpgradeStrategy> {
554
+ constructor() {
555
+ super("devvit.dev_portal.installation.OptionalUpgradeStrategy", [
556
+ { no: 1, name: "value", kind: "enum", T: () => ["devvit.dev_portal.installation.UpgradeStrategy", UpgradeStrategy] }
557
+ ]);
558
+ }
559
+ create(value?: PartialMessage<OptionalUpgradeStrategy>): OptionalUpgradeStrategy {
560
+ const message = globalThis.Object.create((this.messagePrototype!));
561
+ message.value = 0;
562
+ if (value !== undefined)
563
+ reflectionMergePartial<OptionalUpgradeStrategy>(this, message, value);
564
+ return message;
565
+ }
566
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OptionalUpgradeStrategy): OptionalUpgradeStrategy {
567
+ let message = target ?? this.create(), end = reader.pos + length;
568
+ while (reader.pos < end) {
569
+ let [fieldNo, wireType] = reader.tag();
570
+ switch (fieldNo) {
571
+ case /* devvit.dev_portal.installation.UpgradeStrategy value */ 1:
572
+ message.value = reader.int32();
573
+ break;
574
+ default:
575
+ let u = options.readUnknownField;
576
+ if (u === "throw")
577
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
578
+ let d = reader.skip(wireType);
579
+ if (u !== false)
580
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
581
+ }
582
+ }
583
+ return message;
584
+ }
585
+ internalBinaryWrite(message: OptionalUpgradeStrategy, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
586
+ /* devvit.dev_portal.installation.UpgradeStrategy value = 1; */
587
+ if (message.value !== 0)
588
+ writer.tag(1, WireType.Varint).int32(message.value);
589
+ let u = options.writeUnknownFields;
590
+ if (u !== false)
591
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
592
+ return writer;
593
+ }
594
+ }
595
+ /**
596
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.OptionalUpgradeStrategy
597
+ */
598
+ export const OptionalUpgradeStrategy = new OptionalUpgradeStrategy$Type();
599
+ // @generated message type with reflection information, may provide speed optimized methods
600
+ class InstallationCreationRequest$Type extends MessageType<InstallationCreationRequest> {
601
+ constructor() {
602
+ super("devvit.dev_portal.installation.InstallationCreationRequest", [
603
+ { no: 1, name: "app_version_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
604
+ { no: 3, name: "run_as", kind: "message", T: () => StringValue },
605
+ { no: 4, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
606
+ { no: 5, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
607
+ { no: 6, name: "upgrade_strategy", kind: "enum", T: () => ["devvit.dev_portal.installation.UpgradeStrategy", UpgradeStrategy] },
608
+ { no: 7, name: "upgrade_strategy_config", kind: "message", T: () => Struct }
609
+ ]);
610
+ }
611
+ create(value?: PartialMessage<InstallationCreationRequest>): InstallationCreationRequest {
612
+ const message = globalThis.Object.create((this.messagePrototype!));
613
+ message.appVersionId = "";
614
+ message.type = 0;
615
+ message.location = "";
616
+ message.upgradeStrategy = 0;
617
+ if (value !== undefined)
618
+ reflectionMergePartial<InstallationCreationRequest>(this, message, value);
619
+ return message;
620
+ }
621
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationCreationRequest): InstallationCreationRequest {
622
+ let message = target ?? this.create(), end = reader.pos + length;
623
+ while (reader.pos < end) {
624
+ let [fieldNo, wireType] = reader.tag();
625
+ switch (fieldNo) {
626
+ case /* string app_version_id */ 1:
627
+ message.appVersionId = reader.string();
628
+ break;
629
+ case /* google.protobuf.StringValue run_as */ 3:
630
+ message.runAs = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.runAs);
631
+ break;
632
+ case /* devvit.dev_portal.app_version.info.InstallationType type */ 4:
633
+ message.type = reader.int32();
634
+ break;
635
+ case /* string location */ 5:
636
+ message.location = reader.string();
637
+ break;
638
+ case /* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy */ 6:
639
+ message.upgradeStrategy = reader.int32();
640
+ break;
641
+ case /* google.protobuf.Struct upgrade_strategy_config */ 7:
642
+ message.upgradeStrategyConfig = Struct.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategyConfig);
643
+ break;
644
+ default:
645
+ let u = options.readUnknownField;
646
+ if (u === "throw")
647
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
648
+ let d = reader.skip(wireType);
649
+ if (u !== false)
650
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
651
+ }
652
+ }
653
+ return message;
654
+ }
655
+ internalBinaryWrite(message: InstallationCreationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
656
+ /* string app_version_id = 1; */
657
+ if (message.appVersionId !== "")
658
+ writer.tag(1, WireType.LengthDelimited).string(message.appVersionId);
659
+ /* google.protobuf.StringValue run_as = 3; */
660
+ if (message.runAs)
661
+ StringValue.internalBinaryWrite(message.runAs, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
662
+ /* devvit.dev_portal.app_version.info.InstallationType type = 4; */
663
+ if (message.type !== 0)
664
+ writer.tag(4, WireType.Varint).int32(message.type);
665
+ /* string location = 5; */
666
+ if (message.location !== "")
667
+ writer.tag(5, WireType.LengthDelimited).string(message.location);
668
+ /* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 6; */
669
+ if (message.upgradeStrategy !== 0)
670
+ writer.tag(6, WireType.Varint).int32(message.upgradeStrategy);
671
+ /* google.protobuf.Struct upgrade_strategy_config = 7; */
672
+ if (message.upgradeStrategyConfig)
673
+ Struct.internalBinaryWrite(message.upgradeStrategyConfig, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
674
+ let u = options.writeUnknownFields;
675
+ if (u !== false)
676
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
677
+ return writer;
678
+ }
679
+ }
680
+ /**
681
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationCreationRequest
682
+ */
683
+ export const InstallationCreationRequest = new InstallationCreationRequest$Type();
684
+ // @generated message type with reflection information, may provide speed optimized methods
685
+ class InstallationUpdateRequest$Type extends MessageType<InstallationUpdateRequest> {
686
+ constructor() {
687
+ super("devvit.dev_portal.installation.InstallationUpdateRequest", [
688
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
689
+ { no: 3, name: "run_as", kind: "message", T: () => StringValue },
690
+ { no: 4, name: "upgrade_strategy", kind: "message", T: () => OptionalUpgradeStrategy },
691
+ { no: 5, name: "upgrade_strategy_config", kind: "message", T: () => Struct },
692
+ { no: 6, name: "is_enabled", kind: "message", T: () => BoolValue }
693
+ ]);
694
+ }
695
+ create(value?: PartialMessage<InstallationUpdateRequest>): InstallationUpdateRequest {
696
+ const message = globalThis.Object.create((this.messagePrototype!));
697
+ message.id = "";
698
+ if (value !== undefined)
699
+ reflectionMergePartial<InstallationUpdateRequest>(this, message, value);
700
+ return message;
701
+ }
702
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpdateRequest): InstallationUpdateRequest {
703
+ let message = target ?? this.create(), end = reader.pos + length;
704
+ while (reader.pos < end) {
705
+ let [fieldNo, wireType] = reader.tag();
706
+ switch (fieldNo) {
707
+ case /* string id */ 1:
708
+ message.id = reader.string();
709
+ break;
710
+ case /* google.protobuf.StringValue run_as */ 3:
711
+ message.runAs = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.runAs);
712
+ break;
713
+ case /* devvit.dev_portal.installation.OptionalUpgradeStrategy upgrade_strategy */ 4:
714
+ message.upgradeStrategy = OptionalUpgradeStrategy.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategy);
715
+ break;
716
+ case /* google.protobuf.Struct upgrade_strategy_config */ 5:
717
+ message.upgradeStrategyConfig = Struct.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategyConfig);
718
+ break;
719
+ case /* google.protobuf.BoolValue is_enabled */ 6:
720
+ message.isEnabled = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isEnabled);
721
+ break;
722
+ default:
723
+ let u = options.readUnknownField;
724
+ if (u === "throw")
725
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
726
+ let d = reader.skip(wireType);
727
+ if (u !== false)
728
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
729
+ }
730
+ }
731
+ return message;
732
+ }
733
+ internalBinaryWrite(message: InstallationUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
734
+ /* string id = 1; */
735
+ if (message.id !== "")
736
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
737
+ /* google.protobuf.StringValue run_as = 3; */
738
+ if (message.runAs)
739
+ StringValue.internalBinaryWrite(message.runAs, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
740
+ /* devvit.dev_portal.installation.OptionalUpgradeStrategy upgrade_strategy = 4; */
741
+ if (message.upgradeStrategy)
742
+ OptionalUpgradeStrategy.internalBinaryWrite(message.upgradeStrategy, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
743
+ /* google.protobuf.Struct upgrade_strategy_config = 5; */
744
+ if (message.upgradeStrategyConfig)
745
+ Struct.internalBinaryWrite(message.upgradeStrategyConfig, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
746
+ /* google.protobuf.BoolValue is_enabled = 6; */
747
+ if (message.isEnabled)
748
+ BoolValue.internalBinaryWrite(message.isEnabled, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
749
+ let u = options.writeUnknownFields;
750
+ if (u !== false)
751
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
752
+ return writer;
753
+ }
754
+ }
755
+ /**
756
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpdateRequest
757
+ */
758
+ export const InstallationUpdateRequest = new InstallationUpdateRequest$Type();
759
+ // @generated message type with reflection information, may provide speed optimized methods
760
+ class InstallationUpgradeRequest$Type extends MessageType<InstallationUpgradeRequest> {
761
+ constructor() {
762
+ super("devvit.dev_portal.installation.InstallationUpgradeRequest", [
763
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
764
+ { no: 2, name: "app_version_id", kind: "message", T: () => StringValue }
765
+ ]);
766
+ }
767
+ create(value?: PartialMessage<InstallationUpgradeRequest>): InstallationUpgradeRequest {
768
+ const message = globalThis.Object.create((this.messagePrototype!));
769
+ message.id = "";
770
+ if (value !== undefined)
771
+ reflectionMergePartial<InstallationUpgradeRequest>(this, message, value);
772
+ return message;
773
+ }
774
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeRequest): InstallationUpgradeRequest {
775
+ let message = target ?? this.create(), end = reader.pos + length;
776
+ while (reader.pos < end) {
777
+ let [fieldNo, wireType] = reader.tag();
778
+ switch (fieldNo) {
779
+ case /* string id */ 1:
780
+ message.id = reader.string();
781
+ break;
782
+ case /* google.protobuf.StringValue app_version_id */ 2:
783
+ message.appVersionId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.appVersionId);
784
+ break;
785
+ default:
786
+ let u = options.readUnknownField;
787
+ if (u === "throw")
788
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
789
+ let d = reader.skip(wireType);
790
+ if (u !== false)
791
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
792
+ }
793
+ }
794
+ return message;
795
+ }
796
+ internalBinaryWrite(message: InstallationUpgradeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
797
+ /* string id = 1; */
798
+ if (message.id !== "")
799
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
800
+ /* google.protobuf.StringValue app_version_id = 2; */
801
+ if (message.appVersionId)
802
+ StringValue.internalBinaryWrite(message.appVersionId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
803
+ let u = options.writeUnknownFields;
804
+ if (u !== false)
805
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
806
+ return writer;
807
+ }
808
+ }
809
+ /**
810
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeRequest
811
+ */
812
+ export const InstallationUpgradeRequest = new InstallationUpgradeRequest$Type();
813
+ // @generated message type with reflection information, may provide speed optimized methods
814
+ class InstallationUpgradeManyRequest$Type extends MessageType<InstallationUpgradeManyRequest> {
815
+ constructor() {
816
+ super("devvit.dev_portal.installation.InstallationUpgradeManyRequest", [
817
+ { no: 1, name: "ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
818
+ { no: 2, name: "app_version_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
819
+ ]);
820
+ }
821
+ create(value?: PartialMessage<InstallationUpgradeManyRequest>): InstallationUpgradeManyRequest {
822
+ const message = globalThis.Object.create((this.messagePrototype!));
823
+ message.ids = [];
824
+ message.appVersionId = "";
825
+ if (value !== undefined)
826
+ reflectionMergePartial<InstallationUpgradeManyRequest>(this, message, value);
827
+ return message;
828
+ }
829
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeManyRequest): InstallationUpgradeManyRequest {
830
+ let message = target ?? this.create(), end = reader.pos + length;
831
+ while (reader.pos < end) {
832
+ let [fieldNo, wireType] = reader.tag();
833
+ switch (fieldNo) {
834
+ case /* repeated string ids */ 1:
835
+ message.ids.push(reader.string());
836
+ break;
837
+ case /* string app_version_id */ 2:
838
+ message.appVersionId = reader.string();
839
+ break;
840
+ default:
841
+ let u = options.readUnknownField;
842
+ if (u === "throw")
843
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
844
+ let d = reader.skip(wireType);
845
+ if (u !== false)
846
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
847
+ }
848
+ }
849
+ return message;
850
+ }
851
+ internalBinaryWrite(message: InstallationUpgradeManyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
852
+ /* repeated string ids = 1; */
853
+ for (let i = 0; i < message.ids.length; i++)
854
+ writer.tag(1, WireType.LengthDelimited).string(message.ids[i]);
855
+ /* string app_version_id = 2; */
856
+ if (message.appVersionId !== "")
857
+ writer.tag(2, WireType.LengthDelimited).string(message.appVersionId);
858
+ let u = options.writeUnknownFields;
859
+ if (u !== false)
860
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
861
+ return writer;
862
+ }
863
+ }
864
+ /**
865
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeManyRequest
866
+ */
867
+ export const InstallationUpgradeManyRequest = new InstallationUpgradeManyRequest$Type();
868
+ // @generated message type with reflection information, may provide speed optimized methods
869
+ class GetByAppNameAndInstallLocationRequest$Type extends MessageType<GetByAppNameAndInstallLocationRequest> {
870
+ constructor() {
871
+ super("devvit.dev_portal.installation.GetByAppNameAndInstallLocationRequest", [
872
+ { no: 1, name: "slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
873
+ { no: 2, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
874
+ { no: 3, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
875
+ ]);
876
+ }
877
+ create(value?: PartialMessage<GetByAppNameAndInstallLocationRequest>): GetByAppNameAndInstallLocationRequest {
878
+ const message = globalThis.Object.create((this.messagePrototype!));
879
+ message.slug = "";
880
+ message.type = 0;
881
+ message.location = "";
882
+ if (value !== undefined)
883
+ reflectionMergePartial<GetByAppNameAndInstallLocationRequest>(this, message, value);
884
+ return message;
885
+ }
886
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetByAppNameAndInstallLocationRequest): GetByAppNameAndInstallLocationRequest {
887
+ let message = target ?? this.create(), end = reader.pos + length;
888
+ while (reader.pos < end) {
889
+ let [fieldNo, wireType] = reader.tag();
890
+ switch (fieldNo) {
891
+ case /* string slug */ 1:
892
+ message.slug = reader.string();
893
+ break;
894
+ case /* devvit.dev_portal.app_version.info.InstallationType type */ 2:
895
+ message.type = reader.int32();
896
+ break;
897
+ case /* string location */ 3:
898
+ message.location = reader.string();
899
+ break;
900
+ default:
901
+ let u = options.readUnknownField;
902
+ if (u === "throw")
903
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
904
+ let d = reader.skip(wireType);
905
+ if (u !== false)
906
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
907
+ }
908
+ }
909
+ return message;
910
+ }
911
+ internalBinaryWrite(message: GetByAppNameAndInstallLocationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
912
+ /* string slug = 1; */
913
+ if (message.slug !== "")
914
+ writer.tag(1, WireType.LengthDelimited).string(message.slug);
915
+ /* devvit.dev_portal.app_version.info.InstallationType type = 2; */
916
+ if (message.type !== 0)
917
+ writer.tag(2, WireType.Varint).int32(message.type);
918
+ /* string location = 3; */
919
+ if (message.location !== "")
920
+ writer.tag(3, WireType.LengthDelimited).string(message.location);
921
+ let u = options.writeUnknownFields;
922
+ if (u !== false)
923
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
924
+ return writer;
925
+ }
926
+ }
927
+ /**
928
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.GetByAppNameAndInstallLocationRequest
929
+ */
930
+ export const GetByAppNameAndInstallLocationRequest = new GetByAppNameAndInstallLocationRequest$Type();
931
+ // @generated message type with reflection information, may provide speed optimized methods
932
+ class GetAllWithInstallLocationRequest$Type extends MessageType<GetAllWithInstallLocationRequest> {
933
+ constructor() {
934
+ super("devvit.dev_portal.installation.GetAllWithInstallLocationRequest", [
935
+ { no: 1, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
936
+ { no: 2, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
937
+ ]);
938
+ }
939
+ create(value?: PartialMessage<GetAllWithInstallLocationRequest>): GetAllWithInstallLocationRequest {
940
+ const message = globalThis.Object.create((this.messagePrototype!));
941
+ message.type = 0;
942
+ message.location = "";
943
+ if (value !== undefined)
944
+ reflectionMergePartial<GetAllWithInstallLocationRequest>(this, message, value);
945
+ return message;
946
+ }
947
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithInstallLocationRequest): GetAllWithInstallLocationRequest {
948
+ let message = target ?? this.create(), end = reader.pos + length;
949
+ while (reader.pos < end) {
950
+ let [fieldNo, wireType] = reader.tag();
951
+ switch (fieldNo) {
952
+ case /* devvit.dev_portal.app_version.info.InstallationType type */ 1:
953
+ message.type = reader.int32();
954
+ break;
955
+ case /* string location */ 2:
956
+ message.location = reader.string();
957
+ break;
958
+ default:
959
+ let u = options.readUnknownField;
960
+ if (u === "throw")
961
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
962
+ let d = reader.skip(wireType);
963
+ if (u !== false)
964
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
965
+ }
966
+ }
967
+ return message;
968
+ }
969
+ internalBinaryWrite(message: GetAllWithInstallLocationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
970
+ /* devvit.dev_portal.app_version.info.InstallationType type = 1; */
971
+ if (message.type !== 0)
972
+ writer.tag(1, WireType.Varint).int32(message.type);
973
+ /* string location = 2; */
974
+ if (message.location !== "")
975
+ writer.tag(2, WireType.LengthDelimited).string(message.location);
976
+ let u = options.writeUnknownFields;
977
+ if (u !== false)
978
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
979
+ return writer;
980
+ }
981
+ }
982
+ /**
983
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithInstallLocationRequest
984
+ */
985
+ export const GetAllWithInstallLocationRequest = new GetAllWithInstallLocationRequest$Type();
986
+ // @generated message type with reflection information, may provide speed optimized methods
987
+ class GetAllWithInstallerRequest$Type extends MessageType<GetAllWithInstallerRequest> {
988
+ constructor() {
989
+ super("devvit.dev_portal.installation.GetAllWithInstallerRequest", [
990
+ { no: 1, name: "installed_by", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
991
+ ]);
992
+ }
993
+ create(value?: PartialMessage<GetAllWithInstallerRequest>): GetAllWithInstallerRequest {
994
+ const message = globalThis.Object.create((this.messagePrototype!));
995
+ message.installedBy = "";
996
+ if (value !== undefined)
997
+ reflectionMergePartial<GetAllWithInstallerRequest>(this, message, value);
998
+ return message;
999
+ }
1000
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithInstallerRequest): GetAllWithInstallerRequest {
1001
+ let message = target ?? this.create(), end = reader.pos + length;
1002
+ while (reader.pos < end) {
1003
+ let [fieldNo, wireType] = reader.tag();
1004
+ switch (fieldNo) {
1005
+ case /* string installed_by */ 1:
1006
+ message.installedBy = reader.string();
1007
+ break;
1008
+ default:
1009
+ let u = options.readUnknownField;
1010
+ if (u === "throw")
1011
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1012
+ let d = reader.skip(wireType);
1013
+ if (u !== false)
1014
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1015
+ }
1016
+ }
1017
+ return message;
1018
+ }
1019
+ internalBinaryWrite(message: GetAllWithInstallerRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1020
+ /* string installed_by = 1; */
1021
+ if (message.installedBy !== "")
1022
+ writer.tag(1, WireType.LengthDelimited).string(message.installedBy);
1023
+ let u = options.writeUnknownFields;
1024
+ if (u !== false)
1025
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1026
+ return writer;
1027
+ }
1028
+ }
1029
+ /**
1030
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithInstallerRequest
1031
+ */
1032
+ export const GetAllWithInstallerRequest = new GetAllWithInstallerRequest$Type();
1033
+ // @generated message type with reflection information, may provide speed optimized methods
1034
+ class GetAllWithAppRequest$Type extends MessageType<GetAllWithAppRequest> {
1035
+ constructor() {
1036
+ super("devvit.dev_portal.installation.GetAllWithAppRequest", [
1037
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1038
+ { no: 2, name: "take", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
1039
+ { no: 3, name: "skip", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ }
1040
+ ]);
1041
+ }
1042
+ create(value?: PartialMessage<GetAllWithAppRequest>): GetAllWithAppRequest {
1043
+ const message = globalThis.Object.create((this.messagePrototype!));
1044
+ message.id = "";
1045
+ if (value !== undefined)
1046
+ reflectionMergePartial<GetAllWithAppRequest>(this, message, value);
1047
+ return message;
1048
+ }
1049
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithAppRequest): GetAllWithAppRequest {
1050
+ let message = target ?? this.create(), end = reader.pos + length;
1051
+ while (reader.pos < end) {
1052
+ let [fieldNo, wireType] = reader.tag();
1053
+ switch (fieldNo) {
1054
+ case /* string id */ 1:
1055
+ message.id = reader.string();
1056
+ break;
1057
+ case /* optional uint32 take */ 2:
1058
+ message.take = reader.uint32();
1059
+ break;
1060
+ case /* optional uint32 skip */ 3:
1061
+ message.skip = reader.uint32();
1062
+ break;
1063
+ default:
1064
+ let u = options.readUnknownField;
1065
+ if (u === "throw")
1066
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1067
+ let d = reader.skip(wireType);
1068
+ if (u !== false)
1069
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1070
+ }
1071
+ }
1072
+ return message;
1073
+ }
1074
+ internalBinaryWrite(message: GetAllWithAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1075
+ /* string id = 1; */
1076
+ if (message.id !== "")
1077
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1078
+ /* optional uint32 take = 2; */
1079
+ if (message.take !== undefined)
1080
+ writer.tag(2, WireType.Varint).uint32(message.take);
1081
+ /* optional uint32 skip = 3; */
1082
+ if (message.skip !== undefined)
1083
+ writer.tag(3, WireType.Varint).uint32(message.skip);
1084
+ let u = options.writeUnknownFields;
1085
+ if (u !== false)
1086
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1087
+ return writer;
1088
+ }
1089
+ }
1090
+ /**
1091
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithAppRequest
1092
+ */
1093
+ export const GetAllWithAppRequest = new GetAllWithAppRequest$Type();
1094
+ // @generated message type with reflection information, may provide speed optimized methods
1095
+ class GetInstallationHistoryRequest$Type extends MessageType<GetInstallationHistoryRequest> {
1096
+ constructor() {
1097
+ super("devvit.dev_portal.installation.GetInstallationHistoryRequest", [
1098
+ { no: 1, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
1099
+ { no: 2, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1100
+ { no: 3, name: "slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1101
+ { no: 4, name: "from", kind: "message", T: () => Timestamp },
1102
+ { no: 5, name: "to", kind: "message", T: () => Timestamp },
1103
+ { no: 6, name: "take", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
1104
+ { no: 7, name: "desc", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
1105
+ ]);
1106
+ }
1107
+ create(value?: PartialMessage<GetInstallationHistoryRequest>): GetInstallationHistoryRequest {
1108
+ const message = globalThis.Object.create((this.messagePrototype!));
1109
+ message.type = 0;
1110
+ message.location = "";
1111
+ message.slug = "";
1112
+ if (value !== undefined)
1113
+ reflectionMergePartial<GetInstallationHistoryRequest>(this, message, value);
1114
+ return message;
1115
+ }
1116
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetInstallationHistoryRequest): GetInstallationHistoryRequest {
1117
+ let message = target ?? this.create(), end = reader.pos + length;
1118
+ while (reader.pos < end) {
1119
+ let [fieldNo, wireType] = reader.tag();
1120
+ switch (fieldNo) {
1121
+ case /* devvit.dev_portal.app_version.info.InstallationType type */ 1:
1122
+ message.type = reader.int32();
1123
+ break;
1124
+ case /* string location */ 2:
1125
+ message.location = reader.string();
1126
+ break;
1127
+ case /* string slug */ 3:
1128
+ message.slug = reader.string();
1129
+ break;
1130
+ case /* google.protobuf.Timestamp from */ 4:
1131
+ message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);
1132
+ break;
1133
+ case /* google.protobuf.Timestamp to */ 5:
1134
+ message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);
1135
+ break;
1136
+ case /* optional uint32 take */ 6:
1137
+ message.take = reader.uint32();
1138
+ break;
1139
+ case /* optional bool desc */ 7:
1140
+ message.desc = reader.bool();
1141
+ break;
1142
+ default:
1143
+ let u = options.readUnknownField;
1144
+ if (u === "throw")
1145
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1146
+ let d = reader.skip(wireType);
1147
+ if (u !== false)
1148
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1149
+ }
1150
+ }
1151
+ return message;
1152
+ }
1153
+ internalBinaryWrite(message: GetInstallationHistoryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1154
+ /* devvit.dev_portal.app_version.info.InstallationType type = 1; */
1155
+ if (message.type !== 0)
1156
+ writer.tag(1, WireType.Varint).int32(message.type);
1157
+ /* string location = 2; */
1158
+ if (message.location !== "")
1159
+ writer.tag(2, WireType.LengthDelimited).string(message.location);
1160
+ /* string slug = 3; */
1161
+ if (message.slug !== "")
1162
+ writer.tag(3, WireType.LengthDelimited).string(message.slug);
1163
+ /* google.protobuf.Timestamp from = 4; */
1164
+ if (message.from)
1165
+ Timestamp.internalBinaryWrite(message.from, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
1166
+ /* google.protobuf.Timestamp to = 5; */
1167
+ if (message.to)
1168
+ Timestamp.internalBinaryWrite(message.to, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
1169
+ /* optional uint32 take = 6; */
1170
+ if (message.take !== undefined)
1171
+ writer.tag(6, WireType.Varint).uint32(message.take);
1172
+ /* optional bool desc = 7; */
1173
+ if (message.desc !== undefined)
1174
+ writer.tag(7, WireType.Varint).bool(message.desc);
1175
+ let u = options.writeUnknownFields;
1176
+ if (u !== false)
1177
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1178
+ return writer;
1179
+ }
1180
+ }
1181
+ /**
1182
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.GetInstallationHistoryRequest
1183
+ */
1184
+ export const GetInstallationHistoryRequest = new GetInstallationHistoryRequest$Type();
1185
+ // @generated message type with reflection information, may provide speed optimized methods
1186
+ class InstallationInfo$Type extends MessageType<InstallationInfo> {
1187
+ constructor() {
1188
+ super("devvit.dev_portal.installation.InstallationInfo", [
1189
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1190
+ { no: 3, name: "upgrade_strategy", kind: "enum", T: () => ["devvit.dev_portal.installation.UpgradeStrategy", UpgradeStrategy] },
1191
+ { no: 4, name: "upgrade_strategy_config", kind: "message", T: () => Struct },
1192
+ { no: 6, name: "run_as", kind: "message", T: () => StringValue },
1193
+ { no: 7, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
1194
+ { no: 8, name: "location", kind: "message", T: () => InstallationLocationInfo },
1195
+ { no: 9, name: "is_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1196
+ ]);
1197
+ }
1198
+ create(value?: PartialMessage<InstallationInfo>): InstallationInfo {
1199
+ const message = globalThis.Object.create((this.messagePrototype!));
1200
+ message.id = "";
1201
+ message.upgradeStrategy = 0;
1202
+ message.type = 0;
1203
+ message.isEnabled = false;
1204
+ if (value !== undefined)
1205
+ reflectionMergePartial<InstallationInfo>(this, message, value);
1206
+ return message;
1207
+ }
1208
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationInfo): InstallationInfo {
1209
+ let message = target ?? this.create(), end = reader.pos + length;
1210
+ while (reader.pos < end) {
1211
+ let [fieldNo, wireType] = reader.tag();
1212
+ switch (fieldNo) {
1213
+ case /* string id */ 1:
1214
+ message.id = reader.string();
1215
+ break;
1216
+ case /* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy */ 3:
1217
+ message.upgradeStrategy = reader.int32();
1218
+ break;
1219
+ case /* google.protobuf.Struct upgrade_strategy_config */ 4:
1220
+ message.upgradeStrategyConfig = Struct.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategyConfig);
1221
+ break;
1222
+ case /* google.protobuf.StringValue run_as */ 6:
1223
+ message.runAs = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.runAs);
1224
+ break;
1225
+ case /* devvit.dev_portal.app_version.info.InstallationType type */ 7:
1226
+ message.type = reader.int32();
1227
+ break;
1228
+ case /* devvit.dev_portal.installation.InstallationLocationInfo location */ 8:
1229
+ message.location = InstallationLocationInfo.internalBinaryRead(reader, reader.uint32(), options, message.location);
1230
+ break;
1231
+ case /* bool is_enabled */ 9:
1232
+ message.isEnabled = reader.bool();
1233
+ break;
1234
+ default:
1235
+ let u = options.readUnknownField;
1236
+ if (u === "throw")
1237
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1238
+ let d = reader.skip(wireType);
1239
+ if (u !== false)
1240
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1241
+ }
1242
+ }
1243
+ return message;
1244
+ }
1245
+ internalBinaryWrite(message: InstallationInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1246
+ /* string id = 1; */
1247
+ if (message.id !== "")
1248
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1249
+ /* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 3; */
1250
+ if (message.upgradeStrategy !== 0)
1251
+ writer.tag(3, WireType.Varint).int32(message.upgradeStrategy);
1252
+ /* google.protobuf.Struct upgrade_strategy_config = 4; */
1253
+ if (message.upgradeStrategyConfig)
1254
+ Struct.internalBinaryWrite(message.upgradeStrategyConfig, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
1255
+ /* google.protobuf.StringValue run_as = 6; */
1256
+ if (message.runAs)
1257
+ StringValue.internalBinaryWrite(message.runAs, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
1258
+ /* devvit.dev_portal.app_version.info.InstallationType type = 7; */
1259
+ if (message.type !== 0)
1260
+ writer.tag(7, WireType.Varint).int32(message.type);
1261
+ /* devvit.dev_portal.installation.InstallationLocationInfo location = 8; */
1262
+ if (message.location)
1263
+ InstallationLocationInfo.internalBinaryWrite(message.location, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
1264
+ /* bool is_enabled = 9; */
1265
+ if (message.isEnabled !== false)
1266
+ writer.tag(9, WireType.Varint).bool(message.isEnabled);
1267
+ let u = options.writeUnknownFields;
1268
+ if (u !== false)
1269
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1270
+ return writer;
1271
+ }
1272
+ }
1273
+ /**
1274
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationInfo
1275
+ */
1276
+ export const InstallationInfo = new InstallationInfo$Type();
1277
+ // @generated message type with reflection information, may provide speed optimized methods
1278
+ class InstallationLocationInfo$Type extends MessageType<InstallationLocationInfo> {
1279
+ constructor() {
1280
+ super("devvit.dev_portal.installation.InstallationLocationInfo", [
1281
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1282
+ { no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1283
+ { no: 3, name: "type", kind: "enum", T: () => ["devvit.reddit.ThingType", ThingType] },
1284
+ { no: 4, name: "icon", kind: "message", T: () => StringValue },
1285
+ { no: 5, name: "is_nsfw", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1286
+ { no: 6, name: "is_unavailable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1287
+ ]);
1288
+ }
1289
+ create(value?: PartialMessage<InstallationLocationInfo>): InstallationLocationInfo {
1290
+ const message = globalThis.Object.create((this.messagePrototype!));
1291
+ message.id = "";
1292
+ message.name = "";
1293
+ message.type = 0;
1294
+ message.isNsfw = false;
1295
+ message.isUnavailable = false;
1296
+ if (value !== undefined)
1297
+ reflectionMergePartial<InstallationLocationInfo>(this, message, value);
1298
+ return message;
1299
+ }
1300
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationLocationInfo): InstallationLocationInfo {
1301
+ let message = target ?? this.create(), end = reader.pos + length;
1302
+ while (reader.pos < end) {
1303
+ let [fieldNo, wireType] = reader.tag();
1304
+ switch (fieldNo) {
1305
+ case /* string id */ 1:
1306
+ message.id = reader.string();
1307
+ break;
1308
+ case /* string name */ 2:
1309
+ message.name = reader.string();
1310
+ break;
1311
+ case /* devvit.reddit.ThingType type */ 3:
1312
+ message.type = reader.int32();
1313
+ break;
1314
+ case /* google.protobuf.StringValue icon */ 4:
1315
+ message.icon = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.icon);
1316
+ break;
1317
+ case /* bool is_nsfw */ 5:
1318
+ message.isNsfw = reader.bool();
1319
+ break;
1320
+ case /* bool is_unavailable */ 6:
1321
+ message.isUnavailable = reader.bool();
1322
+ break;
1323
+ default:
1324
+ let u = options.readUnknownField;
1325
+ if (u === "throw")
1326
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1327
+ let d = reader.skip(wireType);
1328
+ if (u !== false)
1329
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1330
+ }
1331
+ }
1332
+ return message;
1333
+ }
1334
+ internalBinaryWrite(message: InstallationLocationInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1335
+ /* string id = 1; */
1336
+ if (message.id !== "")
1337
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1338
+ /* string name = 2; */
1339
+ if (message.name !== "")
1340
+ writer.tag(2, WireType.LengthDelimited).string(message.name);
1341
+ /* devvit.reddit.ThingType type = 3; */
1342
+ if (message.type !== 0)
1343
+ writer.tag(3, WireType.Varint).int32(message.type);
1344
+ /* google.protobuf.StringValue icon = 4; */
1345
+ if (message.icon)
1346
+ StringValue.internalBinaryWrite(message.icon, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
1347
+ /* bool is_nsfw = 5; */
1348
+ if (message.isNsfw !== false)
1349
+ writer.tag(5, WireType.Varint).bool(message.isNsfw);
1350
+ /* bool is_unavailable = 6; */
1351
+ if (message.isUnavailable !== false)
1352
+ writer.tag(6, WireType.Varint).bool(message.isUnavailable);
1353
+ let u = options.writeUnknownFields;
1354
+ if (u !== false)
1355
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1356
+ return writer;
1357
+ }
1358
+ }
1359
+ /**
1360
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationLocationInfo
1361
+ */
1362
+ export const InstallationLocationInfo = new InstallationLocationInfo$Type();
1363
+ // @generated message type with reflection information, may provide speed optimized methods
1364
+ class FullInstallationInfo$Type extends MessageType<FullInstallationInfo> {
1365
+ constructor() {
1366
+ super("devvit.dev_portal.installation.FullInstallationInfo", [
1367
+ { no: 1, name: "installation", kind: "message", T: () => InstallationInfo },
1368
+ { no: 2, name: "app_version", kind: "message", T: () => AppVersionInfo },
1369
+ { no: 3, name: "app", kind: "message", T: () => AppInfo }
1370
+ ]);
1371
+ }
1372
+ create(value?: PartialMessage<FullInstallationInfo>): FullInstallationInfo {
1373
+ const message = globalThis.Object.create((this.messagePrototype!));
1374
+ if (value !== undefined)
1375
+ reflectionMergePartial<FullInstallationInfo>(this, message, value);
1376
+ return message;
1377
+ }
1378
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FullInstallationInfo): FullInstallationInfo {
1379
+ let message = target ?? this.create(), end = reader.pos + length;
1380
+ while (reader.pos < end) {
1381
+ let [fieldNo, wireType] = reader.tag();
1382
+ switch (fieldNo) {
1383
+ case /* devvit.dev_portal.installation.InstallationInfo installation */ 1:
1384
+ message.installation = InstallationInfo.internalBinaryRead(reader, reader.uint32(), options, message.installation);
1385
+ break;
1386
+ case /* devvit.dev_portal.app_version.info.AppVersionInfo app_version */ 2:
1387
+ message.appVersion = AppVersionInfo.internalBinaryRead(reader, reader.uint32(), options, message.appVersion);
1388
+ break;
1389
+ case /* devvit.dev_portal.app.info.AppInfo app */ 3:
1390
+ message.app = AppInfo.internalBinaryRead(reader, reader.uint32(), options, message.app);
1391
+ break;
1392
+ default:
1393
+ let u = options.readUnknownField;
1394
+ if (u === "throw")
1395
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1396
+ let d = reader.skip(wireType);
1397
+ if (u !== false)
1398
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1399
+ }
1400
+ }
1401
+ return message;
1402
+ }
1403
+ internalBinaryWrite(message: FullInstallationInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1404
+ /* devvit.dev_portal.installation.InstallationInfo installation = 1; */
1405
+ if (message.installation)
1406
+ InstallationInfo.internalBinaryWrite(message.installation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1407
+ /* devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2; */
1408
+ if (message.appVersion)
1409
+ AppVersionInfo.internalBinaryWrite(message.appVersion, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1410
+ /* devvit.dev_portal.app.info.AppInfo app = 3; */
1411
+ if (message.app)
1412
+ AppInfo.internalBinaryWrite(message.app, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1413
+ let u = options.writeUnknownFields;
1414
+ if (u !== false)
1415
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1416
+ return writer;
1417
+ }
1418
+ }
1419
+ /**
1420
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.FullInstallationInfo
1421
+ */
1422
+ export const FullInstallationInfo = new FullInstallationInfo$Type();
1423
+ // @generated message type with reflection information, may provide speed optimized methods
1424
+ class MultipleInstallationsResponse$Type extends MessageType<MultipleInstallationsResponse> {
1425
+ constructor() {
1426
+ super("devvit.dev_portal.installation.MultipleInstallationsResponse", [
1427
+ { no: 1, name: "installations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationInfo }
1428
+ ]);
1429
+ }
1430
+ create(value?: PartialMessage<MultipleInstallationsResponse>): MultipleInstallationsResponse {
1431
+ const message = globalThis.Object.create((this.messagePrototype!));
1432
+ message.installations = [];
1433
+ if (value !== undefined)
1434
+ reflectionMergePartial<MultipleInstallationsResponse>(this, message, value);
1435
+ return message;
1436
+ }
1437
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MultipleInstallationsResponse): MultipleInstallationsResponse {
1438
+ let message = target ?? this.create(), end = reader.pos + length;
1439
+ while (reader.pos < end) {
1440
+ let [fieldNo, wireType] = reader.tag();
1441
+ switch (fieldNo) {
1442
+ case /* repeated devvit.dev_portal.installation.InstallationInfo installations */ 1:
1443
+ message.installations.push(InstallationInfo.internalBinaryRead(reader, reader.uint32(), options));
1444
+ break;
1445
+ default:
1446
+ let u = options.readUnknownField;
1447
+ if (u === "throw")
1448
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1449
+ let d = reader.skip(wireType);
1450
+ if (u !== false)
1451
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1452
+ }
1453
+ }
1454
+ return message;
1455
+ }
1456
+ internalBinaryWrite(message: MultipleInstallationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1457
+ /* repeated devvit.dev_portal.installation.InstallationInfo installations = 1; */
1458
+ for (let i = 0; i < message.installations.length; i++)
1459
+ InstallationInfo.internalBinaryWrite(message.installations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1460
+ let u = options.writeUnknownFields;
1461
+ if (u !== false)
1462
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1463
+ return writer;
1464
+ }
1465
+ }
1466
+ /**
1467
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.MultipleInstallationsResponse
1468
+ */
1469
+ export const MultipleInstallationsResponse = new MultipleInstallationsResponse$Type();
1470
+ // @generated message type with reflection information, may provide speed optimized methods
1471
+ class GetAllWithAppResponse$Type extends MessageType<GetAllWithAppResponse> {
1472
+ constructor() {
1473
+ super("devvit.dev_portal.installation.GetAllWithAppResponse", [
1474
+ { no: 1, name: "installations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationWithAppVersion }
1475
+ ]);
1476
+ }
1477
+ create(value?: PartialMessage<GetAllWithAppResponse>): GetAllWithAppResponse {
1478
+ const message = globalThis.Object.create((this.messagePrototype!));
1479
+ message.installations = [];
1480
+ if (value !== undefined)
1481
+ reflectionMergePartial<GetAllWithAppResponse>(this, message, value);
1482
+ return message;
1483
+ }
1484
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithAppResponse): GetAllWithAppResponse {
1485
+ let message = target ?? this.create(), end = reader.pos + length;
1486
+ while (reader.pos < end) {
1487
+ let [fieldNo, wireType] = reader.tag();
1488
+ switch (fieldNo) {
1489
+ case /* repeated devvit.dev_portal.installation.InstallationWithAppVersion installations */ 1:
1490
+ message.installations.push(InstallationWithAppVersion.internalBinaryRead(reader, reader.uint32(), options));
1491
+ break;
1492
+ default:
1493
+ let u = options.readUnknownField;
1494
+ if (u === "throw")
1495
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1496
+ let d = reader.skip(wireType);
1497
+ if (u !== false)
1498
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1499
+ }
1500
+ }
1501
+ return message;
1502
+ }
1503
+ internalBinaryWrite(message: GetAllWithAppResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1504
+ /* repeated devvit.dev_portal.installation.InstallationWithAppVersion installations = 1; */
1505
+ for (let i = 0; i < message.installations.length; i++)
1506
+ InstallationWithAppVersion.internalBinaryWrite(message.installations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1507
+ let u = options.writeUnknownFields;
1508
+ if (u !== false)
1509
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1510
+ return writer;
1511
+ }
1512
+ }
1513
+ /**
1514
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithAppResponse
1515
+ */
1516
+ export const GetAllWithAppResponse = new GetAllWithAppResponse$Type();
1517
+ // @generated message type with reflection information, may provide speed optimized methods
1518
+ class InstallationWithAppVersion$Type extends MessageType<InstallationWithAppVersion> {
1519
+ constructor() {
1520
+ super("devvit.dev_portal.installation.InstallationWithAppVersion", [
1521
+ { no: 1, name: "installation", kind: "message", T: () => InstallationInfo },
1522
+ { no: 2, name: "app_version", kind: "message", T: () => AppVersionInfo }
1523
+ ]);
1524
+ }
1525
+ create(value?: PartialMessage<InstallationWithAppVersion>): InstallationWithAppVersion {
1526
+ const message = globalThis.Object.create((this.messagePrototype!));
1527
+ if (value !== undefined)
1528
+ reflectionMergePartial<InstallationWithAppVersion>(this, message, value);
1529
+ return message;
1530
+ }
1531
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationWithAppVersion): InstallationWithAppVersion {
1532
+ let message = target ?? this.create(), end = reader.pos + length;
1533
+ while (reader.pos < end) {
1534
+ let [fieldNo, wireType] = reader.tag();
1535
+ switch (fieldNo) {
1536
+ case /* devvit.dev_portal.installation.InstallationInfo installation */ 1:
1537
+ message.installation = InstallationInfo.internalBinaryRead(reader, reader.uint32(), options, message.installation);
1538
+ break;
1539
+ case /* devvit.dev_portal.app_version.info.AppVersionInfo app_version */ 2:
1540
+ message.appVersion = AppVersionInfo.internalBinaryRead(reader, reader.uint32(), options, message.appVersion);
1541
+ break;
1542
+ default:
1543
+ let u = options.readUnknownField;
1544
+ if (u === "throw")
1545
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1546
+ let d = reader.skip(wireType);
1547
+ if (u !== false)
1548
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1549
+ }
1550
+ }
1551
+ return message;
1552
+ }
1553
+ internalBinaryWrite(message: InstallationWithAppVersion, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1554
+ /* devvit.dev_portal.installation.InstallationInfo installation = 1; */
1555
+ if (message.installation)
1556
+ InstallationInfo.internalBinaryWrite(message.installation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1557
+ /* devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2; */
1558
+ if (message.appVersion)
1559
+ AppVersionInfo.internalBinaryWrite(message.appVersion, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1560
+ let u = options.writeUnknownFields;
1561
+ if (u !== false)
1562
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1563
+ return writer;
1564
+ }
1565
+ }
1566
+ /**
1567
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationWithAppVersion
1568
+ */
1569
+ export const InstallationWithAppVersion = new InstallationWithAppVersion$Type();
1570
+ // @generated message type with reflection information, may provide speed optimized methods
1571
+ class InstallationUpgradeManyResponse$Type extends MessageType<InstallationUpgradeManyResponse> {
1572
+ constructor() {
1573
+ super("devvit.dev_portal.installation.InstallationUpgradeManyResponse", [
1574
+ { no: 1, name: "details", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationUpgradeManyResponse_InstallationUpgradeDetails }
1575
+ ]);
1576
+ }
1577
+ create(value?: PartialMessage<InstallationUpgradeManyResponse>): InstallationUpgradeManyResponse {
1578
+ const message = globalThis.Object.create((this.messagePrototype!));
1579
+ message.details = [];
1580
+ if (value !== undefined)
1581
+ reflectionMergePartial<InstallationUpgradeManyResponse>(this, message, value);
1582
+ return message;
1583
+ }
1584
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeManyResponse): InstallationUpgradeManyResponse {
1585
+ let message = target ?? this.create(), end = reader.pos + length;
1586
+ while (reader.pos < end) {
1587
+ let [fieldNo, wireType] = reader.tag();
1588
+ switch (fieldNo) {
1589
+ case /* repeated devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails details */ 1:
1590
+ message.details.push(InstallationUpgradeManyResponse_InstallationUpgradeDetails.internalBinaryRead(reader, reader.uint32(), options));
1591
+ break;
1592
+ default:
1593
+ let u = options.readUnknownField;
1594
+ if (u === "throw")
1595
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1596
+ let d = reader.skip(wireType);
1597
+ if (u !== false)
1598
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1599
+ }
1600
+ }
1601
+ return message;
1602
+ }
1603
+ internalBinaryWrite(message: InstallationUpgradeManyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1604
+ /* repeated devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails details = 1; */
1605
+ for (let i = 0; i < message.details.length; i++)
1606
+ InstallationUpgradeManyResponse_InstallationUpgradeDetails.internalBinaryWrite(message.details[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1607
+ let u = options.writeUnknownFields;
1608
+ if (u !== false)
1609
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1610
+ return writer;
1611
+ }
1612
+ }
1613
+ /**
1614
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse
1615
+ */
1616
+ export const InstallationUpgradeManyResponse = new InstallationUpgradeManyResponse$Type();
1617
+ // @generated message type with reflection information, may provide speed optimized methods
1618
+ class InstallationUpgradeManyResponse_InstallationUpgradeDetails$Type extends MessageType<InstallationUpgradeManyResponse_InstallationUpgradeDetails> {
1619
+ constructor() {
1620
+ super("devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails", [
1621
+ { no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1622
+ { no: 2, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1623
+ { no: 3, name: "error", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
1624
+ ]);
1625
+ }
1626
+ create(value?: PartialMessage<InstallationUpgradeManyResponse_InstallationUpgradeDetails>): InstallationUpgradeManyResponse_InstallationUpgradeDetails {
1627
+ const message = globalThis.Object.create((this.messagePrototype!));
1628
+ message.id = "";
1629
+ message.success = false;
1630
+ if (value !== undefined)
1631
+ reflectionMergePartial<InstallationUpgradeManyResponse_InstallationUpgradeDetails>(this, message, value);
1632
+ return message;
1633
+ }
1634
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeManyResponse_InstallationUpgradeDetails): InstallationUpgradeManyResponse_InstallationUpgradeDetails {
1635
+ let message = target ?? this.create(), end = reader.pos + length;
1636
+ while (reader.pos < end) {
1637
+ let [fieldNo, wireType] = reader.tag();
1638
+ switch (fieldNo) {
1639
+ case /* string id */ 1:
1640
+ message.id = reader.string();
1641
+ break;
1642
+ case /* bool success */ 2:
1643
+ message.success = reader.bool();
1644
+ break;
1645
+ case /* optional string error */ 3:
1646
+ message.error = reader.string();
1647
+ break;
1648
+ default:
1649
+ let u = options.readUnknownField;
1650
+ if (u === "throw")
1651
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1652
+ let d = reader.skip(wireType);
1653
+ if (u !== false)
1654
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1655
+ }
1656
+ }
1657
+ return message;
1658
+ }
1659
+ internalBinaryWrite(message: InstallationUpgradeManyResponse_InstallationUpgradeDetails, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1660
+ /* string id = 1; */
1661
+ if (message.id !== "")
1662
+ writer.tag(1, WireType.LengthDelimited).string(message.id);
1663
+ /* bool success = 2; */
1664
+ if (message.success !== false)
1665
+ writer.tag(2, WireType.Varint).bool(message.success);
1666
+ /* optional string error = 3; */
1667
+ if (message.error !== undefined)
1668
+ writer.tag(3, WireType.LengthDelimited).string(message.error);
1669
+ let u = options.writeUnknownFields;
1670
+ if (u !== false)
1671
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1672
+ return writer;
1673
+ }
1674
+ }
1675
+ /**
1676
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails
1677
+ */
1678
+ export const InstallationUpgradeManyResponse_InstallationUpgradeDetails = new InstallationUpgradeManyResponse_InstallationUpgradeDetails$Type();
1679
+ // @generated message type with reflection information, may provide speed optimized methods
1680
+ class InstallationLocationDetails$Type extends MessageType<InstallationLocationDetails> {
1681
+ constructor() {
1682
+ super("devvit.dev_portal.installation.InstallationLocationDetails", [
1683
+ { no: 1, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
1684
+ { no: 2, name: "thing_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1685
+ { no: 3, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1686
+ ]);
1687
+ }
1688
+ create(value?: PartialMessage<InstallationLocationDetails>): InstallationLocationDetails {
1689
+ const message = globalThis.Object.create((this.messagePrototype!));
1690
+ message.type = 0;
1691
+ message.thingId = "";
1692
+ message.name = "";
1693
+ if (value !== undefined)
1694
+ reflectionMergePartial<InstallationLocationDetails>(this, message, value);
1695
+ return message;
1696
+ }
1697
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationLocationDetails): InstallationLocationDetails {
1698
+ let message = target ?? this.create(), end = reader.pos + length;
1699
+ while (reader.pos < end) {
1700
+ let [fieldNo, wireType] = reader.tag();
1701
+ switch (fieldNo) {
1702
+ case /* devvit.dev_portal.app_version.info.InstallationType type */ 1:
1703
+ message.type = reader.int32();
1704
+ break;
1705
+ case /* string thing_id */ 2:
1706
+ message.thingId = reader.string();
1707
+ break;
1708
+ case /* string name */ 3:
1709
+ message.name = reader.string();
1710
+ break;
1711
+ default:
1712
+ let u = options.readUnknownField;
1713
+ if (u === "throw")
1714
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1715
+ let d = reader.skip(wireType);
1716
+ if (u !== false)
1717
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1718
+ }
1719
+ }
1720
+ return message;
1721
+ }
1722
+ internalBinaryWrite(message: InstallationLocationDetails, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1723
+ /* devvit.dev_portal.app_version.info.InstallationType type = 1; */
1724
+ if (message.type !== 0)
1725
+ writer.tag(1, WireType.Varint).int32(message.type);
1726
+ /* string thing_id = 2; */
1727
+ if (message.thingId !== "")
1728
+ writer.tag(2, WireType.LengthDelimited).string(message.thingId);
1729
+ /* string name = 3; */
1730
+ if (message.name !== "")
1731
+ writer.tag(3, WireType.LengthDelimited).string(message.name);
1732
+ let u = options.writeUnknownFields;
1733
+ if (u !== false)
1734
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1735
+ return writer;
1736
+ }
1737
+ }
1738
+ /**
1739
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationLocationDetails
1740
+ */
1741
+ export const InstallationLocationDetails = new InstallationLocationDetails$Type();
1742
+ // @generated message type with reflection information, may provide speed optimized methods
1743
+ class InstallationHistoryEvent$Type extends MessageType<InstallationHistoryEvent> {
1744
+ constructor() {
1745
+ super("devvit.dev_portal.installation.InstallationHistoryEvent", [
1746
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1747
+ { no: 2, name: "name", kind: "enum", T: () => ["devvit.dev_portal.installation.InstallationHistoryEventName", InstallationHistoryEventName] },
1748
+ { no: 3, name: "details", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
1749
+ { no: 4, name: "created_at", kind: "message", T: () => Timestamp }
1750
+ ]);
1751
+ }
1752
+ create(value?: PartialMessage<InstallationHistoryEvent>): InstallationHistoryEvent {
1753
+ const message = globalThis.Object.create((this.messagePrototype!));
1754
+ message.userId = "";
1755
+ message.name = 0;
1756
+ message.details = {};
1757
+ if (value !== undefined)
1758
+ reflectionMergePartial<InstallationHistoryEvent>(this, message, value);
1759
+ return message;
1760
+ }
1761
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationHistoryEvent): InstallationHistoryEvent {
1762
+ let message = target ?? this.create(), end = reader.pos + length;
1763
+ while (reader.pos < end) {
1764
+ let [fieldNo, wireType] = reader.tag();
1765
+ switch (fieldNo) {
1766
+ case /* string user_id */ 1:
1767
+ message.userId = reader.string();
1768
+ break;
1769
+ case /* devvit.dev_portal.installation.InstallationHistoryEventName name */ 2:
1770
+ message.name = reader.int32();
1771
+ break;
1772
+ case /* map<string, string> details */ 3:
1773
+ this.binaryReadMap3(message.details, reader, options);
1774
+ break;
1775
+ case /* google.protobuf.Timestamp created_at */ 4:
1776
+ message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
1777
+ break;
1778
+ default:
1779
+ let u = options.readUnknownField;
1780
+ if (u === "throw")
1781
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1782
+ let d = reader.skip(wireType);
1783
+ if (u !== false)
1784
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1785
+ }
1786
+ }
1787
+ return message;
1788
+ }
1789
+ private binaryReadMap3(map: InstallationHistoryEvent["details"], reader: IBinaryReader, options: BinaryReadOptions): void {
1790
+ let len = reader.uint32(), end = reader.pos + len, key: keyof InstallationHistoryEvent["details"] | undefined, val: InstallationHistoryEvent["details"][any] | undefined;
1791
+ while (reader.pos < end) {
1792
+ let [fieldNo, wireType] = reader.tag();
1793
+ switch (fieldNo) {
1794
+ case 1:
1795
+ key = reader.string();
1796
+ break;
1797
+ case 2:
1798
+ val = reader.string();
1799
+ break;
1800
+ default: throw new globalThis.Error("unknown map entry field for field devvit.dev_portal.installation.InstallationHistoryEvent.details");
1801
+ }
1802
+ }
1803
+ map[key ?? ""] = val ?? "";
1804
+ }
1805
+ internalBinaryWrite(message: InstallationHistoryEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1806
+ /* string user_id = 1; */
1807
+ if (message.userId !== "")
1808
+ writer.tag(1, WireType.LengthDelimited).string(message.userId);
1809
+ /* devvit.dev_portal.installation.InstallationHistoryEventName name = 2; */
1810
+ if (message.name !== 0)
1811
+ writer.tag(2, WireType.Varint).int32(message.name);
1812
+ /* map<string, string> details = 3; */
1813
+ for (let k of globalThis.Object.keys(message.details))
1814
+ writer.tag(3, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.details[k]).join();
1815
+ /* google.protobuf.Timestamp created_at = 4; */
1816
+ if (message.createdAt)
1817
+ Timestamp.internalBinaryWrite(message.createdAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
1818
+ let u = options.writeUnknownFields;
1819
+ if (u !== false)
1820
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1821
+ return writer;
1822
+ }
1823
+ }
1824
+ /**
1825
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationHistoryEvent
1826
+ */
1827
+ export const InstallationHistoryEvent = new InstallationHistoryEvent$Type();
1828
+ // @generated message type with reflection information, may provide speed optimized methods
1829
+ class GetInstallationHistoryResponse$Type extends MessageType<GetInstallationHistoryResponse> {
1830
+ constructor() {
1831
+ super("devvit.dev_portal.installation.GetInstallationHistoryResponse", [
1832
+ { no: 1, name: "events", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationHistoryEvent },
1833
+ { no: 8, name: "total_events", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
1834
+ ]);
1835
+ }
1836
+ create(value?: PartialMessage<GetInstallationHistoryResponse>): GetInstallationHistoryResponse {
1837
+ const message = globalThis.Object.create((this.messagePrototype!));
1838
+ message.events = [];
1839
+ message.totalEvents = 0;
1840
+ if (value !== undefined)
1841
+ reflectionMergePartial<GetInstallationHistoryResponse>(this, message, value);
1842
+ return message;
1843
+ }
1844
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetInstallationHistoryResponse): GetInstallationHistoryResponse {
1845
+ let message = target ?? this.create(), end = reader.pos + length;
1846
+ while (reader.pos < end) {
1847
+ let [fieldNo, wireType] = reader.tag();
1848
+ switch (fieldNo) {
1849
+ case /* repeated devvit.dev_portal.installation.InstallationHistoryEvent events */ 1:
1850
+ message.events.push(InstallationHistoryEvent.internalBinaryRead(reader, reader.uint32(), options));
1851
+ break;
1852
+ case /* uint32 total_events */ 8:
1853
+ message.totalEvents = reader.uint32();
1854
+ break;
1855
+ default:
1856
+ let u = options.readUnknownField;
1857
+ if (u === "throw")
1858
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1859
+ let d = reader.skip(wireType);
1860
+ if (u !== false)
1861
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1862
+ }
1863
+ }
1864
+ return message;
1865
+ }
1866
+ internalBinaryWrite(message: GetInstallationHistoryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1867
+ /* repeated devvit.dev_portal.installation.InstallationHistoryEvent events = 1; */
1868
+ for (let i = 0; i < message.events.length; i++)
1869
+ InstallationHistoryEvent.internalBinaryWrite(message.events[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1870
+ /* uint32 total_events = 8; */
1871
+ if (message.totalEvents !== 0)
1872
+ writer.tag(8, WireType.Varint).uint32(message.totalEvents);
1873
+ let u = options.writeUnknownFields;
1874
+ if (u !== false)
1875
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1876
+ return writer;
1877
+ }
1878
+ }
1879
+ /**
1880
+ * @generated MessageType for protobuf message devvit.dev_portal.installation.GetInstallationHistoryResponse
1881
+ */
1882
+ export const GetInstallationHistoryResponse = new GetInstallationHistoryResponse$Type();