20#ifndef ORES_REFDATA_API_MESSAGING_BOOK_STATUS_PROTOCOL_HPP
21#define ORES_REFDATA_API_MESSAGING_BOOK_STATUS_PROTOCOL_HPP
25#include "ores.refdata.api/domain/book_status.hpp"
27namespace ores::refdata::messaging {
29struct get_book_statuses_request {
30 using response_type =
struct get_book_statuses_response;
31 static constexpr std::string_view nats_subject =
"refdata.v1.book-statuses.list";
34struct get_book_statuses_response {
35 std::vector<ores::refdata::domain::book_status> book_statuses;
38struct save_book_status_request {
39 using response_type =
struct save_book_status_response;
40 static constexpr std::string_view nats_subject =
"refdata.v1.book-statuses.save";
44struct save_book_status_response {
49struct delete_book_status_request {
50 using response_type =
struct delete_book_status_response;
51 static constexpr std::string_view nats_subject =
"refdata.v1.book-statuses.delete";
55struct delete_book_status_response {
60struct get_book_status_history_request {
61 using response_type =
struct get_book_status_history_response;
62 static constexpr std::string_view nats_subject =
"refdata.v1.book-statuses.history";
66struct get_book_status_history_response {
69 std::vector<ores::refdata::domain::book_status> history;
Lifecycle states for book records.
Definition book_status.hpp:38