3d7cb6a54c7778f7b0e8709aa9e81340476e57fb
[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 _0xcba7=['name','timeout','User','Agents','online','mailPause','getMailQueues','Request','GetMailQueue'];(function(_0x3ba8f2,_0x4d8bd0){var _0xc2cc84=function(_0xe939d6){while(--_0xe939d6){_0x3ba8f2['push'](_0x3ba8f2['shift']());}};_0xc2cc84(++_0x4d8bd0);}(_0xcba7,0x11d));var _0x7cba=function(_0xed6f46,_0x1c9006){_0xed6f46=_0xed6f46-0x0;var _0x5b267c=_0xcba7[_0xed6f46];return _0x5b267c;};'use strict';var client=require('../client');exports[_0x7cba('0x0')]=function(){return function(){return client[_0x7cba('0x1')](_0x7cba('0x2'),{'options':{'raw':![],'attributes':['id',_0x7cba('0x3'),_0x7cba('0x4'),'strategy'],'include':[{'model':_0x7cba('0x5'),'as':_0x7cba('0x6'),'attributes':['id',_0x7cba('0x3'),_0x7cba('0x7'),_0x7cba('0x8')]}]},'log':'getMailQueues'});};};