Built motion from commit (unavailable).|2.5.26
[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 _0xf5f9=['timeout','strategy','User','online','getMailQueues','Request','GetMailQueue','name'];(function(_0x1a68f5,_0x473041){var _0x32e41a=function(_0x1fa228){while(--_0x1fa228){_0x1a68f5['push'](_0x1a68f5['shift']());}};_0x32e41a(++_0x473041);}(_0xf5f9,0x114));var _0x9f5f=function(_0x2c3903,_0x31042d){_0x2c3903=_0x2c3903-0x0;var _0x490986=_0xf5f9[_0x2c3903];return _0x490986;};'use strict';var client=require('../client');exports[_0x9f5f('0x0')]=function(){return function(){return client[_0x9f5f('0x1')](_0x9f5f('0x2'),{'options':{'raw':![],'attributes':['id',_0x9f5f('0x3'),_0x9f5f('0x4'),_0x9f5f('0x5')],'include':[{'model':_0x9f5f('0x6'),'as':'Agents','attributes':['id',_0x9f5f('0x3'),_0x9f5f('0x7'),'mailPause']}]},'log':_0x9f5f('0x0')});};};