Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions proto/proxy_inspector.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -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<ShopContext> shop_list
}

struct BlockedShops {
1: required list<ShopContext> 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)

/**
* Проверяет существование в черном списке
**/
Expand Down
Loading