mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 02:57:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			324 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			324 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /* global axios */
 | |
| import ApiClient from './ApiClient';
 | |
| 
 | |
| class AssignableAgents extends ApiClient {
 | |
|   constructor() {
 | |
|     super('assignable_agents', { accountScoped: true });
 | |
|   }
 | |
| 
 | |
|   get(inboxIds) {
 | |
|     return axios.get(this.url, {
 | |
|       params: { inbox_ids: inboxIds },
 | |
|     });
 | |
|   }
 | |
| }
 | |
| 
 | |
| export default new AssignableAgents();
 | 
