75cf4ce2647a150a3a276aaa335b6014089ec2a4
[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 _0xffe6=['User','Agents','online','mailPause','../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy'];(function(_0x55cdcc,_0x40aae1){var _0x4778ae=function(_0xc57c76){while(--_0xc57c76){_0x55cdcc['push'](_0x55cdcc['shift']());}};_0x4778ae(++_0x40aae1);}(_0xffe6,0x9e));var _0x6ffe=function(_0x57fb8c,_0x4ca594){_0x57fb8c=_0x57fb8c-0x0;var _0x48c2b8=_0xffe6[_0x57fb8c];return _0x48c2b8;};'use strict';var client=require(_0x6ffe('0x0'));exports[_0x6ffe('0x1')]=function(){return function(){return client[_0x6ffe('0x2')](_0x6ffe('0x3'),{'options':{'raw':![],'attributes':['id',_0x6ffe('0x4'),_0x6ffe('0x5'),_0x6ffe('0x6')],'include':[{'model':_0x6ffe('0x7'),'as':_0x6ffe('0x8'),'attributes':['id',_0x6ffe('0x4'),_0x6ffe('0x9'),_0x6ffe('0xa')]}]},'log':_0x6ffe('0x1')});};};