pub async fn get_pm_settlement_events( __arg0: State<AppState>, ) -> Result<SonicJson<ApiResponse<Vec<PmSettlementEventProjection>>>, ApiError>