Preheat oven to 350 degrees. Grease a 9-inch loaf pan whatever way you please (I use Pam baking spray). Whisk together the sugar and oil until blended, then add the eggs and pumpkin. Lay out two paper towels, stacked on top of one another. Lay the grated apples over the paper towels. Roll up the paper towels into a log and squeeze gently to remove excess juices from the apples. Add the grated apples to the pumpkin mixture and mix to combine. In another bowl, stir together the flours, spices, salt, baking powder and baking soda. Add the pumpkin mixture to the dry ingredients and stir until combined. Mix in the walnuts and let batter rest for 15 to 20 minutes. When ready to bake, pour the batter into the prepared loaf pan. Bake until the loaf is very dark and a tester inserted deep into the middle comes out clean, about 1 hour and 15 minutes. Transfer to a cooling rack and cool in pan for ten minutes, then turn onto rack to cool completely.