Built motion from commit (unavailable).|2.5.14
[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 _0xabe9=['getMailQueues','GetMailQueue','name','timeout','strategy','Agents','online','mailPause'];(function(_0x4b1760,_0x26c4e2){var _0x4f082d=function(_0xedb210){while(--_0xedb210){_0x4b1760['push'](_0x4b1760['shift']());}};_0x4f082d(++_0x26c4e2);}(_0xabe9,0x1f0));var _0x9abe=function(_0x165d41,_0x366ccd){_0x165d41=_0x165d41-0x0;var _0x5510ed=_0xabe9[_0x165d41];return _0x5510ed;};'use strict';var client=require('../client');exports[_0x9abe('0x0')]=function(){return function(){return client['Request'](_0x9abe('0x1'),{'options':{'raw':![],'attributes':['id',_0x9abe('0x2'),_0x9abe('0x3'),_0x9abe('0x4')],'include':[{'model':'User','as':_0x9abe('0x5'),'attributes':['id',_0x9abe('0x2'),_0x9abe('0x6'),_0x9abe('0x7')]}]},'log':'getMailQueues'});};};