Built motion from commit (unavailable).|2.4.18
[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 _0x54d4=['GetMailQueue','timeout','strategy','User','name','mailPause','getMailQueues','Request'];(function(_0x494f4d,_0x2807fa){var _0x3e7dfc=function(_0x14f2d2){while(--_0x14f2d2){_0x494f4d['push'](_0x494f4d['shift']());}};_0x3e7dfc(++_0x2807fa);}(_0x54d4,0x1ee));var _0x454d=function(_0x31ced5,_0x5d5415){_0x31ced5=_0x31ced5-0x0;var _0x10d9e5=_0x54d4[_0x31ced5];return _0x10d9e5;};'use strict';var client=require('../client');exports[_0x454d('0x0')]=function(){return function(){return client[_0x454d('0x1')](_0x454d('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x454d('0x3'),_0x454d('0x4')],'include':[{'model':_0x454d('0x5'),'as':'Agents','attributes':['id',_0x454d('0x6'),'online',_0x454d('0x7')]}]},'log':_0x454d('0x0')});};};