@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
@@ -0,0 +1,18 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package enum.removed_by_type;
|
4
|
+
|
5
|
+
option go_package = "enum/";
|
6
|
+
|
7
|
+
enum RemovedByType {
|
8
|
+
NULL_VALUE = 0;
|
9
|
+
COPYRIGHT_TAKEDOWN = 1;
|
10
|
+
CONTENT_TAKEDOWN = 2;
|
11
|
+
AUTHOR = 3;
|
12
|
+
MODERATOR = 4;
|
13
|
+
COMMUNITY_OPS = 5;
|
14
|
+
ANTI_EVIL_OPS = 6;
|
15
|
+
REDDIT = 7;
|
16
|
+
DELETED = 8;
|
17
|
+
AUTOMOD_FILTERED = 9;
|
18
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package enum.subreddit_type;
|
4
|
+
|
5
|
+
option go_package = "enum/";
|
6
|
+
|
7
|
+
enum SubredditType {
|
8
|
+
ARCHIVED = 0;
|
9
|
+
EMPLOYEES_ONLY = 1;
|
10
|
+
GOLD_ONLY = 2;
|
11
|
+
GOLD_RESTRICTED = 3;
|
12
|
+
PRIVATE = 4;
|
13
|
+
PUBLIC = 5;
|
14
|
+
RESTRICTED = 6;
|
15
|
+
USER = 7;
|
16
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package enum.ads_whitelist_status;
|
4
|
+
|
5
|
+
option go_package = "enum/";
|
6
|
+
|
7
|
+
enum AdsWhitelistStatus {
|
8
|
+
DO_NOT_USE = 0;
|
9
|
+
NO_ADS = 1;
|
10
|
+
HOUSE_ONLY = 2;
|
11
|
+
PROMO_SPECIFIED = 3;
|
12
|
+
PROMO_ADULT_NSFW = 4;
|
13
|
+
PROMO_ADULT = 5;
|
14
|
+
PROMO_ALL = 6;
|
15
|
+
ALL_ADS = 7;
|
16
|
+
SOME_ADS = 8;
|
17
|
+
}
|
@@ -0,0 +1,203 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package evaluator;
|
4
|
+
|
5
|
+
import "devvit/data/api/v1alpha/filter.proto";
|
6
|
+
import "devvit/events/v1alpha/events.proto";
|
7
|
+
import "devvit/options/options.proto";
|
8
|
+
import "devvit/reddit/v2alpha/subredditv2.proto";
|
9
|
+
import "devvit/reddit/v2alpha/userv2.proto";
|
10
|
+
import "google/protobuf/timestamp.proto";
|
11
|
+
import "google/protobuf/wrappers.proto";
|
12
|
+
import "reddit/coreplatform/common/v1/media.proto";
|
13
|
+
import "snooron_sources/text_classification/text_classification.proto";
|
14
|
+
import "snooron_sources/v2_event/v2_event.proto";
|
15
|
+
|
16
|
+
option go_package = "github.snooguts.net/reddit/data-api-firehose/generated/protos/types/evaluator";
|
17
|
+
|
18
|
+
enum DistinguishType {
|
19
|
+
NULL_VALUE = 0;
|
20
|
+
ADMIN = 1;
|
21
|
+
GOLD = 2;
|
22
|
+
GOLD_AUTO = 3;
|
23
|
+
YES = 4;
|
24
|
+
SPECIAL = 5;
|
25
|
+
}
|
26
|
+
|
27
|
+
message PredicateQueueItem {
|
28
|
+
string thing_id = 1;
|
29
|
+
}
|
30
|
+
|
31
|
+
message IntermediateModel {
|
32
|
+
//The t#_id of the post/comment
|
33
|
+
string id = 1;
|
34
|
+
google.protobuf.Timestamp timestamp = 2;
|
35
|
+
|
36
|
+
//Info related to safety evaluation
|
37
|
+
SafetyInfo safety_info = 3;
|
38
|
+
|
39
|
+
oneof model {
|
40
|
+
Post post = 4;
|
41
|
+
Comment comment = 5;
|
42
|
+
}
|
43
|
+
int64 version = 6;
|
44
|
+
|
45
|
+
Subreddit subreddit = 7;
|
46
|
+
FirehoseFilterData filter_data = 8;
|
47
|
+
User author = 9;
|
48
|
+
DeletedInfo delete_info = 10;
|
49
|
+
//NEXT: 11
|
50
|
+
}
|
51
|
+
|
52
|
+
message Subreddit {
|
53
|
+
string id = 1;
|
54
|
+
string name = 2;
|
55
|
+
google.protobuf.Timestamp last_hydrated = 4;
|
56
|
+
devvit.reddit.v2alpha.SubredditType type = 5;
|
57
|
+
devvit.reddit.v2alpha.SubredditRating rating = 6;
|
58
|
+
bool spam = 7;
|
59
|
+
bool quarantined = 8;
|
60
|
+
bool hydrated = 9;
|
61
|
+
}
|
62
|
+
|
63
|
+
message SafetyInfo {
|
64
|
+
map<string, ContentClassification> content_classifications = 1;
|
65
|
+
map<string, text_classification.Class> text_classifications = 2;
|
66
|
+
map<string, P0MediaCheck> p0_media_checks = 3;
|
67
|
+
}
|
68
|
+
|
69
|
+
//TODO: Can't import this proto until go package name is fixed
|
70
|
+
message P0MediaCheck {
|
71
|
+
// indicates if a match was discovered
|
72
|
+
bool match = 1;
|
73
|
+
|
74
|
+
// the ID of the scanned content (i.e. post ID, comment ID, etc.)
|
75
|
+
string content_id = 2;
|
76
|
+
|
77
|
+
enum MatchType {
|
78
|
+
MATCH_TYPE_UNSPECIFIED = 0; // default value - no match found
|
79
|
+
MATCH_TYPE_NCIM = 1;
|
80
|
+
MATCH_TYPE_CSAM = 2;
|
81
|
+
}
|
82
|
+
|
83
|
+
// specifies which type of match was discovered
|
84
|
+
MatchType match_type = 3;
|
85
|
+
|
86
|
+
// UUID for the P0MediaCheck message
|
87
|
+
// can be used by consumers to exclude corrupted events, if sent
|
88
|
+
string id = 4;
|
89
|
+
|
90
|
+
// when the P0 request was received (in UTC)
|
91
|
+
google.protobuf.Timestamp ccs_received_at = 5;
|
92
|
+
}
|
93
|
+
|
94
|
+
message ContentClassification {
|
95
|
+
string media_id = 1;
|
96
|
+
string type = 2;
|
97
|
+
string url = 3;
|
98
|
+
//For image classification
|
99
|
+
v2_event.MLModel ml_model = 4;
|
100
|
+
}
|
101
|
+
|
102
|
+
message Comment {
|
103
|
+
//Fields needed to generate a CommentFirehose
|
104
|
+
string id = 1;
|
105
|
+
string body = 2;
|
106
|
+
google.protobuf.Timestamp created_at = 3;
|
107
|
+
google.protobuf.Timestamp last_modified_at = 4;
|
108
|
+
repeated string element_types = 5;
|
109
|
+
bool gilded = 6;
|
110
|
+
string language_code = 7;
|
111
|
+
string parent_id = 8;
|
112
|
+
string permalink = 9;
|
113
|
+
int32 score = 10;
|
114
|
+
bool spam = 12;
|
115
|
+
bool deleted = 13;
|
116
|
+
//Used for safety
|
117
|
+
repeated string media_ids = 11;
|
118
|
+
|
119
|
+
//TODO: Add fields for filtering
|
120
|
+
}
|
121
|
+
message DeletedInfo {
|
122
|
+
google.protobuf.Timestamp deleted_at = 1;
|
123
|
+
devvit.events.v1alpha.EventSource source = 2;
|
124
|
+
devvit.events.v1alpha.DeletionReason reason = 3;
|
125
|
+
}
|
126
|
+
message FirehoseFilterData {
|
127
|
+
devvit.options.FirehoseEvent event = 1;
|
128
|
+
string subreddit_id = 2;
|
129
|
+
devvit.reddit.v2alpha.SubredditRating subreddit_rating = 3;
|
130
|
+
|
131
|
+
map<string, double> perspective_scores = 4;
|
132
|
+
map<string, double> perspective_scores_title = 5;
|
133
|
+
map<string, double> perspective_scores_body = 6;
|
134
|
+
|
135
|
+
devvit.reddit.v2alpha.SubredditType subreddit_type = 7;
|
136
|
+
bool admin_takedown = 8;
|
137
|
+
double abuse_score = 9;
|
138
|
+
devvit.data.api.v1alpha.FirehoseFilterData.ApprovalStatus approval_status = 10;
|
139
|
+
SafetyTag safety_x_tag = 11;
|
140
|
+
SafetyTag safety_v_tag = 12;
|
141
|
+
// custom value set by our own services
|
142
|
+
bool sexually_explicit = 13;
|
143
|
+
}
|
144
|
+
|
145
|
+
message User {
|
146
|
+
string id = 1;
|
147
|
+
string name = 2;
|
148
|
+
bool spam = 3;
|
149
|
+
bool banned = 4;
|
150
|
+
bool hydrated = 5;
|
151
|
+
google.protobuf.Timestamp last_hydrated = 6;
|
152
|
+
}
|
153
|
+
|
154
|
+
message SafetyTag {
|
155
|
+
map<string, double> versions = 1;
|
156
|
+
double score = 2;
|
157
|
+
}
|
158
|
+
|
159
|
+
message UserFlair {
|
160
|
+
string text = 1;
|
161
|
+
}
|
162
|
+
|
163
|
+
message LinkFlair {
|
164
|
+
string text = 1;
|
165
|
+
}
|
166
|
+
|
167
|
+
message Post {
|
168
|
+
//Fields needed to generate a PostFirehose
|
169
|
+
string id = 1;
|
170
|
+
string body = 2;
|
171
|
+
google.protobuf.Timestamp created_at = 3;
|
172
|
+
google.protobuf.Timestamp last_modified_at = 4;
|
173
|
+
string crosspost_parent_id = 5;
|
174
|
+
LinkFlair flair = 6;
|
175
|
+
DistinguishType distinguish_type = 7;
|
176
|
+
int32 gildings = 8;
|
177
|
+
string language_code = 9;
|
178
|
+
bool locked = 10;
|
179
|
+
reddit.coreplatform.common.v1.MediaObject media = 11;
|
180
|
+
bool nsfw = 12;
|
181
|
+
int32 num_comments = 13;
|
182
|
+
string permalink = 14;
|
183
|
+
int32 score = 15;
|
184
|
+
bool self = 16;
|
185
|
+
bool spam = 17;
|
186
|
+
bool spoiler = 18;
|
187
|
+
bool sticky = 19;
|
188
|
+
string thumbnail = 20;
|
189
|
+
string title = 21;
|
190
|
+
string type = 22;
|
191
|
+
string url = 23;
|
192
|
+
bool video = 24;
|
193
|
+
repeated string media_ids = 25;
|
194
|
+
bool is_poll = 26;
|
195
|
+
bool image_upload = 27;
|
196
|
+
string author_id = 28;
|
197
|
+
FirehoseFilterData filter_data = 29;
|
198
|
+
bool unlisted = 30;
|
199
|
+
bool deleted = 31;
|
200
|
+
|
201
|
+
//TODO: Add relevant fields to create a FirehoseComment
|
202
|
+
//TODO: Add fields for filtering
|
203
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// Copyright (c) 2015, Google Inc.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
syntax = "proto3";
|
16
|
+
|
17
|
+
package google.api;
|
18
|
+
|
19
|
+
import "google/api/http.proto";
|
20
|
+
import "google/protobuf/descriptor.proto";
|
21
|
+
|
22
|
+
option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
|
23
|
+
option java_multiple_files = true;
|
24
|
+
option java_outer_classname = "AnnotationsProto";
|
25
|
+
option java_package = "com.google.api";
|
26
|
+
option objc_class_prefix = "GAPI";
|
27
|
+
|
28
|
+
extend google.protobuf.MethodOptions {
|
29
|
+
// See `HttpRule`.
|
30
|
+
HttpRule http = 72295728;
|
31
|
+
}
|
@@ -0,0 +1,274 @@
|
|
1
|
+
// Copyright 2024 Google LLC
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
syntax = "proto3";
|
16
|
+
|
17
|
+
package google.api.apikeys.v2;
|
18
|
+
|
19
|
+
import "google/api/annotations.proto";
|
20
|
+
import "google/api/apikeys/v2/resources.proto";
|
21
|
+
import "google/api/client.proto";
|
22
|
+
import "google/api/field_behavior.proto";
|
23
|
+
import "google/api/resource.proto";
|
24
|
+
import "google/longrunning/operations.proto";
|
25
|
+
import "google/protobuf/empty.proto";
|
26
|
+
import "google/protobuf/field_mask.proto";
|
27
|
+
|
28
|
+
option csharp_namespace = "Google.Cloud.ApiKeys.V2";
|
29
|
+
option go_package = "cloud.google.com/go/apikeys/apiv2/apikeyspb;apikeyspb";
|
30
|
+
option java_multiple_files = true;
|
31
|
+
option java_outer_classname = "ApiKeysProto";
|
32
|
+
option java_package = "com.google.api.apikeys.v2";
|
33
|
+
option php_namespace = "Google\\Cloud\\ApiKeys\\V2";
|
34
|
+
option ruby_package = "Google::Cloud::ApiKeys::V2";
|
35
|
+
|
36
|
+
// Manages the API keys associated with projects.
|
37
|
+
service ApiKeys {
|
38
|
+
option (google.api.default_host) = "apikeys.googleapis.com";
|
39
|
+
option (google.api.oauth_scopes) =
|
40
|
+
"https://www.googleapis.com/auth/cloud-platform,"
|
41
|
+
"https://www.googleapis.com/auth/cloud-platform.read-only";
|
42
|
+
|
43
|
+
// Creates a new API key.
|
44
|
+
//
|
45
|
+
// NOTE: Key is a global resource; hence the only supported value for
|
46
|
+
// location is `global`.
|
47
|
+
rpc CreateKey(CreateKeyRequest) returns (google.longrunning.Operation) {
|
48
|
+
option (google.api.http) = {
|
49
|
+
post: "/v2/{parent=projects/*/locations/*}/keys"
|
50
|
+
body: "key"
|
51
|
+
};
|
52
|
+
option (google.api.method_signature) = "parent,key,key_id";
|
53
|
+
option (google.longrunning.operation_info) = {
|
54
|
+
response_type: "Key"
|
55
|
+
metadata_type: "google.protobuf.Empty"
|
56
|
+
};
|
57
|
+
}
|
58
|
+
|
59
|
+
// Lists the API keys owned by a project. The key string of the API key
|
60
|
+
// isn't included in the response.
|
61
|
+
//
|
62
|
+
// NOTE: Key is a global resource; hence the only supported value for
|
63
|
+
// location is `global`.
|
64
|
+
rpc ListKeys(ListKeysRequest) returns (ListKeysResponse) {
|
65
|
+
option (google.api.http) = {get: "/v2/{parent=projects/*/locations/*}/keys"};
|
66
|
+
option (google.api.method_signature) = "parent";
|
67
|
+
}
|
68
|
+
|
69
|
+
// Gets the metadata for an API key. The key string of the API key
|
70
|
+
// isn't included in the response.
|
71
|
+
//
|
72
|
+
// NOTE: Key is a global resource; hence the only supported value for
|
73
|
+
// location is `global`.
|
74
|
+
rpc GetKey(GetKeyRequest) returns (Key) {
|
75
|
+
option (google.api.http) = {get: "/v2/{name=projects/*/locations/*/keys/*}"};
|
76
|
+
option (google.api.method_signature) = "name";
|
77
|
+
}
|
78
|
+
|
79
|
+
// Get the key string for an API key.
|
80
|
+
//
|
81
|
+
// NOTE: Key is a global resource; hence the only supported value for
|
82
|
+
// location is `global`.
|
83
|
+
rpc GetKeyString(GetKeyStringRequest) returns (GetKeyStringResponse) {
|
84
|
+
option (google.api.http) = {get: "/v2/{name=projects/*/locations/*/keys/*}/keyString"};
|
85
|
+
option (google.api.method_signature) = "name";
|
86
|
+
}
|
87
|
+
|
88
|
+
// Patches the modifiable fields of an API key.
|
89
|
+
// The key string of the API key isn't included in the response.
|
90
|
+
//
|
91
|
+
// NOTE: Key is a global resource; hence the only supported value for
|
92
|
+
// location is `global`.
|
93
|
+
rpc UpdateKey(UpdateKeyRequest) returns (google.longrunning.Operation) {
|
94
|
+
option (google.api.http) = {
|
95
|
+
patch: "/v2/{key.name=projects/*/locations/*/keys/*}"
|
96
|
+
body: "key"
|
97
|
+
};
|
98
|
+
option (google.api.method_signature) = "key,update_mask";
|
99
|
+
option (google.longrunning.operation_info) = {
|
100
|
+
response_type: "Key"
|
101
|
+
metadata_type: "google.protobuf.Empty"
|
102
|
+
};
|
103
|
+
}
|
104
|
+
|
105
|
+
// Deletes an API key. Deleted key can be retrieved within 30 days of
|
106
|
+
// deletion. Afterward, key will be purged from the project.
|
107
|
+
//
|
108
|
+
// NOTE: Key is a global resource; hence the only supported value for
|
109
|
+
// location is `global`.
|
110
|
+
rpc DeleteKey(DeleteKeyRequest) returns (google.longrunning.Operation) {
|
111
|
+
option (google.api.http) = {delete: "/v2/{name=projects/*/locations/*/keys/*}"};
|
112
|
+
option (google.api.method_signature) = "name";
|
113
|
+
option (google.longrunning.operation_info) = {
|
114
|
+
response_type: "Key"
|
115
|
+
metadata_type: "google.protobuf.Empty"
|
116
|
+
};
|
117
|
+
}
|
118
|
+
|
119
|
+
// Undeletes an API key which was deleted within 30 days.
|
120
|
+
//
|
121
|
+
// NOTE: Key is a global resource; hence the only supported value for
|
122
|
+
// location is `global`.
|
123
|
+
rpc UndeleteKey(UndeleteKeyRequest) returns (google.longrunning.Operation) {
|
124
|
+
option (google.api.http) = {
|
125
|
+
post: "/v2/{name=projects/*/locations/*/keys/*}:undelete"
|
126
|
+
body: "*"
|
127
|
+
};
|
128
|
+
option (google.longrunning.operation_info) = {
|
129
|
+
response_type: "Key"
|
130
|
+
metadata_type: "google.protobuf.Empty"
|
131
|
+
};
|
132
|
+
}
|
133
|
+
|
134
|
+
// Find the parent project and resource name of the API
|
135
|
+
// key that matches the key string in the request. If the API key has been
|
136
|
+
// purged, resource name will not be set.
|
137
|
+
// The service account must have the `apikeys.keys.lookup` permission
|
138
|
+
// on the parent project.
|
139
|
+
rpc LookupKey(LookupKeyRequest) returns (LookupKeyResponse) {
|
140
|
+
option (google.api.http) = {get: "/v2/keys:lookupKey"};
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
// Request message for `CreateKey` method.
|
145
|
+
message CreateKeyRequest {
|
146
|
+
// Required. The project in which the API key is created.
|
147
|
+
string parent = 1 [
|
148
|
+
(google.api.field_behavior) = REQUIRED,
|
149
|
+
(google.api.resource_reference) = {child_type: "apikeys.googleapis.com/Key"}
|
150
|
+
];
|
151
|
+
|
152
|
+
// Required. The API key fields to set at creation time.
|
153
|
+
// You can configure only the `display_name`, `restrictions`, and
|
154
|
+
// `annotations` fields.
|
155
|
+
Key key = 2 [(google.api.field_behavior) = REQUIRED];
|
156
|
+
|
157
|
+
// User specified key id (optional). If specified, it will become the final
|
158
|
+
// component of the key resource name.
|
159
|
+
//
|
160
|
+
// The id must be unique within the project, must conform with RFC-1034,
|
161
|
+
// is restricted to lower-cased letters, and has a maximum length of 63
|
162
|
+
// characters. In another word, the id must match the regular
|
163
|
+
// expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
|
164
|
+
//
|
165
|
+
// The id must NOT be a UUID-like string.
|
166
|
+
string key_id = 3;
|
167
|
+
}
|
168
|
+
|
169
|
+
// Request message for `ListKeys` method.
|
170
|
+
message ListKeysRequest {
|
171
|
+
// Required. Lists all API keys associated with this project.
|
172
|
+
string parent = 1 [
|
173
|
+
(google.api.field_behavior) = REQUIRED,
|
174
|
+
(google.api.resource_reference) = {child_type: "apikeys.googleapis.com/Key"}
|
175
|
+
];
|
176
|
+
|
177
|
+
// Optional. Specifies the maximum number of results to be returned at a time.
|
178
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
179
|
+
|
180
|
+
// Optional. Requests a specific page of results.
|
181
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
182
|
+
|
183
|
+
// Optional. Indicate that keys deleted in the past 30 days should also be
|
184
|
+
// returned.
|
185
|
+
bool show_deleted = 6 [(google.api.field_behavior) = OPTIONAL];
|
186
|
+
}
|
187
|
+
|
188
|
+
// Response message for `ListKeys` method.
|
189
|
+
message ListKeysResponse {
|
190
|
+
// A list of API keys.
|
191
|
+
repeated Key keys = 1;
|
192
|
+
|
193
|
+
// The pagination token for the next page of results.
|
194
|
+
string next_page_token = 2;
|
195
|
+
}
|
196
|
+
|
197
|
+
// Request message for `GetKey` method.
|
198
|
+
message GetKeyRequest {
|
199
|
+
// Required. The resource name of the API key to get.
|
200
|
+
string name = 1 [
|
201
|
+
(google.api.field_behavior) = REQUIRED,
|
202
|
+
(google.api.resource_reference) = {type: "apikeys.googleapis.com/Key"}
|
203
|
+
];
|
204
|
+
}
|
205
|
+
|
206
|
+
// Request message for `GetKeyString` method.
|
207
|
+
message GetKeyStringRequest {
|
208
|
+
// Required. The resource name of the API key to be retrieved.
|
209
|
+
string name = 1 [
|
210
|
+
(google.api.field_behavior) = REQUIRED,
|
211
|
+
(google.api.resource_reference) = {type: "apikeys.googleapis.com/Key"}
|
212
|
+
];
|
213
|
+
}
|
214
|
+
|
215
|
+
// Response message for `GetKeyString` method.
|
216
|
+
message GetKeyStringResponse {
|
217
|
+
// An encrypted and signed value of the key.
|
218
|
+
string key_string = 1;
|
219
|
+
}
|
220
|
+
|
221
|
+
// Request message for `UpdateKey` method.
|
222
|
+
message UpdateKeyRequest {
|
223
|
+
// Required. Set the `name` field to the resource name of the API key to be
|
224
|
+
// updated. You can update only the `display_name`, `restrictions`, and
|
225
|
+
// `annotations` fields.
|
226
|
+
Key key = 1 [(google.api.field_behavior) = REQUIRED];
|
227
|
+
|
228
|
+
// The field mask specifies which fields to be updated as part of this
|
229
|
+
// request. All other fields are ignored.
|
230
|
+
// Mutable fields are: `display_name`, `restrictions`, and `annotations`.
|
231
|
+
// If an update mask is not provided, the service treats it as an implied mask
|
232
|
+
// equivalent to all allowed fields that are set on the wire. If the field
|
233
|
+
// mask has a special value "*", the service treats it equivalent to replace
|
234
|
+
// all allowed mutable fields.
|
235
|
+
google.protobuf.FieldMask update_mask = 2;
|
236
|
+
}
|
237
|
+
|
238
|
+
// Request message for `DeleteKey` method.
|
239
|
+
message DeleteKeyRequest {
|
240
|
+
// Required. The resource name of the API key to be deleted.
|
241
|
+
string name = 1 [
|
242
|
+
(google.api.field_behavior) = REQUIRED,
|
243
|
+
(google.api.resource_reference) = {type: "apikeys.googleapis.com/Key"}
|
244
|
+
];
|
245
|
+
|
246
|
+
// Optional. The etag known to the client for the expected state of the key.
|
247
|
+
// This is to be used for optimistic concurrency.
|
248
|
+
string etag = 2 [(google.api.field_behavior) = OPTIONAL];
|
249
|
+
}
|
250
|
+
|
251
|
+
// Request message for `UndeleteKey` method.
|
252
|
+
message UndeleteKeyRequest {
|
253
|
+
// Required. The resource name of the API key to be undeleted.
|
254
|
+
string name = 1 [
|
255
|
+
(google.api.field_behavior) = REQUIRED,
|
256
|
+
(google.api.resource_reference) = {type: "apikeys.googleapis.com/Key"}
|
257
|
+
];
|
258
|
+
}
|
259
|
+
|
260
|
+
// Request message for `LookupKey` method.
|
261
|
+
message LookupKeyRequest {
|
262
|
+
// Required. Finds the project that owns the key string value.
|
263
|
+
string key_string = 1 [(google.api.field_behavior) = REQUIRED];
|
264
|
+
}
|
265
|
+
|
266
|
+
// Response message for `LookupKey` method.
|
267
|
+
message LookupKeyResponse {
|
268
|
+
// The project that owns the key with the value specified in the request.
|
269
|
+
string parent = 1;
|
270
|
+
|
271
|
+
// The resource name of the API key. If the API key has been purged,
|
272
|
+
// resource name is empty.
|
273
|
+
string name = 2;
|
274
|
+
}
|