Built motion from commit (unavailable).|2.4.20
[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 _0xd01e=['strategy','Agents','name','online','../client','getMailQueues','Request','GetMailQueue','timeout'];(function(_0x5b1c04,_0x23f7c5){var _0x2bd541=function(_0x3aabdb){while(--_0x3aabdb){_0x5b1c04['push'](_0x5b1c04['shift']());}};_0x2bd541(++_0x23f7c5);}(_0xd01e,0x1c6));var _0xed01=function(_0x3a4e98,_0x6f6fd9){_0x3a4e98=_0x3a4e98-0x0;var _0x5773cf=_0xd01e[_0x3a4e98];return _0x5773cf;};'use strict';var client=require(_0xed01('0x0'));exports[_0xed01('0x1')]=function(){return function(){return client[_0xed01('0x2')](_0xed01('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xed01('0x4'),_0xed01('0x5')],'include':[{'model':'User','as':_0xed01('0x6'),'attributes':['id',_0xed01('0x7'),_0xed01('0x8'),'mailPause']}]},'log':'getMailQueues'});};};