/** * The agent's data collection items that steer follow-up calls. Each defaults * to the built-in item for its purpose; `null` turns it off. */ export interface DataCollectionConfig { /** The item holding when the contact asked to be called back. */ callbackTime?: string; /** The item holding another number the contact asked to be called on. */ redirectPhoneNumber?: string; /** The item that is true when the contact asked not to be called again. */ stop?: string; /** Copies data collection results into dynamic variables for later calls: each key is a data collection item ID and its value the variable's name. */ mappings?: Record; }