Built motion from commit (unavailable).|2.5.0
[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 _0xd80c=['User','Agents','online','../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy'];(function(_0x2886ac,_0x4b3fd1){var _0x419a99=function(_0x4c8301){while(--_0x4c8301){_0x2886ac['push'](_0x2886ac['shift']());}};_0x419a99(++_0x4b3fd1);}(_0xd80c,0x107));var _0xcd80=function(_0x3af418,_0x473792){_0x3af418=_0x3af418-0x0;var _0x48a045=_0xd80c[_0x3af418];return _0x48a045;};'use strict';var client=require(_0xcd80('0x0'));exports[_0xcd80('0x1')]=function(){return function(){return client[_0xcd80('0x2')](_0xcd80('0x3'),{'options':{'raw':![],'attributes':['id',_0xcd80('0x4'),_0xcd80('0x5'),_0xcd80('0x6')],'include':[{'model':_0xcd80('0x7'),'as':_0xcd80('0x8'),'attributes':['id',_0xcd80('0x4'),_0xcd80('0x9'),'mailPause']}]},'log':'getMailQueues'});};};