Built motion from commit 25580385.|2.6.2
[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 _0x09c2=['mailPause','../client','getMailQueues','GetMailQueue','name','timeout','User','Agents','online'];(function(_0x137c51,_0x1b0ab4){var _0x77b4d3=function(_0x246695){while(--_0x246695){_0x137c51['push'](_0x137c51['shift']());}};_0x77b4d3(++_0x1b0ab4);}(_0x09c2,0x1c3));var _0x209c=function(_0x3592ab,_0x4f669a){_0x3592ab=_0x3592ab-0x0;var _0x13298a=_0x09c2[_0x3592ab];return _0x13298a;};'use strict';var client=require(_0x209c('0x0'));exports[_0x209c('0x1')]=function(){return function(){return client['Request'](_0x209c('0x2'),{'options':{'raw':![],'attributes':['id',_0x209c('0x3'),_0x209c('0x4'),'strategy'],'include':[{'model':_0x209c('0x5'),'as':_0x209c('0x6'),'attributes':['id',_0x209c('0x3'),_0x209c('0x7'),_0x209c('0x8')]}]},'log':'getMailQueues'});};};