// this file is @generated
#![allow(clippy::too_many_arguments)]

{% for _, type in api.types | items -%}
    mod {{ type.name | to_snake_case }};
{% endfor -%}

// not currently generated
#[cfg(feature = "svix_beta")]
mod message_events_out;
mod http_error_out;
mod http_validation_error;
mod validation_error;

pub use self::{
    {% for _, type in api.types | items -%}
        {% set type_name = type.name | to_upper_camel_case -%}
        {{ type.name | to_snake_case }}::{
            {{ type_name }},
            {% if type.kind == "struct_enum" and type.fields | length > 0 -%}
                {{ type_name }}{{ type.content_field | to_upper_camel_case }}
            {% endif -%}
        },
    {% endfor -%}
};

// not currently generated
#[cfg(feature = "svix_beta")]
pub use self::message_events_out::MessageEventsOut;
pub use self::{
    http_error_out::HttpErrorOut,
    http_validation_error::HttpValidationError,
    validation_error::ValidationError,
};
