feat(premium): add App Store and Google Play purchases (#3052)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-30 01:55:19 +02:00
1 parent 0b3418dcbe
commit e8cb167dbf
202 files changed
+17095 -49

No files matched your search

@@ -246,6 +246,11 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.SLOWMODE_RATE_LIMITED]: 'rate_limits.slowmode_rate_limited',
[APIErrorCodes.SMS_VERIFICATION_UNAVAILABLE]: 'http.service_unavailable',
[APIErrorCodes.SSO_REQUIRED]: 'misc.invalid_request_generic',
[APIErrorCodes.STORE_BILLING_UNAVAILABLE]: 'store_billing.unavailable',
[APIErrorCodes.STORE_NOTIFICATION_UNAUTHORIZED]: 'store_billing.notification_unauthorized',
[APIErrorCodes.STORE_PURCHASE_INVALID]: 'store_billing.purchase_invalid',
[APIErrorCodes.STORE_PURCHASE_OWNED_BY_OTHER_ACCOUNT]: 'store_billing.purchase_owned_by_other_account',
[APIErrorCodes.STORE_PURCHASE_SANDBOX_NOT_ENTITLED]: 'store_billing.purchase_sandbox_not_entitled',
[APIErrorCodes.STREAM_KEY_CHANNEL_MISMATCH]: 'calls_and_voice.stream_key_channel_mismatch',
[APIErrorCodes.STREAM_KEY_SCOPE_MISMATCH]: 'calls_and_voice.stream_key_scope_mismatch',
[APIErrorCodes.STRIPE_ERROR]: 'stripe.error',
@@ -303,6 +308,7 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.UNKNOWN_REPORT]: 'moderation_and_reports.unknown_report',
[APIErrorCodes.UNKNOWN_ROLE]: 'unknown_entities.unknown_role',
[APIErrorCodes.UNKNOWN_STICKER]: 'stickers_and_emojis.unknown_sticker',
[APIErrorCodes.UNKNOWN_STORE_PURCHASE]: 'store_billing.unknown_purchase',
[APIErrorCodes.UNKNOWN_SUSPICIOUS_FLAG]: 'admin_and_system.unknown_suspicious_flag',
[APIErrorCodes.UNKNOWN_USER_FLAG]: 'unknown_entities.unknown_user_flag',
[APIErrorCodes.UNKNOWN_USER]: 'unknown_entities.unknown_user',