pub async fn validate_and_prepare_template_session(
infra: &InfraContext<'_>,
token: &str,
params: &ApplyTemplateParams,
) -> Result<(BosSession, Vec<String>), Error>Expand description
Validate template access, resolve limit targets, and build a BOS session ready for creation.
Returns (bos_session, resolved_limit_vec).