Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / services / routing / rpc / mailQueue.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc0c1=['GetMailQueue','timeout','strategy','User','name','online','mailPause','../client','getMailQueues'];(function(_0x176e96,_0x56f9b6){var _0x5ef483=function(_0x5c6a36){while(--_0x5c6a36){_0x176e96['push'](_0x176e96['shift']());}};_0x5ef483(++_0x56f9b6);}(_0xc0c1,0x97));var _0x1c0c=function(_0x323b98,_0x52e3b3){_0x323b98=_0x323b98-0x0;var _0x599487=_0xc0c1[_0x323b98];return _0x599487;};'use strict';var client=require(_0x1c0c('0x0'));exports[_0x1c0c('0x1')]=function(){return function(){return client['Request'](_0x1c0c('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x1c0c('0x3'),_0x1c0c('0x4')],'include':[{'model':_0x1c0c('0x5'),'as':'Agents','attributes':['id',_0x1c0c('0x6'),_0x1c0c('0x7'),_0x1c0c('0x8')]}]},'log':_0x1c0c('0x1')});};};