20#ifndef ORES_REFDATA_API_MESSAGING_PARTY_STATUS_PROTOCOL_HPP
21#define ORES_REFDATA_API_MESSAGING_PARTY_STATUS_PROTOCOL_HPP
25#include "ores.refdata.api/domain/party_status.hpp"
27namespace ores::refdata::messaging {
29struct get_party_statuses_request {
30 using response_type =
struct get_party_statuses_response;
31 static constexpr std::string_view nats_subject =
"refdata.v1.party-statuses.list";
36struct get_party_statuses_response {
37 std::vector<ores::refdata::domain::party_status> party_statuses;
38 int total_available_count = 0;
41struct save_party_status_request {
42 using response_type =
struct save_party_status_response;
43 static constexpr std::string_view nats_subject =
"refdata.v1.party-statuses.save";
47struct save_party_status_response {
52struct delete_party_status_request {
53 using response_type =
struct delete_party_status_response;
54 static constexpr std::string_view nats_subject =
"refdata.v1.party-statuses.delete";
58struct delete_party_status_response {
63struct get_party_status_history_request {
64 using response_type =
struct get_party_status_history_response;
65 static constexpr std::string_view nats_subject =
"refdata.v1.party-statuses.history";
69struct get_party_status_history_response {
72 std::vector<ores::refdata::domain::party_status> history;
Lifecycle states for party and counterparty records.
Definition party_status.hpp:38