From fbd952de992b235fd19c0d8286fec8f2d73e88a2 Mon Sep 17 00:00:00 2001 From: kostyastruga Date: Tue, 20 Jan 2026 18:16:42 +0700 Subject: [PATCH] Add method for check blocked shop --- proto/proxy_inspector.thrift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/proto/proxy_inspector.thrift b/proto/proxy_inspector.thrift index 13fe71f3..3283bfd8 100644 --- a/proto/proxy_inspector.thrift +++ b/proto/proxy_inspector.thrift @@ -68,10 +68,30 @@ struct Invoice { 5: optional domain.InvoiceClientInfo client_info } +struct ShopContext { + 1: required Party party + 2: required Shop shop +} + +struct InspectUserContext { + 1: required domain.ContactInfo user_info + 2: required list shop_list +} + +struct BlockedShops { + 1: required list shop_list +} + service InspectorProxy { domain.RiskScore InspectPayment (1: Context context) throws (1: base.InvalidRequest ex1) + /** + * Проверяет какие магазины недоступны для оплаты пользователю + **/ + BlockedShops InspectUser (1: InspectUserContext context) + throws (1: base.InvalidRequest ex1) + /** * Проверяет существование в черном списке **/