#![allow(clippy::derive_partial_eq_without_eq)]
use tosho_macros::AutoGetter;
use super::AvailableLanguages;
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct ServiceAnnouncement {
#[prost(string, tag = "1")]
title: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
body: ::prost::alloc::string::String,
#[prost(int64, tag = "3")]
timestamp: i64,
#[prost(uint64, tag = "4")]
id: u64,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct ServiceAnnouncements {
#[prost(message, repeated, tag = "1")]
announcements: ::prost::alloc::vec::Vec<ServiceAnnouncement>,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct Feedback {
#[prost(int64, tag = "1")]
timestamp: i64,
#[prost(string, tag = "2")]
title: ::prost::alloc::string::String,
#[prost(enumeration = "super::FeedbackType", tag = "3")]
#[skip_field]
kind: i32,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct FeedbackList {
#[prost(message, repeated, tag = "1")]
feedbacks: ::prost::alloc::vec::Vec<Feedback>,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct PublisherNewsList {
#[prost(uint64, tag = "1")]
id: u64,
#[prost(string, tag = "2")]
name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "3")]
banner: ::core::option::Option<super::common::Banner>,
#[prost(message, repeated, tag = "4")]
news: ::prost::alloc::vec::Vec<super::common::PublisherNews>,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct Questionnaire {
#[prost(string, tag = "1")]
question: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "2")]
answers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(uint64, tag = "3")]
total_choices: u64,
#[prost(bool, tag = "4")]
hide_free_form: bool,
#[prost(string, optional, tag = "5")]
#[skip_field]
free_form: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag = "6")]
can_skip: bool,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct QuestionnaireResponse {
#[prost(bool, tag = "1")]
answered: bool,
#[prost(string, tag = "2")]
subject: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "3")]
questions: ::prost::alloc::vec::Vec<Questionnaire>,
#[prost(enumeration = "super::Language", tag = "4")]
#[skip_field]
language: i32,
}
#[derive(Clone, Copy, AutoGetter, PartialEq, ::prost::Message)]
pub struct InitialView {
#[prost(bool, tag = "1")]
gdpr_required: bool,
#[prost(uint64, tag = "2")]
english_titles: u64,
#[prost(uint64, tag = "3")]
spanish_titles: u64,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct InitialViewV2 {
#[prost(bool, tag = "1")]
gdpr_required: bool,
#[prost(message, repeated, tag = "2")]
languages: ::prost::alloc::vec::Vec<AvailableLanguages>,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct SearchContents {
#[prost(message, optional, tag = "1")]
banner: ::core::option::Option<super::common::Banner>,
#[prost(message, repeated, tag = "2")]
titles: ::prost::alloc::vec::Vec<super::titles::TitleList>,
#[prost(message, repeated, tag = "3")]
rankings: ::prost::alloc::vec::Vec<super::titles::TitleRankingGroup>,
#[prost(message, repeated, tag = "4")]
labels: ::prost::alloc::vec::Vec<super::common::Label>,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct SearchResults {
#[prost(message, repeated, tag = "1")]
top_banners: ::prost::alloc::vec::Vec<super::common::Banner>,
#[prost(message, repeated, tag = "2")]
tags: ::prost::alloc::vec::Vec<super::common::Tag>,
#[prost(message, repeated, tag = "3")]
titles: ::prost::alloc::vec::Vec<super::titles::TitleListV2>,
#[prost(message, repeated, tag = "5")]
contents: ::prost::alloc::vec::Vec<SearchContents>,
}
#[derive(Clone, AutoGetter, PartialEq, ::prost::Message)]
pub struct SubscriptionResponse {
#[prost(message, optional, tag = "1")]
subscription: ::core::option::Option<super::accounts::UserSubscription>,
#[prost(message, repeated, tag = "2")]
plans: ::prost::alloc::vec::Vec<super::common::Plan>,
#[prost(message, repeated, tag = "3")]
titles: ::prost::alloc::vec::Vec<super::titles::SubscriptionTitles>,
#[prost(bool, tag = "4")]
free_trial_used: bool,
}