@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,304 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.xpaymentsplatform.paygatewaypsps.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "reddit/xpaymentsplatform/payorders/v1/order.proto";
|
7
|
+
import "reddit/xpaymentsplatform/payproducts/v1/currencies.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/reddit-service-pay-gateway-psps/gateway-api/api/xpaymentsplatform/paygatewaypspspb/v1;paygatewaypspspb";
|
10
|
+
|
11
|
+
message AcknowledgeDeliveryRequest {
|
12
|
+
PaymentProvider provider = 1;
|
13
|
+
Environment environment = 2;
|
14
|
+
|
15
|
+
string package_name = 3;
|
16
|
+
string product_id = 4;
|
17
|
+
string purchase_token = 5;
|
18
|
+
}
|
19
|
+
|
20
|
+
message AcknowledgeDeliveryResponse {}
|
21
|
+
|
22
|
+
message CreateProfileRequest {
|
23
|
+
PaymentProvider provider = 1;
|
24
|
+
Environment environment = 2;
|
25
|
+
|
26
|
+
string email = 3;
|
27
|
+
string metadata = 4; // JSON to attach to the profile TODO: currently unused
|
28
|
+
}
|
29
|
+
|
30
|
+
message CreateProfileResponse {
|
31
|
+
string profile_id = 1;
|
32
|
+
}
|
33
|
+
|
34
|
+
message CreateClientTokenRequest {
|
35
|
+
PaymentProvider provider = 1;
|
36
|
+
Environment environment = 2;
|
37
|
+
|
38
|
+
string payment_unit_id = 3; // idempotency key
|
39
|
+
int64 price = 4;
|
40
|
+
string statement_descriptor = 5;
|
41
|
+
PaymentProfile profile = 6;
|
42
|
+
string metadata = 7; // JSON to attach to the receipt
|
43
|
+
reddit.xpaymentsplatform.payproducts.v1.Currency currency = 8;
|
44
|
+
}
|
45
|
+
|
46
|
+
message PaymentProfile {
|
47
|
+
string email = 1;
|
48
|
+
string provider_id = 2;
|
49
|
+
}
|
50
|
+
|
51
|
+
message CreateClientTokenResponse {
|
52
|
+
string payment_id = 1;
|
53
|
+
string token = 2;
|
54
|
+
PaymentStatus status = 3;
|
55
|
+
}
|
56
|
+
|
57
|
+
message GetPaymentStatusRequest {
|
58
|
+
PaymentProvider provider = 1;
|
59
|
+
Environment environment = 2;
|
60
|
+
|
61
|
+
string payment_id = 3;
|
62
|
+
string package_name = 4;
|
63
|
+
string product_id = 5;
|
64
|
+
string purchase_token = 6;
|
65
|
+
}
|
66
|
+
|
67
|
+
message GetPaymentStatusResponse {
|
68
|
+
PaymentStatus status = 1;
|
69
|
+
}
|
70
|
+
|
71
|
+
message RefundRequest {
|
72
|
+
PaymentProvider provider = 1;
|
73
|
+
Environment environment = 2;
|
74
|
+
|
75
|
+
string payment_id = 3;
|
76
|
+
}
|
77
|
+
|
78
|
+
message RefundResponse {
|
79
|
+
string refund_id = 1;
|
80
|
+
RefundStatus status = 2;
|
81
|
+
}
|
82
|
+
|
83
|
+
message GetProductPurchaseRequest {
|
84
|
+
PaymentProvider provider = 1;
|
85
|
+
// This field is deprecated as Google purchase environment is determined by the purchase type
|
86
|
+
// This field will be ignored if set
|
87
|
+
Environment environment = 2 [deprecated = true];
|
88
|
+
|
89
|
+
string package_name = 3;
|
90
|
+
string product_id = 4;
|
91
|
+
string purchase_token = 5;
|
92
|
+
}
|
93
|
+
|
94
|
+
message GetProductPurchaseResponse {
|
95
|
+
string order_id = 1; // external order_id
|
96
|
+
PaymentStatus purchase_state = 2;
|
97
|
+
google.protobuf.Timestamp purchase_time = 3;
|
98
|
+
AcknowledgementState acknowledgement_state = 4;
|
99
|
+
string purchase_token = 5;
|
100
|
+
string product_id = 6;
|
101
|
+
string region_code = 7; // ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted
|
102
|
+
string obfuscated_external_account_id = 8; // contains the internal order_id
|
103
|
+
Environment environment = 9;
|
104
|
+
}
|
105
|
+
|
106
|
+
message GetProductRequest {
|
107
|
+
PaymentProvider provider = 1;
|
108
|
+
// Google doesn't support environment in the product request and doesn't return on either, so this field is obsolete
|
109
|
+
// This field will be ignored if set
|
110
|
+
Environment environment = 2 [deprecated = true];
|
111
|
+
|
112
|
+
string package_name = 3;
|
113
|
+
string product_id = 4;
|
114
|
+
}
|
115
|
+
|
116
|
+
message GetProductResponse {
|
117
|
+
string product_id = 1;
|
118
|
+
string price = 2; // Price in 1/million of the currency base unit, represented as a string
|
119
|
+
reddit.xpaymentsplatform.payproducts.v1.Currency currency = 3;
|
120
|
+
}
|
121
|
+
|
122
|
+
message GetStripeChargeRequest {
|
123
|
+
string charge_id = 1;
|
124
|
+
Environment environment = 2;
|
125
|
+
}
|
126
|
+
|
127
|
+
message GetStripeChargeResponse {
|
128
|
+
string risk_level = 1;
|
129
|
+
int64 risk_score = 2;
|
130
|
+
string rule_id = 3;
|
131
|
+
}
|
132
|
+
|
133
|
+
message CreateRecurringPaymentRequest {
|
134
|
+
PaymentProvider provider = 1;
|
135
|
+
Environment environment = 2;
|
136
|
+
|
137
|
+
string payment_id = 3; // idempotency key
|
138
|
+
string external_product_id = 4;
|
139
|
+
string product_description = 5;
|
140
|
+
PaymentProfile profile = 6;
|
141
|
+
string metadata = 7; // JSON
|
142
|
+
}
|
143
|
+
|
144
|
+
message CreateRecurringPaymentResponse {
|
145
|
+
string recurring_payment_id = 1;
|
146
|
+
string initial_payment_id = 2;
|
147
|
+
string client_token = 3;
|
148
|
+
PaymentStatus status = 4;
|
149
|
+
}
|
150
|
+
|
151
|
+
message GetRecurringPaymentStatusRequest {
|
152
|
+
PaymentProvider provider = 1;
|
153
|
+
Environment environment = 2;
|
154
|
+
|
155
|
+
string recurring_payment_id = 3;
|
156
|
+
string package_name = 4;
|
157
|
+
}
|
158
|
+
|
159
|
+
message GetRecurringPaymentStatusResponse {
|
160
|
+
string recurring_payment_id = 1;
|
161
|
+
RecurringPaymentState state = 2;
|
162
|
+
AcknowledgementState acknowledgement_state = 3;
|
163
|
+
string purchase_token = 4; // Provider-specific data for managing the recurring payment
|
164
|
+
string external_product_id = 5;
|
165
|
+
string region_code = 6; // ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted
|
166
|
+
string order_id = 7;
|
167
|
+
Environment environment = 8;
|
168
|
+
google.protobuf.Timestamp starts_at = 9;
|
169
|
+
google.protobuf.Timestamp trial_ends_at = 10;
|
170
|
+
google.protobuf.Timestamp next_renewal_at = 11;
|
171
|
+
google.protobuf.Timestamp grace_ends_at = 12;
|
172
|
+
google.protobuf.Timestamp ends_at = 13;
|
173
|
+
string latest_payment_id = 14;
|
174
|
+
string latest_payment_price = 15; // Price in 1/million of the currency base unit, represented as a string
|
175
|
+
reddit.xpaymentsplatform.payproducts.v1.Currency latest_payment_currency = 16;
|
176
|
+
string metadata = 17; // JSON
|
177
|
+
}
|
178
|
+
|
179
|
+
message FinalizeDevvitOrderRequest {
|
180
|
+
reddit.xpaymentsplatform.payorders.v1.Order order = 1;
|
181
|
+
}
|
182
|
+
|
183
|
+
message FinalizeDevvitOrderResponse {
|
184
|
+
oneof result {
|
185
|
+
// the product has been acknowledged and delivered
|
186
|
+
bool acknowledged = 1;
|
187
|
+
// the reason for rejecting product delivery
|
188
|
+
string rejection_reason = 2;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
message ExchangeRate {
|
193
|
+
string currency_name = 1;
|
194
|
+
int64 currency_rate = 2;
|
195
|
+
}
|
196
|
+
|
197
|
+
message GetExchangeRatesRequest {
|
198
|
+
string base_currency = 1;
|
199
|
+
repeated string target_currencies = 2;
|
200
|
+
}
|
201
|
+
|
202
|
+
message GetExchangeRatesResponse {
|
203
|
+
string base_currency = 1;
|
204
|
+
repeated ExchangeRate rates = 2;
|
205
|
+
}
|
206
|
+
|
207
|
+
message CancelRecurringPaymentRequest {
|
208
|
+
PaymentProvider provider = 1;
|
209
|
+
Environment environment = 2;
|
210
|
+
|
211
|
+
string payment_id = 3;
|
212
|
+
}
|
213
|
+
|
214
|
+
message CancelRecurringPaymentResponse {}
|
215
|
+
|
216
|
+
message ChangePaymentMethodRequest {
|
217
|
+
string user_id = 1;
|
218
|
+
string recurring_payment_id = 2;
|
219
|
+
PaymentProvider payment_provider = 3;
|
220
|
+
Environment environment = 4;
|
221
|
+
optional string success_url = 5;
|
222
|
+
optional string cancel_url = 6;
|
223
|
+
}
|
224
|
+
|
225
|
+
message ChangePaymentMethodResponse {
|
226
|
+
string payment_token = 1;
|
227
|
+
}
|
228
|
+
|
229
|
+
message AcknowledgeRecurringPaymentRequest {
|
230
|
+
PaymentProvider provider = 1;
|
231
|
+
Environment environment = 2;
|
232
|
+
|
233
|
+
string recurring_payment_id = 3;
|
234
|
+
string purchase_token = 4; // Provider-specific data (from GetRecurringPaymentStatusResponse) for managing the recurring payment
|
235
|
+
}
|
236
|
+
|
237
|
+
message AcknowledgeRecurringPaymentResponse {}
|
238
|
+
|
239
|
+
enum PaymentProvider {
|
240
|
+
PAYMENT_PROVIDER_UNSPECIFIED = 0;
|
241
|
+
PAYMENT_PROVIDER_GOOGLE = 1;
|
242
|
+
PAYMENT_PROVIDER_STRIPE = 2;
|
243
|
+
}
|
244
|
+
|
245
|
+
enum Environment {
|
246
|
+
ENVIRONMENT_UNSPECIFIED = 0;
|
247
|
+
ENVIRONMENT_SANDBOX = 1;
|
248
|
+
ENVIRONMENT_PRODUCTION = 2;
|
249
|
+
}
|
250
|
+
|
251
|
+
enum PaymentStatus {
|
252
|
+
PAYMENT_STATUS_UNSPECIFIED = 0;
|
253
|
+
PAYMENT_STATUS_SUCCESS = 1;
|
254
|
+
PAYMENT_STATUS_CANCELED = 2;
|
255
|
+
PAYMENT_STATUS_PROCESSING = 3;
|
256
|
+
PAYMENT_STATUS_REQUIRES_PAYMENT_METHOD = 4;
|
257
|
+
}
|
258
|
+
|
259
|
+
enum RefundStatus {
|
260
|
+
REFUND_STATUS_UNSPECIFIED = 0;
|
261
|
+
REFUND_STATUS_PENDING = 1;
|
262
|
+
REFUND_STATUS_REQUIRES_ACTION = 2;
|
263
|
+
REFUND_STATUS_SUCCEEDED = 3;
|
264
|
+
REFUND_STATUS_FAILED = 4;
|
265
|
+
REFUND_STATUS_CANCELED = 5;
|
266
|
+
}
|
267
|
+
|
268
|
+
enum AcknowledgementState {
|
269
|
+
ACKNOWLEDGEMENT_STATE_UNSPECIFIED = 0;
|
270
|
+
ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED = 1;
|
271
|
+
ACKNOWLEDGEMENT_STATE_UNACKNOWLEDGED = 2;
|
272
|
+
}
|
273
|
+
|
274
|
+
enum RecurringPaymentState {
|
275
|
+
RECURRING_PAYMENT_STATE_UNSPECIFIED = 0;
|
276
|
+
RECURRING_PAYMENT_STATE_PENDING = 1;
|
277
|
+
RECURRING_PAYMENT_STATE_ACTIVE = 2;
|
278
|
+
RECURRING_PAYMENT_STATE_CANCELED = 3;
|
279
|
+
RECURRING_PAYMENT_STATE_TERMINATED = 4;
|
280
|
+
RECURRING_PAYMENT_STATE_FAILED = 5;
|
281
|
+
}
|
282
|
+
|
283
|
+
service PayGatewayPSPsService {
|
284
|
+
rpc AcknowledgeDelivery(AcknowledgeDeliveryRequest) returns (AcknowledgeDeliveryResponse) {}
|
285
|
+
rpc CreateClientToken(CreateClientTokenRequest) returns (CreateClientTokenResponse) {}
|
286
|
+
rpc CreateProfile(CreateProfileRequest) returns (CreateProfileResponse) {}
|
287
|
+
rpc CreateRecurringPayment(CreateRecurringPaymentRequest) returns (CreateRecurringPaymentResponse) {}
|
288
|
+
|
289
|
+
// Once the order is in status PAID Devvit will decide the next status "REVERTED" or "DELIVERED"
|
290
|
+
rpc FinalizeDevvitOrder(FinalizeDevvitOrderRequest) returns (FinalizeDevvitOrderResponse) {}
|
291
|
+
rpc GetPaymentStatus(GetPaymentStatusRequest) returns (GetPaymentStatusResponse) {}
|
292
|
+
rpc GetRecurringPaymentStatus(GetRecurringPaymentStatusRequest) returns (GetRecurringPaymentStatusResponse) {}
|
293
|
+
rpc GetProduct(GetProductRequest) returns (GetProductResponse) {}
|
294
|
+
rpc GetProductPurchase(GetProductPurchaseRequest) returns (GetProductPurchaseResponse) {}
|
295
|
+
rpc GetStripeCharge(GetStripeChargeRequest) returns (GetStripeChargeResponse) {}
|
296
|
+
rpc Refund(RefundRequest) returns (RefundResponse) {}
|
297
|
+
|
298
|
+
rpc GetExchangeRates(GetExchangeRatesRequest) returns (GetExchangeRatesResponse) {}
|
299
|
+
// CancelRecurringPayment cancels a recurring payment.
|
300
|
+
rpc CancelRecurringPayment(CancelRecurringPaymentRequest) returns (CancelRecurringPaymentResponse) {}
|
301
|
+
// ChangePaymentMethod changes the payment method for a recurring payment.
|
302
|
+
rpc ChangePaymentMethod(ChangePaymentMethodRequest) returns (ChangePaymentMethodResponse) {}
|
303
|
+
rpc AcknowledgeRecurringPayment(AcknowledgeRecurringPaymentRequest) returns (AcknowledgeRecurringPaymentResponse) {}
|
304
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/events.proto
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.xpaymentsplatform.payorders.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "reddit/xpaymentsplatform/payorders/v1/order.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/reddit-service-pay-orders/orders-api/api/xpaymentsplatform/payorderspb/v1;payorderspb";
|
9
|
+
|
10
|
+
// OrderStatusUpdateEvent is a notification about updated order status
|
11
|
+
message OrderStatusUpdateEvent {
|
12
|
+
Order order = 1;
|
13
|
+
OrderStatus previous_status = 2;
|
14
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/order.proto
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.xpaymentsplatform.payorders.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "reddit/xpaymentsplatform/paycommon/v1/order_status_reason.proto";
|
7
|
+
import "reddit/xpaymentsplatform/paypayments/v1/paypayments.proto";
|
8
|
+
import "reddit/xpaymentsplatform/payproducts/v1/payproducts.proto";
|
9
|
+
|
10
|
+
option go_package = "github.snooguts.net/reddit/reddit-service-pay-orders/orders-api/api/xpaymentsplatform/payorderspb/v1;payorderspb";
|
11
|
+
|
12
|
+
enum OrderStatus {
|
13
|
+
ORDER_STATUS_UNSPECIFIED = 0;
|
14
|
+
|
15
|
+
NEW = 1;
|
16
|
+
CREATED = 2;
|
17
|
+
PAID = 3;
|
18
|
+
DELIVERED = 4; // One-time purchase delivered or subscription expired after being active.
|
19
|
+
CANCELED = 5; // [Before payment] Reddit decides to cancel a checkout before it was paid.
|
20
|
+
REVERTED = 6; // [After payment] Refund, chargeback.
|
21
|
+
ACTIVE = 7; // [Subscriptions only] Subscription is active.
|
22
|
+
}
|
23
|
+
|
24
|
+
enum StatusReason {
|
25
|
+
option deprecated = true; // Use pay-common's StatusReason instead
|
26
|
+
STATUS_REASON_UNSPECIFIED = 0;
|
27
|
+
|
28
|
+
REFUND_REDDIT_ADMIN = 1;
|
29
|
+
REFUND_PAYMENT_PLATFORM_INTERNAL = 2;
|
30
|
+
REFUND_PRODUCT_OWNER = 3;
|
31
|
+
|
32
|
+
CHARGEBACK = 4;
|
33
|
+
|
34
|
+
EXPIRED_INTERNAL_ERROR = 5;
|
35
|
+
EXPIRED_NOT_PAID = 6;
|
36
|
+
EXPIRED_NOT_DELIVERED = 7;
|
37
|
+
|
38
|
+
ECON_BLOCKER_VALIDATION_FAILED = 8;
|
39
|
+
}
|
40
|
+
|
41
|
+
enum OrderType {
|
42
|
+
ORDER_TYPE_UNSPECIFIED = 0;
|
43
|
+
ONE_TIME = 1;
|
44
|
+
SUBSCRIPTION = 2;
|
45
|
+
}
|
46
|
+
|
47
|
+
message Order {
|
48
|
+
string id = 1;
|
49
|
+
OrderStatus status = 2;
|
50
|
+
OrderType type = 12;
|
51
|
+
google.protobuf.Timestamp created_at = 3;
|
52
|
+
google.protobuf.Timestamp updated_at = 4;
|
53
|
+
|
54
|
+
repeated CartItem cart_items = 5;
|
55
|
+
|
56
|
+
CheckoutAction checkout_action = 6; // Each order has only one checkout possible
|
57
|
+
optional StatusReason old_status_reason = 7 [deprecated = true]; // Set only if status == CANCELED or REVERTED
|
58
|
+
optional reddit.xpaymentsplatform.paycommon.v1.StatusReason status_reason = 13; // Set only if status == CANCELED or REVERTED
|
59
|
+
|
60
|
+
reddit.xpaymentsplatform.payproducts.v1.Environment env = 8;
|
61
|
+
string seller_id = 9;
|
62
|
+
string buyer_id = 10;
|
63
|
+
map<string, string> metadata = 11;
|
64
|
+
}
|
65
|
+
|
66
|
+
message CheckoutAction {
|
67
|
+
reddit.xpaymentsplatform.paypayments.v1.PaymentMode mode = 1;
|
68
|
+
reddit.xpaymentsplatform.payproducts.v1.PaymentProvider payment_provider = 2;
|
69
|
+
string client_token = 3;
|
70
|
+
}
|
71
|
+
|
72
|
+
message ProductCheckoutMetadata {
|
73
|
+
bool is_anonymous = 1; // If the true, buyer info can't be shown to the seller.
|
74
|
+
string raw_client_metadata = 100; // The raw metadata sent by the client. Payment Platform will not interpret it.
|
75
|
+
}
|
76
|
+
|
77
|
+
message CartItem {
|
78
|
+
reddit.xpaymentsplatform.payproducts.v1.Product product = 1;
|
79
|
+
ProductCheckoutMetadata product_checkout_metadata = 2;
|
80
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.xpaymentsplatform.payorders.v1;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/reddit-service-pay-orders/orders-api/api/xpaymentsplatform/payorderspb/v1;payorderspb";
|
6
|
+
|
7
|
+
message DeleteUsersDataRequest {
|
8
|
+
string requester_id = 1;
|
9
|
+
repeated string user_ids = 2;
|
10
|
+
}
|
11
|
+
|
12
|
+
message DeleteUsersDataResponse {
|
13
|
+
repeated string user_ids = 1;
|
14
|
+
}
|
15
|
+
|
16
|
+
service DataComplianceService {
|
17
|
+
rpc DeleteUsersData(DeleteUsersDataRequest) returns (DeleteUsersDataResponse) {}
|
18
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.xpaymentsplatform.payorders.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "reddit/xpaymentsplatform/paycommon/v1/order_status_reason.proto";
|
7
|
+
import "reddit/xpaymentsplatform/payorders/v1/order.proto";
|
8
|
+
import "reddit/xpaymentsplatform/paypayments/v1/paypayments.proto";
|
9
|
+
import "reddit/xpaymentsplatform/payproducts/v1/payproducts.proto";
|
10
|
+
|
11
|
+
option go_package = "github.snooguts.net/reddit/reddit-service-pay-orders/orders-api/api/xpaymentsplatform/payorderspb/v1;payorderspb";
|
12
|
+
|
13
|
+
message GetOrderRequest {
|
14
|
+
string order_id = 1;
|
15
|
+
}
|
16
|
+
|
17
|
+
message GetOrderResponse {
|
18
|
+
Order order = 1;
|
19
|
+
}
|
20
|
+
|
21
|
+
message GetOrdersRequest {
|
22
|
+
repeated string order_ids = 1; // the order ids filter
|
23
|
+
string seller_id = 2; // t2_id of the app account
|
24
|
+
string buyer_id = 3; // t2_id of the buyer
|
25
|
+
google.protobuf.Timestamp created_at_start = 4; // the start of the time range
|
26
|
+
google.protobuf.Timestamp created_at_end = 5; // the end of the time range
|
27
|
+
OrderStatus status = 6; // the status filter of the order
|
28
|
+
map<string, string> checkout_metadata = 7; // the metadata filter of the order
|
29
|
+
reddit.xpaymentsplatform.payproducts.v1.Environment env = 8; // the environment filter of the order
|
30
|
+
PageInfo page_info = 20;
|
31
|
+
}
|
32
|
+
|
33
|
+
message GetOrdersResponse {
|
34
|
+
repeated Order orders = 1;
|
35
|
+
PageInfo next_page = 2;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Required to support pagination of GetOrders.
|
39
|
+
message PageInfo {
|
40
|
+
string start_cursor = 1; // if empty, start from the most recent transaction
|
41
|
+
int32 page_size = 2;
|
42
|
+
bool has_next_page = 3;
|
43
|
+
}
|
44
|
+
|
45
|
+
message CreateOrderRequest {
|
46
|
+
// Optional ID for a new order if client wants to use its own,
|
47
|
+
// otherwise new UUID will be generated and lower-case string representation will
|
48
|
+
// be used as an order ID.
|
49
|
+
// If order with provided ID already exists, check if:
|
50
|
+
// - buyerID is present, and it matches the one in the order
|
51
|
+
// - products are present, and they match the ones in the order
|
52
|
+
// return the stored order if all checks are positive. == Implementation of Order Idempotency
|
53
|
+
string order_id = 1;
|
54
|
+
|
55
|
+
string buyer_id = 2; // t2_Id
|
56
|
+
|
57
|
+
// It can only be [NEW, PAID]
|
58
|
+
// [NEW]: a new order is being created. It will require a payment
|
59
|
+
// [PAID]: a new order is being created. It will not require a payment
|
60
|
+
OrderStatus status = 3;
|
61
|
+
|
62
|
+
repeated CartItem cart_items = 4;
|
63
|
+
|
64
|
+
reddit.xpaymentsplatform.payproducts.v1.Environment env = 5;
|
65
|
+
// [P3] The order will expire at the given time
|
66
|
+
// required google.protobuf.Timestamp expiresAt = 4;
|
67
|
+
|
68
|
+
// User-scoped (buyer_id) idempotency key to provide instead of order_id if
|
69
|
+
// client wants to get server-generated order ID.
|
70
|
+
string reference_id = 6;
|
71
|
+
}
|
72
|
+
|
73
|
+
message MigrateOrdersRequest {
|
74
|
+
repeated MigrationOrder orders = 1;
|
75
|
+
}
|
76
|
+
|
77
|
+
message MigrationOrder {
|
78
|
+
string order_id = 1;
|
79
|
+
string buyer_id = 2;
|
80
|
+
OrderStatus status = 3;
|
81
|
+
repeated CartItem cart_items = 4;
|
82
|
+
reddit.xpaymentsplatform.payproducts.v1.Environment env = 5;
|
83
|
+
string reference_id = 6;
|
84
|
+
google.protobuf.Timestamp created_at = 7;
|
85
|
+
}
|
86
|
+
|
87
|
+
message MigrateOrdersResponse {}
|
88
|
+
|
89
|
+
message CreateOrderResponse {
|
90
|
+
Order order = 1;
|
91
|
+
}
|
92
|
+
|
93
|
+
message UpdateOrderRequest {
|
94
|
+
string order_id = 1;
|
95
|
+
|
96
|
+
// The new status of the order. Check the state machine for allowed transitions
|
97
|
+
OrderStatus status = 2;
|
98
|
+
|
99
|
+
// Type of the order determined during the checkout. Can be set only for NEW orders
|
100
|
+
OrderType type = 6;
|
101
|
+
|
102
|
+
CheckoutAction checkout_action = 3;
|
103
|
+
optional StatusReason old_reason = 4;
|
104
|
+
optional reddit.xpaymentsplatform.paycommon.v1.StatusReason reason = 7;
|
105
|
+
repeated CartItem cart_items = 5;
|
106
|
+
|
107
|
+
RecurringState recurring_state = 8;
|
108
|
+
}
|
109
|
+
|
110
|
+
message RecurringState {
|
111
|
+
google.protobuf.Timestamp starts_at = 1;
|
112
|
+
google.protobuf.Timestamp trial_ends_at = 2;
|
113
|
+
google.protobuf.Timestamp next_renewal_at = 3;
|
114
|
+
google.protobuf.Timestamp grace_ends_at = 4;
|
115
|
+
google.protobuf.Timestamp ends_at = 5;
|
116
|
+
}
|
117
|
+
|
118
|
+
message UpdateOrderResponse {
|
119
|
+
Order order = 1;
|
120
|
+
}
|
121
|
+
|
122
|
+
message AcknowledgeOrderDeliveryRequest {
|
123
|
+
string order_id = 1;
|
124
|
+
}
|
125
|
+
|
126
|
+
message AcknowledgeOrderDeliveryResponse {}
|
127
|
+
|
128
|
+
message GetOrdersByUserRequest {
|
129
|
+
string user_id = 1;
|
130
|
+
optional int32 limit = 2;
|
131
|
+
bool is_seller = 3;
|
132
|
+
}
|
133
|
+
|
134
|
+
message GetOrdersByUserResponse {
|
135
|
+
repeated Order orders = 1;
|
136
|
+
}
|
137
|
+
|
138
|
+
message TransferOrderRequest {
|
139
|
+
string order_id = 1;
|
140
|
+
payproducts.v1.Environment environment = 2;
|
141
|
+
string from_user_id = 3;
|
142
|
+
string to_user_id = 4;
|
143
|
+
}
|
144
|
+
|
145
|
+
message TransferOrderResponse {
|
146
|
+
Order order = 1;
|
147
|
+
}
|
148
|
+
|
149
|
+
service PayOrdersService {
|
150
|
+
// Same as public APIs
|
151
|
+
rpc GetOrder(GetOrderRequest) returns (GetOrderResponse) {}
|
152
|
+
|
153
|
+
rpc GetOrders(GetOrdersRequest) returns (GetOrdersResponse) {}
|
154
|
+
|
155
|
+
rpc CreateOrder(CreateOrderRequest) returns (CreateOrderResponse) {}
|
156
|
+
|
157
|
+
rpc MigrateOrders(MigrateOrdersRequest) returns (MigrateOrdersResponse) {}
|
158
|
+
|
159
|
+
// The update will be executed only if the update complies with the state machine
|
160
|
+
rpc UpdateOrder(UpdateOrderRequest) returns (UpdateOrderResponse) {}
|
161
|
+
|
162
|
+
rpc AcknowledgeOrderDelivery(AcknowledgeOrderDeliveryRequest) returns (AcknowledgeOrderDeliveryResponse) {}
|
163
|
+
|
164
|
+
// should only be used by admin panel
|
165
|
+
rpc GetOrdersByUser(GetOrdersByUserRequest) returns (GetOrdersByUserResponse) {}
|
166
|
+
// TransferOrder transfers an order between users.
|
167
|
+
rpc TransferOrder(TransferOrderRequest) returns (TransferOrderResponse) {}
|
168
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.xpaymentsplatform.paypayments.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "reddit/xpaymentsplatform/paypayments/v1/paypayments.proto";
|
7
|
+
import "reddit/xpaymentsplatform/payproducts/v1/payproducts.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/reddit-service-pay-payments/payments-api/api/xpaymentsplatform/paypaymentspb/v1;paypaymentspb";
|
10
|
+
|
11
|
+
message GetUserDataRequest {
|
12
|
+
string user_id = 1;
|
13
|
+
}
|
14
|
+
|
15
|
+
message Account {
|
16
|
+
string id = 1;
|
17
|
+
string owner_id = 2;
|
18
|
+
string currency = 3;
|
19
|
+
int64 balance = 4;
|
20
|
+
repeated Transaction transactions = 5;
|
21
|
+
google.protobuf.Timestamp created_at = 6;
|
22
|
+
}
|
23
|
+
|
24
|
+
message Transaction {
|
25
|
+
string order_id = 1;
|
26
|
+
string product_id = 2;
|
27
|
+
string product_type = 3;
|
28
|
+
string currency = 4;
|
29
|
+
int64 amount = 5;
|
30
|
+
reddit.xpaymentsplatform.paypayments.v1.PaymentUnitStatus status = 6;
|
31
|
+
reddit.xpaymentsplatform.payproducts.v1.PaymentProvider provider = 7;
|
32
|
+
string from_user_id = 8;
|
33
|
+
string to_user_id = 9;
|
34
|
+
string external_payment_id = 10;
|
35
|
+
google.protobuf.Timestamp timestamp = 11;
|
36
|
+
}
|
37
|
+
|
38
|
+
message GetUserDataResponse {
|
39
|
+
repeated Account accounts = 1;
|
40
|
+
}
|
41
|
+
|
42
|
+
service AdminService {
|
43
|
+
rpc GetUserData(GetUserDataRequest) returns (GetUserDataResponse) {}
|
44
|
+
}
|