20#ifndef ORES_REFDATA_API_MESSAGING_COUNTERPARTY_IDENTIFIER_PROTOCOL_HPP
21#define ORES_REFDATA_API_MESSAGING_COUNTERPARTY_IDENTIFIER_PROTOCOL_HPP
25#include "ores.refdata.api/domain/counterparty_identifier.hpp"
27namespace ores::refdata::messaging {
29struct get_counterparty_identifiers_request {
30 using response_type =
struct get_counterparty_identifiers_response;
31 static constexpr std::string_view nats_subject =
"refdata.v1.counterparty-identifiers.list";
32 std::string counterparty_id;
35struct get_counterparty_identifiers_response {
36 std::vector<ores::refdata::domain::counterparty_identifier> identifiers;
39struct save_counterparty_identifier_request {
40 using response_type =
struct save_counterparty_identifier_response;
41 static constexpr std::string_view nats_subject =
"refdata.v1.counterparty-identifiers.save";
45struct save_counterparty_identifier_response {
50struct delete_counterparty_identifier_request {
51 using response_type =
struct delete_counterparty_identifier_response;
52 static constexpr std::string_view nats_subject =
"refdata.v1.counterparty-identifiers.delete";
53 std::vector<std::string> ids;
56struct delete_counterparty_identifier_response {
An external identifier for a counterparty under a specific scheme.
Definition counterparty_identifier.hpp:36