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. |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| utils.ts | ||