Built motion from commit 10af8726.|2.6.34
[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 _0x444b=['Request','GetMailQueue','name','timeout','strategy','User','Agents','online','mailPause','getMailQueues'];(function(_0x2f597d,_0x32addb){var _0x28615a=function(_0xa06d14){while(--_0xa06d14){_0x2f597d['push'](_0x2f597d['shift']());}};_0x28615a(++_0x32addb);}(_0x444b,0xc7));var _0xb444=function(_0x51c1ac,_0x5f446c){_0x51c1ac=_0x51c1ac-0x0;var _0x27820c=_0x444b[_0x51c1ac];return _0x27820c;};'use strict';var client=require('../client');exports[_0xb444('0x0')]=function(){return function(){return client[_0xb444('0x1')](_0xb444('0x2'),{'options':{'raw':![],'attributes':['id',_0xb444('0x3'),_0xb444('0x4'),_0xb444('0x5')],'include':[{'model':_0xb444('0x6'),'as':_0xb444('0x7'),'attributes':['id',_0xb444('0x3'),_0xb444('0x8'),_0xb444('0x9')]}]},'log':'getMailQueues'});};};