Built motion from commit (unavailable).|2.0.72
[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 _0xcb25=['timeout','strategy','User','online','getMailQueues','../client','GetMailQueue','name'];(function(_0x4e65cd,_0x13674b){var _0x524a1c=function(_0x43c6d4){while(--_0x43c6d4){_0x4e65cd['push'](_0x4e65cd['shift']());}};_0x524a1c(++_0x13674b);}(_0xcb25,0x1bd));var _0x5cb2=function(_0xe9c8e4,_0x3aa2f6){_0xe9c8e4=_0xe9c8e4-0x0;var _0x2037fa=_0xcb25[_0xe9c8e4];return _0x2037fa;};'use strict';var client=require(_0x5cb2('0x0'));exports['getMailQueues']=function(){return function(){return client['Request'](_0x5cb2('0x1'),{'options':{'raw':![],'attributes':['id',_0x5cb2('0x2'),_0x5cb2('0x3'),_0x5cb2('0x4')],'include':[{'model':_0x5cb2('0x5'),'as':'Agents','attributes':['id','name',_0x5cb2('0x6'),'mailPause']}]},'log':_0x5cb2('0x7')});};};