dff4637a926900b3a602144df772f346b1dd0aad
[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 _0xe60a=['Agents','online','../client','getMailQueues','GetMailQueue','name','strategy','User'];(function(_0x5b78e8,_0x55096b){var _0xf2c321=function(_0x4e0cff){while(--_0x4e0cff){_0x5b78e8['push'](_0x5b78e8['shift']());}};_0xf2c321(++_0x55096b);}(_0xe60a,0x82));var _0xae60=function(_0x2c9c88,_0xc52cad){_0x2c9c88=_0x2c9c88-0x0;var _0xe4afcf=_0xe60a[_0x2c9c88];return _0xe4afcf;};'use strict';var client=require(_0xae60('0x0'));exports[_0xae60('0x1')]=function(){return function(){return client['Request'](_0xae60('0x2'),{'options':{'raw':![],'attributes':['id',_0xae60('0x3'),'timeout',_0xae60('0x4')],'include':[{'model':_0xae60('0x5'),'as':_0xae60('0x6'),'attributes':['id','name',_0xae60('0x7'),'mailPause']}]},'log':'getMailQueues'});};};