700f838b4bd1cd91418fcf907a840d3180a23af3
[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 _0xa58a=['Agents','online','mailPause','getMailQueues','Request','GetMailQueue','name','timeout','strategy','User'];(function(_0x382145,_0xf2cfda){var _0x591ed3=function(_0x1a3f86){while(--_0x1a3f86){_0x382145['push'](_0x382145['shift']());}};_0x591ed3(++_0xf2cfda);}(_0xa58a,0x189));var _0xaa58=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0xa58a[_0x36884e];return _0x1cc367;};'use strict';var client=require('../client');exports[_0xaa58('0x0')]=function(){return function(){return client[_0xaa58('0x1')](_0xaa58('0x2'),{'options':{'raw':![],'attributes':['id',_0xaa58('0x3'),_0xaa58('0x4'),_0xaa58('0x5')],'include':[{'model':_0xaa58('0x6'),'as':_0xaa58('0x7'),'attributes':['id',_0xaa58('0x3'),_0xaa58('0x8'),_0xaa58('0x9')]}]},'log':_0xaa58('0x0')});};};