The sync process happens in two main phases: fetching BOM data and syncing to the database.
File: apps/erp/app/routes/api+/integrations.onshape.d.$did.v.$vid.e.$eid.bom.ts
- Calls the Onshape API to get the Bill of Materials for a document/version/element
- Transforms raw BOM rows into structured objects with headers as keys