apply_support_lifecycle_effects

Function apply_support_lifecycle_effects 

Source
pub fn apply_support_lifecycle_effects(
    response: &mut Value,
    lifecycle: &PersonaLifecycle,
)
Expand description

Apply lifecycle state effects to a response for support endpoints

Modifies support-related fields based on the persona’s lifecycle state. For example, ChurnRisk personas might have support tickets, while PaymentFailed personas have billing-related support issues.