use conjure_http::endpoint;
/// Tag search over a Dataset, which can expand to multiple locator contexts.
#[conjure_http::conjure_endpoints(
    name = "TagSearchService",
    use_legacy_error_serialization
)]
pub trait TagSearchService {
    #[endpoint(
        method = POST,
        path = "/tag-search/v1/full-tags-for-channel",
        name = "getFullTagsForChannel",
        produces = conjure_http::server::StdResponseSerializer
    )]
    fn get_full_tags_for_channel(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        request: super::super::super::super::super::objects::scout::tag::api::GetFullTagsForChannelRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::tag::api::GetFullTagsForChannelResponse,
        conjure_http::private::Error,
    >;
}
/// Tag search over a Dataset, which can expand to multiple locator contexts.
#[conjure_http::conjure_endpoints(
    name = "TagSearchService",
    use_legacy_error_serialization
)]
pub trait AsyncTagSearchService {
    #[endpoint(
        method = POST,
        path = "/tag-search/v1/full-tags-for-channel",
        name = "getFullTagsForChannel",
        produces = conjure_http::server::StdResponseSerializer
    )]
    async fn get_full_tags_for_channel(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        request: super::super::super::super::super::objects::scout::tag::api::GetFullTagsForChannelRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::tag::api::GetFullTagsForChannelResponse,
        conjure_http::private::Error,
    >;
}
/// Tag search over a Dataset, which can expand to multiple locator contexts.
#[conjure_http::conjure_endpoints(
    name = "TagSearchService",
    use_legacy_error_serialization,
    local
)]
pub trait LocalAsyncTagSearchService {
    #[endpoint(
        method = POST,
        path = "/tag-search/v1/full-tags-for-channel",
        name = "getFullTagsForChannel",
        produces = conjure_http::server::StdResponseSerializer
    )]
    async fn get_full_tags_for_channel(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        request: super::super::super::super::super::objects::scout::tag::api::GetFullTagsForChannelRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::tag::api::GetFullTagsForChannelResponse,
        conjure_http::private::Error,
    >;
}
