20#ifndef ORES_ANALYTICS_MESSAGING_PRICING_ENGINE_TYPE_PROTOCOL_HPP
21#define ORES_ANALYTICS_MESSAGING_PRICING_ENGINE_TYPE_PROTOCOL_HPP
25#include "ores.analytics.api/domain/pricing_engine_type.hpp"
27namespace ores::analytics::messaging {
29struct get_pricing_engine_types_request {
30 using response_type =
struct get_pricing_engine_types_response;
31 static constexpr std::string_view nats_subject =
32 "analytics.v1.pricing_engine_types.list";
35struct get_pricing_engine_types_response {
36 std::vector<ores::analytics::domain::pricing_engine_type> types;
37 int total_available_count = 0;
42struct save_pricing_engine_type_request {
43 using response_type =
struct save_pricing_engine_type_response;
44 static constexpr std::string_view nats_subject =
45 "analytics.v1.pricing_engine_types.save";
49struct save_pricing_engine_type_response {
54struct delete_pricing_engine_type_request {
55 using response_type =
struct delete_pricing_engine_type_response;
56 static constexpr std::string_view nats_subject =
57 "analytics.v1.pricing_engine_types.delete";
58 std::vector<std::string> codes;
61struct delete_pricing_engine_type_response {
66struct get_pricing_engine_type_history_request {
67 using response_type =
struct get_pricing_engine_type_history_response;
68 static constexpr std::string_view nats_subject =
69 "analytics.v1.pricing_engine_types.history";
73struct get_pricing_engine_type_history_response {
74 std::vector<ores::analytics::domain::pricing_engine_type> types;
Analytics-specific product taxonomy for ORE pricing engines.
Definition pricing_engine_type.hpp:38