20#ifndef ORES_IAM_MESSAGING_ACCOUNT_HISTORY_PROTOCOL_HPP
21#define ORES_IAM_MESSAGING_ACCOUNT_HISTORY_PROTOCOL_HPP
26#include "ores.iam.api/domain/account_version.hpp"
28namespace ores::iam::messaging {
30struct account_version_history {
31 std::vector<ores::iam::domain::account_version> versions;
34struct get_account_history_request {
35 using response_type =
struct get_account_history_response;
36 static constexpr std::string_view nats_subject =
"iam.v1.accounts.history";
40struct get_account_history_response {
43 account_version_history history;