a400ad44e1368b1423c4965cadf800b24e47e6bd
[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 _0x81c0=['../client','getMailQueues','Request','GetMailQueue','name','timeout','User','Agents','online','mailPause'];(function(_0x55cb67,_0x1d5145){var _0x42805b=function(_0xbbe270){while(--_0xbbe270){_0x55cb67['push'](_0x55cb67['shift']());}};_0x42805b(++_0x1d5145);}(_0x81c0,0x64));var _0x081c=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x81c0[_0x3b380d];return _0x54502b;};'use strict';var client=require(_0x081c('0x0'));exports[_0x081c('0x1')]=function(){return function(){return client[_0x081c('0x2')](_0x081c('0x3'),{'options':{'raw':![],'attributes':['id',_0x081c('0x4'),_0x081c('0x5'),'strategy'],'include':[{'model':_0x081c('0x6'),'as':_0x081c('0x7'),'attributes':['id',_0x081c('0x4'),_0x081c('0x8'),_0x081c('0x9')]}]},'log':_0x081c('0x1')});};};