@devvit/protos 0.11.6 → 0.11.7-next-2025-01-28-641048aff.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/meta.min.json +7820 -0
  2. package/package.json +4 -4
  3. package/protos.min.js +2 -0
  4. package/protos.min.js.map +7 -0
  5. package/schema/.snootobuf/deps/buf/validate/expression.proto +92 -0
  6. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
  7. package/schema/.snootobuf/deps/buf/validate/validate.proto +4130 -0
  8. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
  9. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
  10. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
  11. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
  12. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
  13. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
  14. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
  15. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
  16. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +773 -0
  17. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
  18. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +100 -0
  19. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
  20. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
  21. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
  22. package/schema/.snootobuf/deps/devvit/options/options.proto +98 -0
  23. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +29 -0
  24. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
  25. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
  26. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
  27. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +107 -0
  28. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
  29. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
  30. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
  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 +203 -0
  57. package/schema/.snootobuf/deps/google/api/annotations.proto +31 -0
  58. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +288 -0
  59. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +175 -0
  60. package/schema/.snootobuf/deps/google/api/auth.proto +237 -0
  61. package/schema/.snootobuf/deps/google/api/backend.proto +185 -0
  62. package/schema/.snootobuf/deps/google/api/billing.proto +77 -0
  63. package/schema/.snootobuf/deps/google/api/client.proto +431 -0
  64. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +322 -0
  65. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +315 -0
  66. package/schema/.snootobuf/deps/google/api/config_change.proto +84 -0
  67. package/schema/.snootobuf/deps/google/api/consumer.proto +82 -0
  68. package/schema/.snootobuf/deps/google/api/context.proto +92 -0
  69. package/schema/.snootobuf/deps/google/api/control.proto +41 -0
  70. package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
  71. package/schema/.snootobuf/deps/google/api/documentation.proto +168 -0
  72. package/schema/.snootobuf/deps/google/api/endpoint.proto +69 -0
  73. package/schema/.snootobuf/deps/google/api/error_reason.proto +589 -0
  74. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +183 -0
  75. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
  76. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
  77. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
  78. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
  79. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
  80. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
  81. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
  82. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
  83. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
  84. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
  85. package/schema/.snootobuf/deps/google/api/field_behavior.proto +104 -0
  86. package/schema/.snootobuf/deps/google/api/field_info.proto +106 -0
  87. package/schema/.snootobuf/deps/google/api/http.proto +371 -0
  88. package/schema/.snootobuf/deps/google/api/httpbody.proto +81 -0
  89. package/schema/.snootobuf/deps/google/api/label.proto +48 -0
  90. package/schema/.snootobuf/deps/google/api/launch_stage.proto +72 -0
  91. package/schema/.snootobuf/deps/google/api/log.proto +54 -0
  92. package/schema/.snootobuf/deps/google/api/logging.proto +81 -0
  93. package/schema/.snootobuf/deps/google/api/metric.proto +268 -0
  94. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +130 -0
  95. package/schema/.snootobuf/deps/google/api/monitoring.proto +107 -0
  96. package/schema/.snootobuf/deps/google/api/policy.proto +85 -0
  97. package/schema/.snootobuf/deps/google/api/quota.proto +184 -0
  98. package/schema/.snootobuf/deps/google/api/resource.proto +243 -0
  99. package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
  100. package/schema/.snootobuf/deps/google/api/service.proto +191 -0
  101. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
  102. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
  103. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
  104. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
  105. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
  106. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
  107. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
  108. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
  109. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
  110. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
  111. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +508 -0
  112. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
  113. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +305 -0
  114. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
  115. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +793 -0
  116. package/schema/.snootobuf/deps/google/api/source_info.proto +31 -0
  117. package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
  118. package/schema/.snootobuf/deps/google/api/usage.proto +96 -0
  119. package/schema/.snootobuf/deps/google/api/visibility.proto +113 -0
  120. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
  121. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
  122. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
  123. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
  124. package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
  125. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
  126. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
  127. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
  128. package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
  129. package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
  130. package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
  131. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
  132. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
  133. package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
  134. package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
  135. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
  136. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
  137. package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
  138. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
  139. package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
  140. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
  141. package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
  142. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
  143. package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
  144. package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
  145. package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
  146. package/schema/.snootobuf/deps/google/type/color.proto +170 -0
  147. package/schema/.snootobuf/deps/google/type/date.proto +50 -0
  148. package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
  149. package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
  150. package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
  151. package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
  152. package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
  153. package/schema/.snootobuf/deps/google/type/money.proto +43 -0
  154. package/schema/.snootobuf/deps/google/type/month.proto +66 -0
  155. package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
  156. package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
  157. package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
  158. package/schema/.snootobuf/deps/openapi/helper.proto +20 -0
  159. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  160. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
  161. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
  162. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
  163. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
  164. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
  165. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
  166. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
  167. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
  168. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
  169. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
  170. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
  171. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
  172. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
  173. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
  174. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
  175. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
  176. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
  177. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
  178. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
  179. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
  180. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
  181. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
  182. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
  183. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
  184. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
  185. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
  186. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
  187. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
  188. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
  189. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
  190. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
  191. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
  192. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +48 -0
  193. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +70 -0
  194. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +11 -0
  195. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
  196. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +89 -0
  197. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +322 -0
  198. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
  199. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
  200. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
  201. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +48 -0
  202. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
  203. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
  204. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
  205. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
  206. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +23 -0
  207. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
  208. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
  209. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +49 -0
  210. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
  211. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
  212. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
  213. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
  214. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +195 -0
  215. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
  221. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
  222. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
  223. package/schema/.snootobuf/deps/validate/validate.proto +862 -0
  224. package/schema/devvit/plugin/buildpack/buildpack_common.proto +6 -1
  225. package/schema/snootobuf.devenv.lock +210 -102
  226. package/schema/snootobuf.lock +210 -102
  227. package/schema/snootobuf.redditapi.lock +210 -102
  228. package/schema/snootobuf.ts.lock +210 -102
  229. package/types/devvit/dev_portal/dev_portal.d.ts +2 -0
  230. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  231. package/types/devvit/plugin/builder/builder.d.ts +4 -0
  232. package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
  233. package/types/devvit/plugin/buildpack/buildpack.d.ts +8 -0
  234. package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
  235. package/types/devvit/plugin/buildpack/buildpack_common.d.ts +3 -0
  236. package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
  237. package/types/devvit/plugin/buildpack/buildpack_common.js +37 -1
  238. package/types/devvit/plugin/linker/linker.d.ts +2 -0
  239. package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
  240. package/types/devvit/plugin/linker/resolver.d.ts +2 -0
  241. package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
