20#ifndef ORES_DQ_API_MESSAGING_DATASET_BUNDLE_PROTOCOL_HPP
21#define ORES_DQ_API_MESSAGING_DATASET_BUNDLE_PROTOCOL_HPP
26#include "ores.dq.api/domain/dataset_bundle.hpp"
28namespace ores::dq::messaging {
30struct get_dataset_bundles_request {
31 using response_type =
struct get_dataset_bundles_response;
32 static constexpr std::string_view nats_subject =
"dq.v1.dataset-bundles.list";
37struct get_dataset_bundles_response {
38 std::vector<ores::dq::domain::dataset_bundle> bundles;
39 int total_available_count = 0;
42struct save_dataset_bundle_request {
43 using response_type =
struct save_dataset_bundle_response;
44 static constexpr std::string_view nats_subject =
"dq.v1.dataset-bundles.save";
45 std::vector<ores::dq::domain::dataset_bundle> bundles;
48struct save_dataset_bundle_response {
53struct delete_dataset_bundle_request {
54 using response_type =
struct delete_dataset_bundle_response;
55 static constexpr std::string_view nats_subject =
"dq.v1.dataset-bundles.delete";
56 std::vector<std::string> ids;
59struct delete_dataset_bundle_response {
64struct get_dataset_bundle_history_request {
65 using response_type =
struct get_dataset_bundle_history_response;
66 static constexpr std::string_view nats_subject =
"dq.v1.dataset-bundles.history";
70struct get_dataset_bundle_history_response {
73 std::vector<ores::dq::domain::dataset_bundle> history;