polyester/models/lifecycle.rs
1//! Lifecycle flow models (Go `models/trading.go` lifecycle parity).
2
3#[derive(Debug, Clone, PartialEq, Eq, Default)]
4pub struct LifecycleFlowSummary {
5 pub intent_id: String,
6 pub flow_kind: String,
7 pub latest_step: String,
8 pub is_open: bool,
9 pub is_terminal: bool,
10 pub owner_account_id: String,
11 pub smart_account_address: String,
12}
13
14#[derive(Debug, Clone, PartialEq, Eq)]
15pub struct LifecycleFlowsList {
16 pub flows: Vec<LifecycleFlowSummary>,
17 pub next_page_token: String,
18}