@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,258 @@
|
|
1
|
+
// Copyright 2017 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/annotations.proto";
|
20
|
+
|
21
|
+
option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
|
22
|
+
option java_multiple_files = true;
|
23
|
+
option java_outer_classname = "QuotaProto";
|
24
|
+
option java_package = "com.google.api";
|
25
|
+
option objc_class_prefix = "GAPI";
|
26
|
+
|
27
|
+
// Quota configuration helps to achieve fairness and budgeting in service
|
28
|
+
// usage.
|
29
|
+
//
|
30
|
+
// The quota configuration works this way:
|
31
|
+
// - The service configuration defines a set of metrics.
|
32
|
+
// - For API calls, the quota.metric_rules maps methods to metrics with
|
33
|
+
// corresponding costs.
|
34
|
+
// - The quota.limits defines limits on the metrics, which will be used for
|
35
|
+
// quota checks at runtime.
|
36
|
+
//
|
37
|
+
// An example quota configuration in yaml format:
|
38
|
+
//
|
39
|
+
// quota:
|
40
|
+
// limits:
|
41
|
+
//
|
42
|
+
// - name: apiWriteQpsPerProject
|
43
|
+
// metric: library.googleapis.com/write_calls
|
44
|
+
// unit: "1/min/{project}" # rate limit for consumer projects
|
45
|
+
// values:
|
46
|
+
// STANDARD: 10000
|
47
|
+
//
|
48
|
+
// # The metric rules bind all methods to the read_calls metric,
|
49
|
+
// # except for the UpdateBook and DeleteBook methods. These two methods
|
50
|
+
// # are mapped to the write_calls metric, with the UpdateBook method
|
51
|
+
// # consuming at twice rate as the DeleteBook method.
|
52
|
+
// metric_rules:
|
53
|
+
// - selector: "*"
|
54
|
+
// metric_costs:
|
55
|
+
// library.googleapis.com/read_calls: 1
|
56
|
+
// - selector: google.example.library.v1.LibraryService.UpdateBook
|
57
|
+
// metric_costs:
|
58
|
+
// library.googleapis.com/write_calls: 2
|
59
|
+
// - selector: google.example.library.v1.LibraryService.DeleteBook
|
60
|
+
// metric_costs:
|
61
|
+
// library.googleapis.com/write_calls: 1
|
62
|
+
//
|
63
|
+
// Corresponding Metric definition:
|
64
|
+
//
|
65
|
+
// metrics:
|
66
|
+
// - name: library.googleapis.com/read_calls
|
67
|
+
// display_name: Read requests
|
68
|
+
// metric_kind: DELTA
|
69
|
+
// value_type: INT64
|
70
|
+
//
|
71
|
+
// - name: library.googleapis.com/write_calls
|
72
|
+
// display_name: Write requests
|
73
|
+
// metric_kind: DELTA
|
74
|
+
// value_type: INT64
|
75
|
+
//
|
76
|
+
message Quota {
|
77
|
+
// List of `QuotaLimit` definitions for the service.
|
78
|
+
//
|
79
|
+
// Used by metric-based quotas only.
|
80
|
+
repeated QuotaLimit limits = 3;
|
81
|
+
|
82
|
+
// List of `MetricRule` definitions, each one mapping a selected method to one
|
83
|
+
// or more metrics.
|
84
|
+
//
|
85
|
+
// Used by metric-based quotas only.
|
86
|
+
repeated MetricRule metric_rules = 4;
|
87
|
+
}
|
88
|
+
|
89
|
+
// Bind API methods to metrics. Binding a method to a metric causes that
|
90
|
+
// metric's configured quota, billing, and monitoring behaviors to apply to the
|
91
|
+
// method call.
|
92
|
+
//
|
93
|
+
// Used by metric-based quotas only.
|
94
|
+
message MetricRule {
|
95
|
+
// Selects the methods to which this rule applies.
|
96
|
+
//
|
97
|
+
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
98
|
+
string selector = 1;
|
99
|
+
|
100
|
+
// Metrics to update when the selected methods are called, and the associated
|
101
|
+
// cost applied to each metric.
|
102
|
+
//
|
103
|
+
// The key of the map is the metric name, and the values are the amount
|
104
|
+
// increased for the metric against which the quota limits are defined.
|
105
|
+
// The value must not be negative.
|
106
|
+
map<string, int64> metric_costs = 2;
|
107
|
+
}
|
108
|
+
|
109
|
+
// `QuotaLimit` defines a specific limit that applies over a specified duration
|
110
|
+
// for a limit type. There can be at most one limit for a duration and limit
|
111
|
+
// type combination defined within a `QuotaGroup`.
|
112
|
+
message QuotaLimit {
|
113
|
+
// Name of the quota limit. The name is used to refer to the limit when
|
114
|
+
// overriding the default limit on per-consumer basis.
|
115
|
+
//
|
116
|
+
// For group-based quota limits, the name must be unique within the quota
|
117
|
+
// group. If a name is not provided, it will be generated from the limit_by
|
118
|
+
// and duration fields.
|
119
|
+
//
|
120
|
+
// For metric-based quota limits, the name must be provided, and it must be
|
121
|
+
// unique within the service. The name can only include alphanumeric
|
122
|
+
// characters as well as '-'.
|
123
|
+
//
|
124
|
+
// The maximum length of the limit name is 64 characters.
|
125
|
+
//
|
126
|
+
// The name of a limit is used as a unique identifier for this limit.
|
127
|
+
// Therefore, once a limit has been put into use, its name should be
|
128
|
+
// immutable. You can use the display_name field to provide a user-friendly
|
129
|
+
// name for the limit. The display name can be evolved over time without
|
130
|
+
// affecting the identity of the limit.
|
131
|
+
string name = 6;
|
132
|
+
|
133
|
+
// Optional. User-visible, extended description for this quota limit.
|
134
|
+
// Should be used only when more context is needed to understand this limit
|
135
|
+
// than provided by the limit's display name (see: `display_name`).
|
136
|
+
string description = 2;
|
137
|
+
|
138
|
+
// Default number of tokens that can be consumed during the specified
|
139
|
+
// duration. This is the number of tokens assigned when a client
|
140
|
+
// application developer activates the service for his/her project.
|
141
|
+
//
|
142
|
+
// Specifying a value of 0 will block all requests. This can be used if you
|
143
|
+
// are provisioning quota to selected consumers and blocking others.
|
144
|
+
// Similarly, a value of -1 will indicate an unlimited quota. No other
|
145
|
+
// negative values are allowed.
|
146
|
+
//
|
147
|
+
// Used by group-based quotas only.
|
148
|
+
int64 default_limit = 3;
|
149
|
+
|
150
|
+
// Maximum number of tokens that can be consumed during the specified
|
151
|
+
// duration. Client application developers can override the default limit up
|
152
|
+
// to this maximum. If specified, this value cannot be set to a value less
|
153
|
+
// than the default limit. If not specified, it is set to the default limit.
|
154
|
+
//
|
155
|
+
// To allow clients to apply overrides with no upper bound, set this to -1,
|
156
|
+
// indicating unlimited maximum quota.
|
157
|
+
//
|
158
|
+
// Used by group-based quotas only.
|
159
|
+
int64 max_limit = 4;
|
160
|
+
|
161
|
+
// Free tier value displayed in the Developers Console for this limit.
|
162
|
+
// The free tier is the number of tokens that will be subtracted from the
|
163
|
+
// billed amount when billing is enabled.
|
164
|
+
// This field can only be set on a limit with duration "1d", in a billable
|
165
|
+
// group; it is invalid on any other limit. If this field is not set, it
|
166
|
+
// defaults to 0, indicating that there is no free tier for this service.
|
167
|
+
//
|
168
|
+
// Used by group-based quotas only.
|
169
|
+
int64 free_tier = 7;
|
170
|
+
|
171
|
+
// Duration of this limit in textual notation. Example: "100s", "24h", "1d".
|
172
|
+
// For duration longer than a day, only multiple of days is supported. We
|
173
|
+
// support only "100s" and "1d" for now. Additional support will be added in
|
174
|
+
// the future. "0" indicates indefinite duration.
|
175
|
+
//
|
176
|
+
// Used by group-based quotas only.
|
177
|
+
string duration = 5;
|
178
|
+
|
179
|
+
// The name of the metric this quota limit applies to. The quota limits with
|
180
|
+
// the same metric will be checked together during runtime. The metric must be
|
181
|
+
// defined within the service config.
|
182
|
+
//
|
183
|
+
// Used by metric-based quotas only.
|
184
|
+
string metric = 8;
|
185
|
+
|
186
|
+
// Specify the unit of the quota limit. It uses the same syntax as
|
187
|
+
// [Metric.unit][]. The supported unit kinds are determined by the quota
|
188
|
+
// backend system.
|
189
|
+
//
|
190
|
+
// The [Google Service Control](https://cloud.google.com/service-control)
|
191
|
+
// supports the following unit components:
|
192
|
+
// * One of the time intevals:
|
193
|
+
// * "/min" for quota every minute.
|
194
|
+
// * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
|
195
|
+
// * Otherwise the quota won't be reset by time, such as storage limit.
|
196
|
+
// * One and only one of the granted containers:
|
197
|
+
// * "/{organization}" quota for an organization.
|
198
|
+
// * "/{project}" quota for a project.
|
199
|
+
// * "/{folder}" quota for a folder.
|
200
|
+
// * "/{resource}" quota for a universal resource.
|
201
|
+
// * Zero or more quota segmentation dimension. Not all combos are valid.
|
202
|
+
// * "/{region}" quota for every region. Not to be used with time intervals.
|
203
|
+
// * Otherwise the resources granted on the target is not segmented.
|
204
|
+
// * "/{zone}" quota for every zone. Not to be used with time intervals.
|
205
|
+
// * Otherwise the resources granted on the target is not segmented.
|
206
|
+
// * "/{resource}" quota for a resource associated with a project or org.
|
207
|
+
//
|
208
|
+
// Here are some examples:
|
209
|
+
// * "1/min/{project}" for quota per minute per project.
|
210
|
+
// * "1/min/{user}" for quota per minute per user.
|
211
|
+
// * "1/min/{organization}" for quota per minute per organization.
|
212
|
+
//
|
213
|
+
// Note: the order of unit components is insignificant.
|
214
|
+
// The "1" at the beginning is required to follow the metric unit syntax.
|
215
|
+
//
|
216
|
+
// Used by metric-based quotas only.
|
217
|
+
string unit = 9;
|
218
|
+
|
219
|
+
// Tiered limit values. Also allows for regional or zone overrides for these
|
220
|
+
// values if "/{region}" or "/{zone}" is specified in the unit field.
|
221
|
+
//
|
222
|
+
// Currently supported tiers from low to high:
|
223
|
+
// VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
|
224
|
+
//
|
225
|
+
// To apply different limit values for users according to their tiers, specify
|
226
|
+
// the values for the tiers you want to differentiate. For example:
|
227
|
+
// {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
|
228
|
+
//
|
229
|
+
// The limit value for each tier is optional except for the tier STANDARD.
|
230
|
+
// The limit value for an unspecified tier falls to the value of its next
|
231
|
+
// tier towards tier STANDARD. For the above example, the limit value for tier
|
232
|
+
// STANDARD is 500.
|
233
|
+
//
|
234
|
+
// To apply the same limit value for all users, just specify limit value for
|
235
|
+
// tier STANDARD. For example: {STANDARD:500}.
|
236
|
+
//
|
237
|
+
// To apply a regional overide for a tier, add a map entry with key
|
238
|
+
// "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
|
239
|
+
// override, add a map entry with key "<TIER>/{zone}".
|
240
|
+
// Further, a wildcard can be used at the end of a zone name in order to
|
241
|
+
// specify zone level overrides. For example:
|
242
|
+
// LOW: 10, STANDARD: 50, HIGH: 100,
|
243
|
+
// LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
|
244
|
+
// LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
|
245
|
+
//
|
246
|
+
// The regional overrides tier set for each region must be the same as
|
247
|
+
// the tier set for default limit values. Same rule applies for zone overrides
|
248
|
+
// tier as well.
|
249
|
+
//
|
250
|
+
// Used by metric-based quotas only.
|
251
|
+
map<string, int64> values = 10;
|
252
|
+
|
253
|
+
// User-visible display name for this limit.
|
254
|
+
// Optional. If not set, the UI will provide a default display name based on
|
255
|
+
// the quota configuration. This field can be used to override the default
|
256
|
+
// display name generated from the configuration.
|
257
|
+
string display_name = 12;
|
258
|
+
}
|
@@ -0,0 +1,299 @@
|
|
1
|
+
// Copyright 2020 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;
|
18
|
+
|
19
|
+
import "google/protobuf/descriptor.proto";
|
20
|
+
|
21
|
+
option cc_enable_arenas = true;
|
22
|
+
option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
|
23
|
+
option java_multiple_files = true;
|
24
|
+
option java_outer_classname = "ResourceProto";
|
25
|
+
option java_package = "com.google.api";
|
26
|
+
option objc_class_prefix = "GAPI";
|
27
|
+
|
28
|
+
extend google.protobuf.FieldOptions {
|
29
|
+
// An annotation that describes a resource reference, see
|
30
|
+
// [ResourceReference][].
|
31
|
+
google.api.ResourceReference resource_reference = 1055;
|
32
|
+
}
|
33
|
+
|
34
|
+
extend google.protobuf.FileOptions {
|
35
|
+
// An annotation that describes a resource definition without a corresponding
|
36
|
+
// message; see [ResourceDescriptor][].
|
37
|
+
repeated google.api.ResourceDescriptor resource_definition = 1053;
|
38
|
+
}
|
39
|
+
|
40
|
+
extend google.protobuf.MessageOptions {
|
41
|
+
// An annotation that describes a resource definition, see
|
42
|
+
// [ResourceDescriptor][].
|
43
|
+
google.api.ResourceDescriptor resource = 1053;
|
44
|
+
}
|
45
|
+
|
46
|
+
// A simple descriptor of a resource type.
|
47
|
+
//
|
48
|
+
// ResourceDescriptor annotates a resource message (either by means of a
|
49
|
+
// protobuf annotation or use in the service config), and associates the
|
50
|
+
// resource's schema, the resource type, and the pattern of the resource name.
|
51
|
+
//
|
52
|
+
// Example:
|
53
|
+
//
|
54
|
+
// message Topic {
|
55
|
+
// // Indicates this message defines a resource schema.
|
56
|
+
// // Declares the resource type in the format of {service}/{kind}.
|
57
|
+
// // For Kubernetes resources, the format is {api group}/{kind}.
|
58
|
+
// option (google.api.resource) = {
|
59
|
+
// type: "pubsub.googleapis.com/Topic"
|
60
|
+
// name_descriptor: {
|
61
|
+
// pattern: "projects/{project}/topics/{topic}"
|
62
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Project"
|
63
|
+
// parent_name_extractor: "projects/{project}"
|
64
|
+
// }
|
65
|
+
// };
|
66
|
+
// }
|
67
|
+
//
|
68
|
+
// The ResourceDescriptor Yaml config will look like:
|
69
|
+
//
|
70
|
+
// resources:
|
71
|
+
// - type: "pubsub.googleapis.com/Topic"
|
72
|
+
// name_descriptor:
|
73
|
+
// - pattern: "projects/{project}/topics/{topic}"
|
74
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Project"
|
75
|
+
// parent_name_extractor: "projects/{project}"
|
76
|
+
//
|
77
|
+
// Sometimes, resources have multiple patterns, typically because they can
|
78
|
+
// live under multiple parents.
|
79
|
+
//
|
80
|
+
// Example:
|
81
|
+
//
|
82
|
+
// message LogEntry {
|
83
|
+
// option (google.api.resource) = {
|
84
|
+
// type: "logging.googleapis.com/LogEntry"
|
85
|
+
// name_descriptor: {
|
86
|
+
// pattern: "projects/{project}/logs/{log}"
|
87
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Project"
|
88
|
+
// parent_name_extractor: "projects/{project}"
|
89
|
+
// }
|
90
|
+
// name_descriptor: {
|
91
|
+
// pattern: "folders/{folder}/logs/{log}"
|
92
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
93
|
+
// parent_name_extractor: "folders/{folder}"
|
94
|
+
// }
|
95
|
+
// name_descriptor: {
|
96
|
+
// pattern: "organizations/{organization}/logs/{log}"
|
97
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
98
|
+
// parent_name_extractor: "organizations/{organization}"
|
99
|
+
// }
|
100
|
+
// name_descriptor: {
|
101
|
+
// pattern: "billingAccounts/{billing_account}/logs/{log}"
|
102
|
+
// parent_type: "billing.googleapis.com/BillingAccount"
|
103
|
+
// parent_name_extractor: "billingAccounts/{billing_account}"
|
104
|
+
// }
|
105
|
+
// };
|
106
|
+
// }
|
107
|
+
//
|
108
|
+
// The ResourceDescriptor Yaml config will look like:
|
109
|
+
//
|
110
|
+
// resources:
|
111
|
+
// - type: 'logging.googleapis.com/LogEntry'
|
112
|
+
// name_descriptor:
|
113
|
+
// - pattern: "projects/{project}/logs/{log}"
|
114
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Project"
|
115
|
+
// parent_name_extractor: "projects/{project}"
|
116
|
+
// - pattern: "folders/{folder}/logs/{log}"
|
117
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
118
|
+
// parent_name_extractor: "folders/{folder}"
|
119
|
+
// - pattern: "organizations/{organization}/logs/{log}"
|
120
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
121
|
+
// parent_name_extractor: "organizations/{organization}"
|
122
|
+
// - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
123
|
+
// parent_type: "billing.googleapis.com/BillingAccount"
|
124
|
+
// parent_name_extractor: "billingAccounts/{billing_account}"
|
125
|
+
//
|
126
|
+
// For flexible resources, the resource name doesn't contain parent names, but
|
127
|
+
// the resource itself has parents for policy evaluation.
|
128
|
+
//
|
129
|
+
// Example:
|
130
|
+
//
|
131
|
+
// message Shelf {
|
132
|
+
// option (google.api.resource) = {
|
133
|
+
// type: "library.googleapis.com/Shelf"
|
134
|
+
// name_descriptor: {
|
135
|
+
// pattern: "shelves/{shelf}"
|
136
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Project"
|
137
|
+
// }
|
138
|
+
// name_descriptor: {
|
139
|
+
// pattern: "shelves/{shelf}"
|
140
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
141
|
+
// }
|
142
|
+
// };
|
143
|
+
// }
|
144
|
+
//
|
145
|
+
// The ResourceDescriptor Yaml config will look like:
|
146
|
+
//
|
147
|
+
// resources:
|
148
|
+
// - type: 'library.googleapis.com/Shelf'
|
149
|
+
// name_descriptor:
|
150
|
+
// - pattern: "shelves/{shelf}"
|
151
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Project"
|
152
|
+
// - pattern: "shelves/{shelf}"
|
153
|
+
// parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
154
|
+
message ResourceDescriptor {
|
155
|
+
// A description of the historical or future-looking state of the
|
156
|
+
// resource pattern.
|
157
|
+
enum History {
|
158
|
+
// The "unset" value.
|
159
|
+
HISTORY_UNSPECIFIED = 0;
|
160
|
+
|
161
|
+
// The resource originally had one pattern and launched as such, and
|
162
|
+
// additional patterns were added later.
|
163
|
+
ORIGINALLY_SINGLE_PATTERN = 1;
|
164
|
+
|
165
|
+
// The resource has one pattern, but the API owner expects to add more
|
166
|
+
// later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
|
167
|
+
// that from being necessary once there are multiple patterns.)
|
168
|
+
FUTURE_MULTI_PATTERN = 2;
|
169
|
+
}
|
170
|
+
|
171
|
+
// A flag representing a specific style that a resource claims to conform to.
|
172
|
+
enum Style {
|
173
|
+
// The unspecified value. Do not use.
|
174
|
+
STYLE_UNSPECIFIED = 0;
|
175
|
+
|
176
|
+
// This resource is intended to be "declarative-friendly".
|
177
|
+
//
|
178
|
+
// Declarative-friendly resources must be more strictly consistent, and
|
179
|
+
// setting this to true communicates to tools that this resource should
|
180
|
+
// adhere to declarative-friendly expectations.
|
181
|
+
//
|
182
|
+
// Note: This is used by the API linter (linter.aip.dev) to enable
|
183
|
+
// additional checks.
|
184
|
+
DECLARATIVE_FRIENDLY = 1;
|
185
|
+
}
|
186
|
+
|
187
|
+
// The resource type. It must be in the format of
|
188
|
+
// {service_name}/{resource_type_kind}. The `resource_type_kind` must be
|
189
|
+
// singular and must not include version numbers.
|
190
|
+
//
|
191
|
+
// Example: `storage.googleapis.com/Bucket`
|
192
|
+
//
|
193
|
+
// The value of the resource_type_kind must follow the regular expression
|
194
|
+
// /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
|
195
|
+
// should use PascalCase (UpperCamelCase). The maximum number of
|
196
|
+
// characters allowed for the `resource_type_kind` is 100.
|
197
|
+
string type = 1;
|
198
|
+
|
199
|
+
// Optional. The relative resource name pattern associated with this resource
|
200
|
+
// type. The DNS prefix of the full resource name shouldn't be specified here.
|
201
|
+
//
|
202
|
+
// The path pattern must follow the syntax, which aligns with HTTP binding
|
203
|
+
// syntax:
|
204
|
+
//
|
205
|
+
// Template = Segment { "/" Segment } ;
|
206
|
+
// Segment = LITERAL | Variable ;
|
207
|
+
// Variable = "{" LITERAL "}" ;
|
208
|
+
//
|
209
|
+
// Examples:
|
210
|
+
//
|
211
|
+
// - "projects/{project}/topics/{topic}"
|
212
|
+
// - "projects/{project}/knowledgeBases/{knowledge_base}"
|
213
|
+
//
|
214
|
+
// The components in braces correspond to the IDs for each resource in the
|
215
|
+
// hierarchy. It is expected that, if multiple patterns are provided,
|
216
|
+
// the same component name (e.g. "project") refers to IDs of the same
|
217
|
+
// type of resource.
|
218
|
+
repeated string pattern = 2;
|
219
|
+
|
220
|
+
// Optional. The field on the resource that designates the resource name
|
221
|
+
// field. If omitted, this is assumed to be "name".
|
222
|
+
string name_field = 3;
|
223
|
+
|
224
|
+
// Optional. The historical or future-looking state of the resource pattern.
|
225
|
+
//
|
226
|
+
// Example:
|
227
|
+
//
|
228
|
+
// // The InspectTemplate message originally only supported resource
|
229
|
+
// // names with organization, and project was added later.
|
230
|
+
// message InspectTemplate {
|
231
|
+
// option (google.api.resource) = {
|
232
|
+
// type: "dlp.googleapis.com/InspectTemplate"
|
233
|
+
// pattern:
|
234
|
+
// "organizations/{organization}/inspectTemplates/{inspect_template}"
|
235
|
+
// pattern: "projects/{project}/inspectTemplates/{inspect_template}"
|
236
|
+
// history: ORIGINALLY_SINGLE_PATTERN
|
237
|
+
// };
|
238
|
+
// }
|
239
|
+
History history = 4;
|
240
|
+
|
241
|
+
// The plural name used in the resource name and permission names, such as
|
242
|
+
// 'projects' for the resource name of 'projects/{project}' and the permission
|
243
|
+
// name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
|
244
|
+
// concept of the `plural` field in k8s CRD spec
|
245
|
+
// https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
246
|
+
//
|
247
|
+
// Note: The plural form is required even for singleton resources. See
|
248
|
+
// https://aip.dev/156
|
249
|
+
string plural = 5;
|
250
|
+
|
251
|
+
// The same concept of the `singular` field in k8s CRD spec
|
252
|
+
// https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
253
|
+
// Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
254
|
+
string singular = 6;
|
255
|
+
|
256
|
+
// Style flag(s) for this resource.
|
257
|
+
// These indicate that a resource is expected to conform to a given
|
258
|
+
// style. See the specific style flags for additional information.
|
259
|
+
repeated Style style = 10;
|
260
|
+
}
|
261
|
+
|
262
|
+
// Defines a proto annotation that describes a string field that refers to
|
263
|
+
// an API resource.
|
264
|
+
message ResourceReference {
|
265
|
+
// The resource type that the annotated field references.
|
266
|
+
//
|
267
|
+
// Example:
|
268
|
+
//
|
269
|
+
// message Subscription {
|
270
|
+
// string topic = 2 [(google.api.resource_reference) = {
|
271
|
+
// type: "pubsub.googleapis.com/Topic"
|
272
|
+
// }];
|
273
|
+
// }
|
274
|
+
//
|
275
|
+
// Occasionally, a field may reference an arbitrary resource. In this case,
|
276
|
+
// APIs use the special value * in their resource reference.
|
277
|
+
//
|
278
|
+
// Example:
|
279
|
+
//
|
280
|
+
// message GetIamPolicyRequest {
|
281
|
+
// string resource = 2 [(google.api.resource_reference) = {
|
282
|
+
// type: "*"
|
283
|
+
// }];
|
284
|
+
// }
|
285
|
+
string type = 1;
|
286
|
+
|
287
|
+
// The resource type of a child collection that the annotated field
|
288
|
+
// references. This is useful for annotating the `parent` field that
|
289
|
+
// doesn't have a fixed resource type.
|
290
|
+
//
|
291
|
+
// Example:
|
292
|
+
//
|
293
|
+
// message ListLogEntriesRequest {
|
294
|
+
// string parent = 1 [(google.api.resource_reference) = {
|
295
|
+
// child_type: "logging.googleapis.com/LogEntry"
|
296
|
+
// };
|
297
|
+
// }
|
298
|
+
string child_type = 2;
|
299
|
+
}
|