Built motion from commit (unavailable).|2.5.10
[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 _0x3e49=['strategy','User','Agents','online','../client','getMailQueues','GetMailQueue','name','timeout'];(function(_0xecf9b5,_0x85a5f8){var _0x5ac37b=function(_0x2d53d5){while(--_0x2d53d5){_0xecf9b5['push'](_0xecf9b5['shift']());}};_0x5ac37b(++_0x85a5f8);}(_0x3e49,0x190));var _0x93e4=function(_0x18ee5d,_0x3e113f){_0x18ee5d=_0x18ee5d-0x0;var _0x1e3170=_0x3e49[_0x18ee5d];return _0x1e3170;};'use strict';var client=require(_0x93e4('0x0'));exports[_0x93e4('0x1')]=function(){return function(){return client['Request'](_0x93e4('0x2'),{'options':{'raw':![],'attributes':['id',_0x93e4('0x3'),_0x93e4('0x4'),_0x93e4('0x5')],'include':[{'model':_0x93e4('0x6'),'as':_0x93e4('0x7'),'attributes':['id','name',_0x93e4('0x8'),'mailPause']}]},'log':_0x93e4('0x1')});};};