mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
Co-authored-by: Riddhiagrawal001 <riddhi.agrawal2112@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
19 lines
508 B
Rust
19 lines
508 B
Rust
use common_utils::id_type;
|
|
use masking::Secret;
|
|
|
|
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
|
pub struct ChatRequest {
|
|
pub message: Secret<String>,
|
|
}
|
|
|
|
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
|
pub struct ChatResponse {
|
|
pub response: Secret<serde_json::Value>,
|
|
pub merchant_id: id_type::MerchantId,
|
|
pub status: String,
|
|
#[serde(skip_serializing)]
|
|
pub query_executed: Option<Secret<String>>,
|
|
#[serde(skip_serializing)]
|
|
pub row_count: Option<i32>,
|
|
}
|