Added features:
- Complete TypeScript definitions for all library functionality, including TaskSession interfaces, Agent extensions, and comprehensive type coverage for API parameters and responses.
- Build system integration to automatically include TypeScript definitions in distribution packages.
- Support for both CommonJS and ES module imports with proper type declarations.
Compatibility updates:
- Updated minimum Node.js requirement to version 18.0.0 to address compatibility issues with modern build tools.
- Updated build dependencies to latest stable versions, including Babel, webpack, and Jest.
- Resolved build system compatibility issues with recent Node.js versions.
Added functions:
agent.updateContactmethod to update a task contact created from a template.agent.listTaskTemplatesmethod to load a list of task templates that belong to a connect instance.agent.getTaskTemplatemethod to load a template data, including fields, default values and constraints.
Other changes:
agent.createTaskmethod supports new parameteres and allows to create templated tasks. See README.md for more details.connect.ReferenceTypenew reference types supported.