Autotask API returns string values like 'PRIMARY' for some integer fields (e.g., emailTypeCode). Added safeInt() helper function to: - Parse numeric values correctly - Return null for non-numeric strings - Handle null/undefined/empty values This prevents database errors when syncing Resources with non-standard field values from Autotask API. |
||
|---|---|---|
| .. | ||
| api-helpers.ts | ||
| db-helpers.ts | ||
| device-lookup.ts | ||
| entity-mapper.ts | ||
| issue-type-helper.ts | ||
| logger.ts | ||
| sync-helpers.ts | ||
| sync-logger.ts | ||