Built motion from commit (unavailable).|2.5.21
[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 _0xa4d6=['GetMailQueue','name','Agents','mailPause','getMailQueues','Request'];(function(_0x432d84,_0x54cf8c){var _0x4ccede=function(_0x4f8cc6){while(--_0x4f8cc6){_0x432d84['push'](_0x432d84['shift']());}};_0x4ccede(++_0x54cf8c);}(_0xa4d6,0x100));var _0x6a4d=function(_0x4ea413,_0x51ff3a){_0x4ea413=_0x4ea413-0x0;var _0x51cf25=_0xa4d6[_0x4ea413];return _0x51cf25;};'use strict';var client=require('../client');exports[_0x6a4d('0x0')]=function(){return function(){return client[_0x6a4d('0x1')](_0x6a4d('0x2'),{'options':{'raw':![],'attributes':['id',_0x6a4d('0x3'),'timeout','strategy'],'include':[{'model':'User','as':_0x6a4d('0x4'),'attributes':['id','name','online',_0x6a4d('0x5')]}]},'log':_0x6a4d('0x0')});};};