With the exception if they were booked before December 19th, 2016 (which should allow for credit for flights flown after April 30th).
As is typical with most airline programs, flights operated by non-partners (regardless of ticketing or marketing carrier) do not earn miles --
https://www.alaskaair.com/content/mi...onditions.aspx
"Mileage will not accrue on flights operated by non-partner airlines."
Since Delta at the time of ticket purchase was still an AS Partner and KLM is also a partner the flights are eligible for credit but will be based on the Metal flown. In this case, the flights will credit from the KLM chart even though they are Delta Codeshare flight numbers. I know that the t&c state that it must be marketed and operated by the partner airline but there is some leniency when the operating and marketing airlines are both partners.
I confirmed this with Mileage Plan the other day. If I purchase an AA itinerary with codeshare segments on BA then the actual segments on AA will post with AA's chart and the codeshare segments with BA will post with BA's chart. Here it is the metal that counts, not the flight numbers. For instance if your itinerary includes AA6127 SEA-LHR on BA it will post as if it was BA48.
Hope this helps. I am on AA J flights SEA-DFW-MAD next week. My return is VCE-PHL-SEA in mid July booked during Black Friday weekend last year. Several changes meant lost connections on the return so convinced them to waive the $1000.00 change fee for the two tickets and cut my vacation short by three days because I wanted to be on all AA metal. They wanted to put me on BA and I refused. Wish I had known then that the AA codeshare flights on BA would have credited with the BA chart. Live and learn. Still over 23K EQM and 38K RDM. Already Golden on all AS metal and have a 10 segment, 4 country all AS itinerary in October using a companion fare and my GGU's. Nearly 16K EQM & 32K RDM Best use of one single GGU ever for me. SJO-LAX-SEA-PVR all with less than a four hour connection time. For me, flying is part of the vacation. 😁
Happy traveling everyone.