Salesforce SDK Patterns Overview Production-ready patterns for jsforce (Node.js) and simple-salesforce (Python) — singleton connections, typed queries, error handling, and token refresh. Prerequisites - Completed setup - Familiarity with async/await and TypeScript generics - Understanding of Salesforce sObject model Instructions Step 1: Singleton Connection with Auto-Refresh Step 2: Typed sObject Interfaces Step 3: Type-Safe Query Builder Step 4: Error Handling Wrapper Step 5: Retry Logic for Transient Errors Output - Type-safe jsforce connection singleton with auto-refresh - Typed sObject in…