Built motion from commit (unavailable).|2.5.31
[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 _0x5326=['online','getMailQueues','Request','GetMailQueue','name','timeout','strategy','User'];(function(_0x593968,_0x148de1){var _0x411675=function(_0x2f56ec){while(--_0x2f56ec){_0x593968['push'](_0x593968['shift']());}};_0x411675(++_0x148de1);}(_0x5326,0x179));var _0x6532=function(_0x3b5e02,_0x535469){_0x3b5e02=_0x3b5e02-0x0;var _0x59464c=_0x5326[_0x3b5e02];return _0x59464c;};'use strict';var client=require('../client');exports[_0x6532('0x0')]=function(){return function(){return client[_0x6532('0x1')](_0x6532('0x2'),{'options':{'raw':![],'attributes':['id',_0x6532('0x3'),_0x6532('0x4'),_0x6532('0x5')],'include':[{'model':_0x6532('0x6'),'as':'Agents','attributes':['id',_0x6532('0x3'),_0x6532('0x7'),'mailPause']}]},'log':'getMailQueues'});};};