a758bfec28a1810daa1640c4d5558b9be9772a89
[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 _0x062d=['getMailQueues','Request','GetMailQueue','timeout','strategy','User','Agents','name','online','mailPause'];(function(_0x5cdee3,_0x563a7f){var _0x1316a2=function(_0x4abd05){while(--_0x4abd05){_0x5cdee3['push'](_0x5cdee3['shift']());}};_0x1316a2(++_0x563a7f);}(_0x062d,0x1ea));var _0xd062=function(_0x55a802,_0x10ab3a){_0x55a802=_0x55a802-0x0;var _0x1a0461=_0x062d[_0x55a802];return _0x1a0461;};'use strict';var client=require('../client');exports[_0xd062('0x0')]=function(){return function(){return client[_0xd062('0x1')](_0xd062('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xd062('0x3'),_0xd062('0x4')],'include':[{'model':_0xd062('0x5'),'as':_0xd062('0x6'),'attributes':['id',_0xd062('0x7'),_0xd062('0x8'),_0xd062('0x9')]}]},'log':_0xd062('0x0')});};};