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 _0x7bdf=['Agents','name','online','getMailQueues','GetMailQueue','timeout','strategy','User'];(function(_0x3fdf47,_0x4c03a1){var _0x409a13=function(_0xbfa315){while(--_0xbfa315){_0x3fdf47['push'](_0x3fdf47['shift']());}};_0x409a13(++_0x4c03a1);}(_0x7bdf,0x1a3));var _0xf7bd=function(_0x4ad05c,_0x9a3db7){_0x4ad05c=_0x4ad05c-0x0;var _0x2f774a=_0x7bdf[_0x4ad05c];return _0x2f774a;};'use strict';var client=require('../client');exports[_0xf7bd('0x0')]=function(){return function(){return client['Request'](_0xf7bd('0x1'),{'options':{'raw':![],'attributes':['id','name',_0xf7bd('0x2'),_0xf7bd('0x3')],'include':[{'model':_0xf7bd('0x4'),'as':_0xf7bd('0x5'),'attributes':['id',_0xf7bd('0x6'),_0xf7bd('0x7'),'mailPause']}]},'log':_0xf7bd('0x0')});};};