mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	* Enhancement: Ability to assign administrators as conversation assignee Co-authored-by: Nithin David Thomas <webofnithin@gmail.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			297 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			297 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/* global axios */
 | 
						|
import ApiClient from './ApiClient';
 | 
						|
 | 
						|
class Inboxes extends ApiClient {
 | 
						|
  constructor() {
 | 
						|
    super('inboxes', { accountScoped: true });
 | 
						|
  }
 | 
						|
 | 
						|
  getAssignableAgents(inboxId) {
 | 
						|
    return axios.get(`${this.url}/${inboxId}/assignable_agents`);
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
export default new Inboxes();
 |