Built motion from commit ffdca78c.|2.6.24
[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 _0xf9fb=['strategy','User','Agents','online','mailPause','../client','getMailQueues','Request','GetMailQueue','name'];(function(_0x2fdb32,_0x76d0d1){var _0x4fead1=function(_0x4a6cfe){while(--_0x4a6cfe){_0x2fdb32['push'](_0x2fdb32['shift']());}};_0x4fead1(++_0x76d0d1);}(_0xf9fb,0x177));var _0xbf9f=function(_0x56ed26,_0x110f34){_0x56ed26=_0x56ed26-0x0;var _0x5e9ed0=_0xf9fb[_0x56ed26];return _0x5e9ed0;};'use strict';var client=require(_0xbf9f('0x0'));exports[_0xbf9f('0x1')]=function(){return function(){return client[_0xbf9f('0x2')](_0xbf9f('0x3'),{'options':{'raw':![],'attributes':['id',_0xbf9f('0x4'),'timeout',_0xbf9f('0x5')],'include':[{'model':_0xbf9f('0x6'),'as':_0xbf9f('0x7'),'attributes':['id',_0xbf9f('0x4'),_0xbf9f('0x8'),_0xbf9f('0x9')]}]},'log':'getMailQueues'});};};