20#ifndef ORES_REFDATA_API_MESSAGING_COUNTERPARTY_CONTACT_INFORMATION_PROTOCOL_HPP
21#define ORES_REFDATA_API_MESSAGING_COUNTERPARTY_CONTACT_INFORMATION_PROTOCOL_HPP
25#include "ores.refdata.api/domain/counterparty_contact_information.hpp"
27namespace ores::refdata::messaging {
29struct get_counterparty_contact_informations_request {
30 using response_type =
struct get_counterparty_contact_informations_response;
31 static constexpr std::string_view nats_subject =
"refdata.v1.counterparty-contacts.list";
32 std::string counterparty_id;
35struct get_counterparty_contact_informations_response {
36 std::vector<ores::refdata::domain::counterparty_contact_information> contact_informations;
39struct save_counterparty_contact_information_request {
40 using response_type =
struct save_counterparty_contact_information_response;
41 static constexpr std::string_view nats_subject =
"refdata.v1.counterparty-contacts.save";
45struct save_counterparty_contact_information_response {
50struct delete_counterparty_contact_information_request {
51 using response_type =
struct delete_counterparty_contact_information_response;
52 static constexpr std::string_view nats_subject =
"refdata.v1.counterparty-contacts.delete";
53 std::vector<std::string> ids;
56struct delete_counterparty_contact_information_response {
Contact details for a counterparty organised by purpose.
Definition counterparty_contact_information.hpp:35