Fixed field names to use proper camelCase from Autotask API instead of snake_case. This should resolve the issue where assigned_resource_id was NULL because the mapper was looking for incorrect field names. Changed mappings: - firstResponseDateTime (was first_response_date_time) - resolutionPlanDateTime (was resolution_plan_date_time) - resolvedDateTime (was resolved_date_time) - firstResponseAssignedResourceID (was first_response_assigned_resource_id) - firstResponseInitiatingResourceID (was first_response_initiating_resource_id) - projectID, opportunityID, contractID, monitorID (were snake_case) - All change approval and ticket fields converted to camelCase - All service thermometer fields converted to camelCase This fix should populate assigned_resource_id and other fields correctly on the next ticket sync. |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| utils.ts | ||