//! azzurro — Rust parsing library for the ZCS Azzurro Portal API.
//!
//! Provides request builders and response types for the three API endpoints:
//! [`historicData`](HistoricRequest), [`realtimeData`](RealtimeRequest), and
//! [`deviceAlarm`](DeviceAlarmRequest).
//!
//! This crate handles JSON serialization/deserialization only.
//! HTTP transport (POST to `https://third.zcsazzurroportal.com:19003/` with
//! `Authorization: Zcs <token>`) is left to the caller.

mod common;
mod alarm;
mod historic;
mod realtime;

pub use common::RequiredValues;

pub use alarm::{
    DeviceAlarmCommand, DeviceAlarmData, DeviceAlarmParams, DeviceAlarmRequest,
    DeviceAlarmResponse, DeviceAlarmResult, DeviceAlarmResultParams,
};
pub use historic::{
    HistoricCommand, HistoricDeviceData, HistoricParams, HistoricRequest, HistoricResponse,
    HistoricResult, HistoricResultParams,
};
pub use realtime::{
    RealtimeCommand, RealtimeDeviceData, RealtimeParams, RealtimeRequest, RealtimeResponse,
    RealtimeResult, RealtimeResultParams,
};
