From 500304a79f813ea75d26674e625e2b8c09fc9e0f Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 26 May 2025 02:39:59 +0300 Subject: [PATCH] Update proto definitions --- marketplace/marketplace.proto | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 marketplace/marketplace.proto diff --git a/marketplace/marketplace.proto b/marketplace/marketplace.proto new file mode 100644 index 0000000..81e1e5e --- /dev/null +++ b/marketplace/marketplace.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; +package marketplace; +option go_package = "./marketplace"; + +service MarketplaceService { + + rpc GetMarketplaceById(GetMarketplaceByIdRequest) returns (Marketplace); +} + +message GetMarketplaceByIdRequest { + uint64 marketplace_id = 1; // ID of the marketplace to retrieve +} +message Marketplace { + uint64 id = 1; + uint32 base_marketplace_id = 2; // ID of the base marketplace + string auth_data = 3; // Authentication data for the marketplace + string warehouse_id = 4; // ID of the warehouse associated with the marketplace +} + +