From 65e6ae5304c959572fb7ee7546d08f6b023a20f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC?= Date: Tue, 24 Feb 2026 16:51:42 +0300 Subject: [PATCH 1/2] added --- proto/domain.thrift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/proto/domain.thrift b/proto/domain.thrift index 20ee1fa3..fdac7855 100644 --- a/proto/domain.thrift +++ b/proto/domain.thrift @@ -2756,6 +2756,22 @@ struct PartyConfigRef { 1: required base.ID id } +struct Partner { + 1: required string name + 2: optional string description + 3: required set providers + 4: optional set exclude_terminals +} + +struct PartnerObject { + 1: required PartnerRef ref + 2: required Partner data +} + +struct PartnerRef { + 1: required base.ID id +} + /* There are 3 requirements on Reference and DomainObject unions: * - all field types must be unique, * - all corresponding field names in both unions must match, @@ -2802,6 +2818,7 @@ union Reference { 32: PartyConfigRef party_config 33: ShopConfigRef shop_config 34: WalletConfigRef wallet_config + 35: PartnerRef partner } union DomainObject { @@ -2839,6 +2856,7 @@ union DomainObject { 32: PartyConfigObject party_config 33: ShopConfigObject shop_config 34: WalletConfigObject wallet_config + 35: PartnerObject partner } union ReflessDomainObject { @@ -2876,6 +2894,7 @@ union ReflessDomainObject { 32: PartyConfig party_config 33: ShopConfig shop_config 34: WalletConfig wallet_config + 35: Partner partner } enum DomainObjectType { @@ -2913,6 +2932,7 @@ enum DomainObjectType { party_config = 32 shop_config = 33 wallet_config = 34 + partner = 35 } /* Domain */ From 84795575e97f5c8271804b5e6ccd267ca13e2bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC?= Date: Tue, 24 Feb 2026 19:48:15 +0300 Subject: [PATCH 2/2] removed exclude --- proto/domain.thrift | 1 - 1 file changed, 1 deletion(-) diff --git a/proto/domain.thrift b/proto/domain.thrift index fdac7855..e6f48ff0 100644 --- a/proto/domain.thrift +++ b/proto/domain.thrift @@ -2760,7 +2760,6 @@ struct Partner { 1: required string name 2: optional string description 3: required set providers - 4: optional set exclude_terminals } struct PartnerObject {