From a98f8ae75faa20f6c8a9c590a0c7cd191e8dfe17 Mon Sep 17 00:00:00 2001 From: kostyastruga Date: Thu, 29 Jan 2026 13:40:54 +0300 Subject: [PATCH 1/2] Add inspectUser --- proto/fraudbusters.thrift | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/proto/fraudbusters.thrift b/proto/fraudbusters.thrift index c0a8961..16470e0 100644 --- a/proto/fraudbusters.thrift +++ b/proto/fraudbusters.thrift @@ -436,6 +436,35 @@ exception HistoricalDataServiceException { 2: optional string reason } +struct ShopContext { + // Идентификатор party + 1: required ID party_id + // Идентификатор магазина + 2: required ID shop_id +} + +struct InspectUserContext { + 1: required ClientInfo user_info + 2: required list shop_list +} + +struct BlockedShops { + 1: required list shop_list +} + +/** +* Интерфейс для проверки +*/ +service InspectorService { + + /** + * Проверяет какие магазины недоступны для оплаты пользователю + **/ + BlockedShops InspectUser (1: InspectUserContext context) + throws (1: base.InvalidRequest ex1) + +} + /** * Интерфейс для управления FraudoPayment */ From 883f5870ed8f7eb991a564f316ae687beae6c504 Mon Sep 17 00:00:00 2001 From: kostyastruga Date: Thu, 29 Jan 2026 14:09:02 +0300 Subject: [PATCH 2/2] Add inspectUser --- proto/fraudbusters.thrift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/fraudbusters.thrift b/proto/fraudbusters.thrift index 16470e0..816ddb2 100644 --- a/proto/fraudbusters.thrift +++ b/proto/fraudbusters.thrift @@ -460,7 +460,7 @@ service InspectorService { /** * Проверяет какие магазины недоступны для оплаты пользователю **/ - BlockedShops InspectUser (1: InspectUserContext context) + BlockedShops InspectUserShops (1: InspectUserContext context) throws (1: base.InvalidRequest ex1) }