From 3a35915c730de4d208f05060cf9492e10a820e98 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 17 Jan 2026 08:52:39 +0300 Subject: [PATCH] Update index.ts --- src/types/index.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/types/index.ts b/src/types/index.ts index 5fb15cb..64cb61f 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -486,3 +486,33 @@ export interface AppConfig { supportUrl?: string } } + +// Pending payment types +export interface PendingPayment { + id: number + method: string + method_display: string + identifier: string + amount_kopeks: number + amount_rubles: number + status: string + status_emoji: string + status_text: string + is_paid: boolean + is_checkable: boolean + created_at: string + expires_at: string | null + payment_url: string | null + user_id?: number + user_telegram_id?: number + user_username?: string | null +} + +export interface ManualCheckResponse { + success: boolean + message: string + payment: PendingPayment | null + status_changed: boolean + old_status: string | null + new_status: string | null +}