Built motion from commit a679711e.|2.6.15
[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 _0xcd0e=['online','mailPause','../client','getMailQueues','Request','GetMailQueue','name','timeout','strategy','User','Agents'];(function(_0x4b1f49,_0x3b50c0){var _0x368484=function(_0x1518b5){while(--_0x1518b5){_0x4b1f49['push'](_0x4b1f49['shift']());}};_0x368484(++_0x3b50c0);}(_0xcd0e,0xe9));var _0xecd0=function(_0x3c2a69,_0x4c8b41){_0x3c2a69=_0x3c2a69-0x0;var _0x596bc8=_0xcd0e[_0x3c2a69];return _0x596bc8;};'use strict';var client=require(_0xecd0('0x0'));exports[_0xecd0('0x1')]=function(){return function(){return client[_0xecd0('0x2')](_0xecd0('0x3'),{'options':{'raw':![],'attributes':['id',_0xecd0('0x4'),_0xecd0('0x5'),_0xecd0('0x6')],'include':[{'model':_0xecd0('0x7'),'as':_0xecd0('0x8'),'attributes':['id',_0xecd0('0x4'),_0xecd0('0x9'),_0xecd0('0xa')]}]},'log':_0xecd0('0x1')});};};