Following with the consensus assumption I’d also be wondering if it did any damage to the cross brace on the swing arm which appears to be the source of impact, the shock if mounted at the time is likely not good either and the bottom pivots are also really not intended to deal with the stress of introducing a sudden and rather immobile pivot into the system, certainly nit if it’s riding damage so under proper load.
Done in a box before sale? (a) If the shop were me they’d be sending it back to giant for replacement as damage in transit. (b) if it’s fallen or what not in storage and done that much damage it should likely have done a lot more damage to as that’s really not an impact point on the frame so some other bit hit the ?ground? hard to move the suspension through that arc with enough momentum to dent the frame.
That they’re not sending it back and that’s the only damage says damaged in use to me. That or they had an unfortunate incident with a fork lift whilst it was in store.
In short I wouldn’t touch it.