@@ -0,0 +1,579 @@
1
+ syntax = "proto3";
2
+
3
+ package reddit.coreplatform.account.v1;
4
+
5
+ import "reddit/coreplatform/api/metadata/v1/metadata.proto";
6
+ import "reddit/coreplatform/common/v1/legal.proto";
7
+ import "reddit/coreplatform/common/v1/media.proto";
8
+ import "reddit/coreplatform/common/v1/moderation.proto";
9
+
10
+ option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/account/v1;account";
11
+ option java_multiple_files = true;
12
+ option java_outer_classname = "AccountProto";
13
+ option java_package = "com.reddit.coreplatform.api.account.v1";
14
+
15
+ /* @exclude No documentation present when converted from Thrift to Proto */
16
+ message Account {
17
+ /* @exclude No documentation present when converted from Thrift to Proto */
18
+ string id = 1;
19
+
20
+ /* @exclude No documentation present when converted from Thrift to Proto */
21
+ string name = 2;
22
+
23
+ /* @exclude No documentation present when converted from Thrift to Proto */
24
+ int64 date = 3;
25
+
26
+ /* @exclude No documentation present when converted from Thrift to Proto */
27
+ bool deleted = 4;
28
+
29
+ /* @exclude No documentation present when converted from Thrift to Proto */
30
+ bool spam = 5;
31
+
32
+ /* @exclude No documentation present when converted from Thrift to Proto */
33
+ string profile_subreddit_id = 8;
34
+
35
+ /* @exclude No documentation present when converted from Thrift to Proto */
36
+ bool suspended = 9;
37
+
38
+ /* @exclude No documentation present when converted from Thrift to Proto */
39
+ bool gold = 11;
40
+
41
+ /* @exclude No documentation present when converted from Thrift to Proto */
42
+ int64 suspension_expiration = 12;
43
+
44
+ /* @exclude No documentation present when converted from Thrift to Proto */
45
+ bool has_external_account = 13;
46
+
47
+ /* @exclude No documentation present when converted from Thrift to Proto */
48
+ bool is_permanently_suspended = 14;
49
+
50
+ /* @exclude No documentation present when converted from Thrift to Proto */
51
+ string snoovatar_img = 15;
52
+
53
+ /* @exclude No documentation present when converted from Thrift to Proto */
54
+ reddit.coreplatform.common.v1.MediaDimension snoovatar_size = 16;
55
+
56
+ /* @exclude No documentation present when converted from Thrift to Proto */
57
+ Type account_type = 17;
58
+
59
+ // This field represents the what the rps for calls to the Reddit API should be rate limited to for this account.
60
+ // Its value is manually set by an engineer when a support request is received by the community team. The value set
61
+ // will override the default rps that is computed by the site wide rate limiter implementation. The default value for
62
+ // this field is `0`, which means no override is defined. Any positive integer should be interpreted as a the rps that
63
+ // should be enforced when rate limiting requests from this account.
64
+ int32 sitewide_ratelimit_override_rps = 18;
65
+
66
+ /* @exclude No documentation present when converted from Thrift to Proto */
67
+ enum Type {
68
+ /* @exclude No documentation present when converted from Thrift to Proto */
69
+ TYPE_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
70
+ name: "UNKNOWN"
71
+ ordinal: 0,
72
+ }];
73
+
74
+ /* @exclude No documentation present when converted from Thrift to Proto */
75
+ TYPE_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
76
+ name: "NULL_VALUE"
77
+ ordinal: 1,
78
+ }];
79
+
80
+ /* @exclude No documentation present when converted from Thrift to Proto */
81
+ TYPE_PROXY = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
82
+ name: "PROXY"
83
+ ordinal: 2,
84
+ }];
85
+
86
+ /* @exclude No documentation present when converted from Thrift to Proto */
87
+ TYPE_APP = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
88
+ name: "APP"
89
+ ordinal: 3,
90
+ }];
91
+
92
+ /* @exclude No documentation present when converted from Thrift to Proto */
93
+ TYPE_BRAND = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
94
+ name: "BRAND"
95
+ ordinal: 4,
96
+ }];
97
+
98
+ // a system account that is allowed to manage long-lived access tokens;
99
+ TYPE_ADS_INTEGRATION = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
100
+ name: "ADS_INTEGRATION"
101
+ ordinal: 5,
102
+ }];
103
+ }
104
+ }
105
+
106
+ /* @exclude No documentation present when converted from Thrift to Proto */
107
+ message AccountFlair {
108
+ /* @exclude No documentation present when converted from Thrift to Proto */
109
+ string account_id = 1;
110
+
111
+ /* @exclude No documentation present when converted from Thrift to Proto */
112
+ string subreddit_id = 2;
113
+
114
+ /* @exclude No documentation present when converted from Thrift to Proto */
115
+ string text = 3;
116
+
117
+ /* @exclude No documentation present when converted from Thrift to Proto */
118
+ string css_class = 4;
119
+
120
+ /* @exclude No documentation present when converted from Thrift to Proto */
121
+ string template_id = 5;
122
+
123
+ /* @exclude No documentation present when converted from Thrift to Proto */
124
+ string text_color = 6;
125
+
126
+ /* @exclude No documentation present when converted from Thrift to Proto */
127
+ string background_color = 7;
128
+
129
+ /* @exclude No documentation present when converted from Thrift to Proto */
130
+ bool enabled = 8;
131
+ }
132
+
133
+ /* @exclude No documentation present when converted from Thrift to Proto */
134
+ message AccountGender {
135
+ /* @exclude No documentation present when converted from Thrift to Proto */
136
+ enum Category {
137
+ /* @exclude No documentation present when converted from Thrift to Proto */
138
+ CATEGORY_UNSPECIFIED = 0;
139
+
140
+ /* @exclude No documentation present when converted from Thrift to Proto */
141
+ CATEGORY_FEMALE = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
142
+ name: "FEMALE"
143
+ ordinal: 0,
144
+ }];
145
+
146
+ /* @exclude No documentation present when converted from Thrift to Proto */
147
+ CATEGORY_MALE = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
148
+ name: "MALE"
149
+ ordinal: 1,
150
+ }];
151
+
152
+ /* @exclude No documentation present when converted from Thrift to Proto */
153
+ CATEGORY_NON_BINARY = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
154
+ name: "NON_BINARY"
155
+ ordinal: 2,
156
+ }];
157
+
158
+ /* @exclude No documentation present when converted from Thrift to Proto */
159
+ CATEGORY_OPT_OUT = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
160
+ name: "OPT_OUT"
161
+ ordinal: 3,
162
+ }];
163
+
164
+ /* @exclude No documentation present when converted from Thrift to Proto */
165
+ CATEGORY_USER_DEFINED = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
166
+ name: "USER_DEFINED"
167
+ ordinal: 4,
168
+ }];
169
+
170
+ /* @exclude No documentation present when converted from Thrift to Proto */
171
+ CATEGORY_UNSET = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
172
+ name: "NULL_VALUE"
173
+ ordinal: 5,
174
+ }];
175
+ }
176
+
177
+ /* @exclude No documentation present when converted from Thrift to Proto */
178
+ Category account_gender_category = 1;
179
+
180
+ /* @exclude No documentation present when converted from Thrift to Proto */
181
+ string account_defined_gender = 2;
182
+ }
183
+
184
+ /* @exclude No documentation present when converted from Thrift to Proto */
185
+ message AccountHasSeenFlags {
186
+ /* @exclude No documentation present when converted from Thrift to Proto */
187
+ bool has_seen_redesign_modal = 1;
188
+
189
+ /* @exclude No documentation present when converted from Thrift to Proto */
190
+ bool has_seen_layout_switch = 2;
191
+
192
+ /* @exclude No documentation present when converted from Thrift to Proto */
193
+ bool has_seen_subreddit_chat_ftux = 3;
194
+
195
+ /* @exclude No documentation present when converted from Thrift to Proto */
196
+ bool has_seen_premium_adblock_modal = 4;
197
+
198
+ /* @exclude No documentation present when converted from Thrift to Proto */
199
+ bool has_seen_give_award_tooltip = 5;
200
+ }
201
+
202
+ /* @exclude No documentation present when converted from Thrift to Proto */
203
+ message Identity {
204
+ /* @exclude No documentation present when converted from Thrift to Proto */
205
+ string id = 1;
206
+
207
+ /* @exclude No documentation present when converted from Thrift to Proto */
208
+ string name = 2;
209
+
210
+ /* @exclude No documentation present when converted from Thrift to Proto */
211
+ int64 date = 3;
212
+
213
+ /* @exclude No documentation present when converted from Thrift to Proto */
214
+ bool deleted = 4;
215
+
216
+ /* @exclude No documentation present when converted from Thrift to Proto */
217
+ bool spam = 5;
218
+
219
+ /* @exclude No documentation present when converted from Thrift to Proto */
220
+ string email = 6;
221
+
222
+ /* @exclude No documentation present when converted from Thrift to Proto */
223
+ bool email_verified = 7;
224
+
225
+ /* @exclude No documentation present when converted from Thrift to Proto */
226
+ bool gold = 8;
227
+
228
+ /* @exclude No documentation present when converted from Thrift to Proto */
229
+ int64 gold_expiration = 9;
230
+
231
+ /* @exclude No documentation present when converted from Thrift to Proto */
232
+ string profile_subreddit_id = 15;
233
+
234
+ /* @exclude No documentation present when converted from Thrift to Proto */
235
+ bool is_employee = 17;
236
+
237
+ /* @exclude No documentation present when converted from Thrift to Proto */
238
+ int64 inbox_count = 18;
239
+
240
+ /* @exclude No documentation present when converted from Thrift to Proto */
241
+ bool suspended = 20;
242
+
243
+ /* @exclude No documentation present when converted from Thrift to Proto */
244
+ int32 coins = 21;
245
+
246
+ /* @exclude No documentation present when converted from Thrift to Proto */
247
+ bool has_old_modmail = 22;
248
+
249
+ /* @exclude No documentation present when converted from Thrift to Proto */
250
+ bool force_password_reset = 23;
251
+
252
+ /* @exclude No documentation present when converted from Thrift to Proto */
253
+ string gold_subscription_id = 24;
254
+
255
+ /* @exclude No documentation present when converted from Thrift to Proto */
256
+ int64 suspension_expiration = 25;
257
+
258
+ /* @exclude No documentation present when converted from Thrift to Proto */
259
+ int32 gold_creddits = 26;
260
+
261
+ /* @exclude No documentation present when converted from Thrift to Proto */
262
+ bool has_external_account = 27;
263
+
264
+ /* @exclude No documentation present when converted from Thrift to Proto */
265
+ int32 admin_suspension_strikes = 28;
266
+
267
+ /* @exclude No documentation present when converted from Thrift to Proto */
268
+ string password_hash = 29;
269
+
270
+ /* @exclude No documentation present when converted from Thrift to Proto */
271
+ string backup_password_hash = 30;
272
+
273
+ /* @exclude No documentation present when converted from Thrift to Proto */
274
+ string deletion_message = 31;
275
+
276
+ /* @exclude No documentation present when converted from Thrift to Proto */
277
+ int64 deletion_time = 32;
278
+
279
+ /* @exclude No documentation present when converted from Thrift to Proto */
280
+ bool gold_charter = 33;
281
+
282
+ /* @exclude No documentation present when converted from Thrift to Proto */
283
+ bool has_subscribed = 34;
284
+
285
+ /* @exclude No documentation present when converted from Thrift to Proto */
286
+ bool has_used_mobile_app = 35;
287
+
288
+ /* @exclude No documentation present when converted from Thrift to Proto */
289
+ int64 last_comment_time = 36;
290
+
291
+ /* @exclude No documentation present when converted from Thrift to Proto */
292
+ int64 last_password_reset_time = 37;
293
+
294
+ /* @exclude No documentation present when converted from Thrift to Proto */
295
+ int64 last_submit_time = 38;
296
+
297
+ /* @exclude No documentation present when converted from Thrift to Proto */
298
+ bool nsfw_media_acknowledged = 39;
299
+
300
+ /* @exclude No documentation present when converted from Thrift to Proto */
301
+ int32 num_gildings = 40;
302
+
303
+ /* @exclude No documentation present when converted from Thrift to Proto */
304
+ bool plague = 41;
305
+
306
+ /* @exclude No documentation present when converted from Thrift to Proto */
307
+ string plague_source = 42;
308
+
309
+ /* @exclude No documentation present when converted from Thrift to Proto */
310
+ string ip = 43;
311
+
312
+ /* @exclude No documentation present when converted from Thrift to Proto */
313
+ int32 report_count = 44;
314
+
315
+ /* @exclude No documentation present when converted from Thrift to Proto */
316
+ string request_organization = 45;
317
+
318
+ /* @exclude No documentation present when converted from Thrift to Proto */
319
+ int32 spam_count = 46;
320
+
321
+ /* @exclude No documentation present when converted from Thrift to Proto */
322
+ bool banned = 47;
323
+
324
+ /* @exclude No documentation present when converted from Thrift to Proto */
325
+ string suspension_appeal_status = 48;
326
+
327
+ /* @exclude No documentation present when converted from Thrift to Proto */
328
+ bool suspicious = 49;
329
+
330
+ /* @exclude No documentation present when converted from Thrift to Proto */
331
+ string timeout_reason = 50;
332
+
333
+ /* @exclude No documentation present when converted from Thrift to Proto */
334
+ bool touch_or_register_neutered = 51;
335
+
336
+ /* @exclude No documentation present when converted from Thrift to Proto */
337
+ int64 unbanned_at = 52;
338
+
339
+ /* @exclude No documentation present when converted from Thrift to Proto */
340
+ bool request_from_tor = 53;
341
+
342
+ /* @exclude No documentation present when converted from Thrift to Proto */
343
+ bool request_has_loid = 54;
344
+
345
+ /* @exclude No documentation present when converted from Thrift to Proto */
346
+ map<string, bool> user_features = 55;
347
+
348
+ /* @exclude No documentation present when converted from Thrift to Proto */
349
+ bool alt_track = 56;
350
+
351
+ /* @exclude No documentation present when converted from Thrift to Proto */
352
+ bool in_redesign_blacklist = 57;
353
+
354
+ /* @exclude No documentation present when converted from Thrift to Proto */
355
+ int32 reports_made = 58;
356
+
357
+ /* @exclude No documentation present when converted from Thrift to Proto */
358
+ int32 reports_approved = 59;
359
+
360
+ /* @exclude No documentation present when converted from Thrift to Proto */
361
+ int32 reports_rejected = 60;
362
+
363
+ /* @exclude No documentation present when converted from Thrift to Proto */
364
+ bool opted_out_of_redesign = 61;
365
+
366
+ /* @exclude No documentation present when converted from Thrift to Proto */
367
+ int64 last_anti_ads_activity = 62;
368
+
369
+ /* @exclude No documentation present when converted from Thrift to Proto */
370
+ int64 next_coin_drip_date = 63;
371
+
372
+ /* @exclude No documentation present when converted from Thrift to Proto */
373
+ string register_country = 64;
374
+
375
+ /* @exclude No documentation present when converted from Thrift to Proto */
376
+ int32 num_gildings_silver = 65;
377
+
378
+ /* @exclude No documentation present when converted from Thrift to Proto */
379
+ int32 num_gildings_supergold = 66;
380
+
381
+ /* @exclude No documentation present when converted from Thrift to Proto */
382
+ int64 coin_drip_expiration = 67;
383
+
384
+ /* @exclude No documentation present when converted from Thrift to Proto */
385
+ string otp_login_secret = 68;
386
+
387
+ /* @exclude No documentation present when converted from Thrift to Proto */
388
+ string old_style_password_salt = 69;
389
+
390
+ /* @exclude No documentation present when converted from Thrift to Proto */
391
+ bool has_subscribed_to_premium = 70;
392
+
393
+ /* @exclude No documentation present when converted from Thrift to Proto */
394
+ string otp_secret = 71;
395
+
396
+ /* @exclude No documentation present when converted from Thrift to Proto */
397
+ bool disenfranchised = 72;
398
+
399
+ /* @exclude No documentation present when converted from Thrift to Proto */
400
+ bool knows_about_modnews = 73;
401
+
402
+ /* @exclude No documentation present when converted from Thrift to Proto */
403
+ int32 admin_takedown_strikes = 74;
404
+
405
+ /* @exclude No documentation present when converted from Thrift to Proto */
406
+ int64 loid_created = 75;
407
+
408
+ /* @exclude No documentation present when converted from Thrift to Proto */
409
+ string otp_login_backup_salt = 76;
410
+
411
+ /* @exclude No documentation present when converted from Thrift to Proto */
412
+ bool blackhole_messages = 77;
413
+
414
+ /* @exclude No documentation present when converted from Thrift to Proto */
415
+ bool ignore_reports = 78;
416
+
417
+ /* @exclude No documentation present when converted from Thrift to Proto */
418
+ int64 last_profile_visit = 79;
419
+
420
+ /* @exclude No documentation present when converted from Thrift to Proto */
421
+ bool whitelisted = 80;
422
+
423
+ /* @exclude No documentation present when converted from Thrift to Proto */
424
+ map<string, string> external_provider_ids = 81;
425
+
426
+ /* @exclude No documentation present when converted from Thrift to Proto */
427
+ ModMailState modmail_state = 82;
428
+
429
+ /* @exclude No documentation present when converted from Thrift to Proto */
430
+ bool wiki_override = 83;
431
+
432
+ /* @exclude No documentation present when converted from Thrift to Proto */
433
+ bool is_permanently_suspended = 84;
434
+
435
+ /* @exclude No documentation present when converted from Thrift to Proto */
436
+ bool can_be_new_mod = 85;
437
+
438
+ /* @exclude No documentation present when converted from Thrift to Proto */
439
+ bool butler_ignore = 86;
440
+
441
+ /* @exclude No documentation present when converted from Thrift to Proto */
442
+ string stripe_customer_id = 87;
443
+
444
+ /* @exclude No documentation present when converted from Thrift to Proto */
445
+ bool has_gold_subscription = 88;
446
+
447
+ /* @exclude No documentation present when converted from Thrift to Proto */
448
+ bool archived = 89;
449
+
450
+ /* @exclude No documentation present when converted from Thrift to Proto */
451
+ reddit.coreplatform.common.v1.BanInfo ban_info = 90;
452
+
453
+ /* @exclude No documentation present when converted from Thrift to Proto */
454
+ reddit.coreplatform.common.v1.Verdict verdict = 91;
455
+
456
+ /* @exclude No documentation present when converted from Thrift to Proto */
457
+ string bounce = 92;
458
+
459
+ /* @exclude No documentation present when converted from Thrift to Proto */
460
+ int64 mod_message_time = 93;
461
+
462
+ /* @exclude No documentation present when converted from Thrift to Proto */
463
+ bool is_moderator_somewhere = 94;
464
+
465
+ /* @exclude No documentation present when converted from Thrift to Proto */
466
+ int32 num_friends = 95;
467
+
468
+ /* @exclude No documentation present when converted from Thrift to Proto */
469
+ int64 orangered_opt_in_message_time = 96;
470
+
471
+ /* @exclude No documentation present when converted from Thrift to Proto */
472
+ int32 num_gildings_other = 97;
473
+
474
+ /* @exclude No documentation present when converted from Thrift to Proto */
475
+ map<string, AccountFlair> flair = 101;
476
+
477
+ /* @exclude No documentation present when converted from Thrift to Proto */
478
+ repeated reddit.coreplatform.common.v1.LegalBlock legal_blocks = 102;
479
+
480
+ /* @exclude No documentation present when converted from Thrift to Proto */
481
+ map<string, string> sort_options = 103;
482
+
483
+ /* @exclude No documentation present when converted from Thrift to Proto */
484
+ EmailExternalVerifiedByType email_external_verified = 104;
485
+
486
+ /* @exclude No documentation present when converted from Thrift to Proto */
487
+ bool password_set = 105;
488
+
489
+ /* @exclude No documentation present when converted from Thrift to Proto */
490
+ bool is_eligible_for_name_change = 106;
491
+
492
+ /* @exclude No documentation present when converted from Thrift to Proto */
493
+ bool is_invite_pending = 107;
494
+
495
+ /* @exclude No documentation present when converted from Thrift to Proto */
496
+ string snoovatar_img = 108;
497
+
498
+ /* @exclude No documentation present when converted from Thrift to Proto */
499
+ reddit.coreplatform.common.v1.MediaDimension snoovatar_size = 109;
500
+
501
+ /* @exclude No documentation present when converted from Thrift to Proto */
502
+ int32 num_blockers = 110;
503
+
504
+ /* @exclude No documentation present when converted from Thrift to Proto */
505
+ int32 num_blockees = 111;
506
+
507
+ /* @exclude No documentation present when converted from Thrift to Proto */
508
+ Account.Type account_type = 112;
509
+
510
+ // Indicates if this account should be blocked from creating subreddits
511
+ // https://reddit.atlassian.net/browse/CCNTNT-134
512
+ bool subreddit_creation_blocked = 114;
513
+ }
514
+
515
+ /* @exclude No documentation present when converted from Thrift to Proto */
516
+ enum EmailExternalVerifiedByType {
517
+ /* @exclude No documentation present when converted from Thrift to Proto */
518
+ EMAIL_EXTERNAL_VERIFIED_BY_TYPE_UNSPECIFIED = 0;
519
+
520
+ /* @exclude No documentation present when converted from Thrift to Proto */
521
+ EMAIL_EXTERNAL_VERIFIED_BY_TYPE_NOT_YET_DETERMINED = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
522
+ name: "NOT_YET_DETERMINED"
523
+ ordinal: 0,
524
+ }];
525
+
526
+ /* @exclude No documentation present when converted from Thrift to Proto */
527
+ EMAIL_EXTERNAL_VERIFIED_BY_TYPE_REGEX_INVALID = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
528
+ name: "REGEX_INVALID"
529
+ ordinal: 1,
530
+ }];
531
+
532
+ /* @exclude No documentation present when converted from Thrift to Proto */
533
+ EMAIL_EXTERNAL_VERIFIED_BY_TYPE_KICKBOX_DELIVERABLE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
534
+ name: "KICKBOX_DELIVERABLE"
535
+ ordinal: 2,
536
+ }];
537
+
538
+ /* @exclude No documentation present when converted from Thrift to Proto */
539
+ EMAIL_EXTERNAL_VERIFIED_BY_TYPE_KICKBOX_UNDELIVERABLE = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
540
+ name: "KICKBOX_UNDELIVERABLE"
541
+ ordinal: 3,
542
+ }];
543
+
544
+ /* @exclude No documentation present when converted from Thrift to Proto */
545
+ EMAIL_EXTERNAL_VERIFIED_BY_TYPE_KICKBOX_UNKNOWN = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
546
+ name: "KICKBOX_UNKNOWN"
547
+ ordinal: 4,
548
+ }];
549
+
550
+ /* @exclude No documentation present when converted from Thrift to Proto */
551
+ EMAIL_EXTERNAL_VERIFIED_BY_TYPE_KICKBOX_RISKY = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
552
+ name: "KICKBOX_RISKY"
553
+ ordinal: 5,
554
+ }];
555
+ }
556
+
557
+ /* @exclude No documentation present when converted from Thrift to Proto */
558
+ enum ModMailState {
559
+ /* @exclude No documentation present when converted from Thrift to Proto */
560
+ MOD_MAIL_STATE_UNSPECIFIED = 0;
561
+
562
+ /* @exclude No documentation present when converted from Thrift to Proto */
563
+ MOD_MAIL_STATE_NO_MODMAIL = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
564
+ name: "NO_MODMAIL"
565
+ ordinal: 0,
566
+ }];
567
+
568
+ /* @exclude No documentation present when converted from Thrift to Proto */
569
+ MOD_MAIL_STATE_NO_UNREADS = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
570
+ name: "NO_UNREADS"
571
+ ordinal: 1,
572
+ }];
573
+
574
+ /* @exclude No documentation present when converted from Thrift to Proto */
575
+ MOD_MAIL_STATE_HAS_UNREADS = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
576
+ name: "NO_UNREADS"
577
+ ordinal: 2,
578
+ }];
579
+ }
@@ -0,0 +1,43 @@
1
+ syntax = "proto3";
2
+
3
+ package reddit.coreplatform.account.v1;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+ import "google/protobuf/timestamp.proto";
7
+
8
+ option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/account/v1;account";
9
+ option java_multiple_files = true;
10
+ option java_outer_classname = "AccountRelationsProto";
11
+ option java_package = "com.reddit.coreplatform.api.account.v1";
12
+
13
+ // This message describes a unidirectional friend relationship between two accounts.
14
+ message FriendRelation {
15
+ // The base36 identifier of the account relationship prefixed with r9_.
16
+ string id = 1;
17
+
18
+ // The t2 id of the account that created and owns the relationship. The direction of this relation can be
19
+ // represented as `account_id -> friend_account_id`.
20
+ string account_id = 2;
21
+
22
+ // The t2 id of the account added as a friend.
23
+ string friend_account_id = 3;
24
+
25
+ // The date when the friend relationship was created in UTC.
26
+ google.protobuf.Timestamp created_at = 4;
27
+ }
28
+
29
+ // This message describes a unidirectional blocking (enemy) relationship between two accounts.
30
+ message BlockRelation {
31
+ // The base36 identifier of the account relationship prefixed with r9_.
32
+ string id = 1;
33
+
34
+ // The t2 id of the account that created and owns the relationship. The direction of this relation can be represented
35
+ // as `account_id -> blocked_account_id`.
36
+ string account_id = 2;
37
+
38
+ // The t2 id of the account added as the enemy.
39
+ string blocked_account_id = 3;
40
+
41
+ // The date when the relationship was created in UTC.
42
+ google.protobuf.Timestamp created_at = 4;
43
+ }