Preheat the oven to 375°. Lightly oil or coat a 9x13" baking pan or dish with nonstick cooking spray and set aside.

Heat the oil in a large nonstick skillet over medium heat. Add the green onions and cook, stirring frequently, until softened, 3 minutes. Add the spinach, cumin, and chili powder, and continue to cook, stirring frequently, until wilted, 3 more minutes. Transfer the cooked veggies to a large bowl and set aside to cool, about 5 minutes. When cool, stir in 1 cup of the cheese, beans, corn, and cilantro until well-combined.

Meanwhile, place the enchilada sauce and pumpkin in a medium-size bowl, and whisk until well-combined. Spread ½ cup of the mixture evenly on the bottom of the prepared baking pan.

To assemble the enchiladas, place ½ cup of filling down the center of each flour tortilla. Roll up tightly, tucking in the ends, and place seam side down in the dish. Cover evenly with the remainder of the sauce, sprinkle with the remaining 1 cup cheese, and bake, uncovered, until bubbly, about 20 minutes.