Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / services / routing / rpc / openchannelQueue.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 _0xda51=['openchannelPause','getOpenchannelQueues','Request','timeout','strategy','User','Agents','name','online'];(function(_0x29a2f3,_0x291355){var _0x2361f0=function(_0x37c947){while(--_0x37c947){_0x29a2f3['push'](_0x29a2f3['shift']());}};_0x2361f0(++_0x291355);}(_0xda51,0xc7));var _0x1da5=function(_0x19a11f,_0x6d8be7){_0x19a11f=_0x19a11f-0x0;var _0x51485f=_0xda51[_0x19a11f];return _0x51485f;};'use strict';var client=require('../client');exports[_0x1da5('0x0')]=function(){return function(){return client[_0x1da5('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id','name',_0x1da5('0x2'),_0x1da5('0x3')],'include':[{'model':_0x1da5('0x4'),'as':_0x1da5('0x5'),'attributes':['id',_0x1da5('0x6'),_0x1da5('0x7'),_0x1da5('0x8')]}]},'log':_0x1da5('0x0')});};};