20#ifndef ORES_IAM_MESSAGING_TENANT_TYPE_PROTOCOL_HPP
21#define ORES_IAM_MESSAGING_TENANT_TYPE_PROTOCOL_HPP
25#include "ores.iam.api/domain/tenant_type.hpp"
27namespace ores::iam::messaging {
29struct get_tenant_types_request {
30 using response_type =
struct get_tenant_types_response;
31 static constexpr std::string_view nats_subject =
"iam.v1.tenant-types.list";
34struct get_tenant_types_response {
35 std::vector<ores::iam::domain::tenant_type> types;
38struct save_tenant_type_request {
39 using response_type =
struct save_tenant_type_response;
40 static constexpr std::string_view nats_subject =
"iam.v1.tenant-types.save";
44struct save_tenant_type_response {
49struct delete_tenant_type_request {
50 using response_type =
struct delete_tenant_type_response;
51 static constexpr std::string_view nats_subject =
"iam.v1.tenant-types.delete";
55struct delete_tenant_type_response {
60struct get_tenant_type_history_request {
61 using response_type =
struct get_tenant_type_history_response;
62 static constexpr std::string_view nats_subject =
"iam.v1.tenant-types.history";
66struct get_tenant_type_history_response {
69 std::vector<ores::iam::domain::tenant_type> history;
Classification of tenant types.
Definition tenant_type.hpp:38