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
31 changes: 31 additions & 0 deletions proto/domain.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -2777,6 +2777,33 @@ struct WalletConfigRef {
1: required base.ID id
}

struct ExternalPaymentRoute {
1: required ShopConfigRef shop
}

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<PartyRouteID, ExternalPaymentRoute> payment_routes
5: required map<PartyRouteID, ExternalWithdrawalRoute> 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
Expand Down Expand Up @@ -2858,6 +2885,7 @@ union Reference {
33: ShopConfigRef shop_config
34: WalletConfigRef wallet_config
35: PartnerRef partner
36: ExternalPartyRoutesRef external_party_routes
}

union DomainObject {
Expand Down Expand Up @@ -2896,6 +2924,7 @@ union DomainObject {
33: ShopConfigObject shop_config
34: WalletConfigObject wallet_config
35: PartnerObject partner
36: ExternalPartyRoutesObject external_party_routes
}

union ReflessDomainObject {
Expand Down Expand Up @@ -2934,6 +2963,7 @@ union ReflessDomainObject {
33: ShopConfig shop_config
34: WalletConfig wallet_config
35: Partner partner
36: ExternalPartyRoutes external_party_routes
}

enum DomainObjectType {
Expand Down Expand Up @@ -2972,6 +3002,7 @@ enum DomainObjectType {
shop_config = 33
wallet_config = 34
partner = 35
external_party_routes = 36
}

/* Domain */
Expand Down
Loading