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