From ce8e42cafce2b488b52d69072650d023c7c10fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC?= Date: Mon, 10 Aug 2026 19:02:11 +0300 Subject: [PATCH 1/2] added party routes --- proto/domain.thrift | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/proto/domain.thrift b/proto/domain.thrift index fc33d0ce..af0ac6ea 100644 --- a/proto/domain.thrift +++ b/proto/domain.thrift @@ -2777,6 +2777,31 @@ struct WalletConfigRef { 1: required base.ID id } +struct ExternalPaymentRoute { + 1: required ShopConfigRef shop +} + +struct ExternalWithdrawalRoute { + 1: required WalletConfigRef wallet +} + +struct ExternalPartyRoutes { + 1: required string name + 2: optional string description + 3: required PartyConfigRef party_ref + 4: required map payment_routes + 5: required map withdrawal_routes +} + +struct ExternalPartyRoutesObject { + 1: required ExternalPartyRoutesRef ref + 2: required ExternalPartyRoutes data +} + +struct ExternalPartyRoutesRef { + 1: required base.ID id +} + /** Участник. */ struct PartyConfig { 1: required string name @@ -2858,6 +2883,7 @@ union Reference { 33: ShopConfigRef shop_config 34: WalletConfigRef wallet_config 35: PartnerRef partner + 36: ExternalPartyRoutesRef external_party_routes } union DomainObject { @@ -2896,6 +2922,7 @@ union DomainObject { 33: ShopConfigObject shop_config 34: WalletConfigObject wallet_config 35: PartnerObject partner + 36: ExternalPartyRoutesObject external_party_routes } union ReflessDomainObject { @@ -2934,6 +2961,7 @@ union ReflessDomainObject { 33: ShopConfig shop_config 34: WalletConfig wallet_config 35: Partner partner + 36: ExternalPartyRoutes external_party_routes } enum DomainObjectType { @@ -2972,6 +3000,7 @@ enum DomainObjectType { shop_config = 33 wallet_config = 34 partner = 35 + external_party_routes = 36 } /* Domain */ From ab5383209279084284da56012551feab51697685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC?= Date: Tue, 11 Aug 2026 17:39:18 +0300 Subject: [PATCH 2/2] fixed --- proto/domain.thrift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/proto/domain.thrift b/proto/domain.thrift index af0ac6ea..ca7de2a1 100644 --- a/proto/domain.thrift +++ b/proto/domain.thrift @@ -2785,12 +2785,14 @@ struct ExternalWithdrawalRoute { 1: required WalletConfigRef wallet } +typedef string PartyRouteID + struct ExternalPartyRoutes { 1: required string name 2: optional string description 3: required PartyConfigRef party_ref - 4: required map payment_routes - 5: required map withdrawal_routes + 4: required map payment_routes + 5: required map withdrawal_routes } struct ExternalPartyRoutesObject {