Built motion from commit 44b1f254.|2.6.26
[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 _0x32b3=['strategy','User','Agents','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout'];(function(_0x2a3ef6,_0x51c781){var _0x83004f=function(_0x229422){while(--_0x229422){_0x2a3ef6['push'](_0x2a3ef6['shift']());}};_0x83004f(++_0x51c781);}(_0x32b3,0x1c5));var _0x332b=function(_0x30e980,_0x56ed61){_0x30e980=_0x30e980-0x0;var _0x27f955=_0x32b3[_0x30e980];return _0x27f955;};'use strict';var client=require(_0x332b('0x0'));exports[_0x332b('0x1')]=function(){return function(){return client[_0x332b('0x2')](_0x332b('0x3'),{'options':{'raw':![],'attributes':['id',_0x332b('0x4'),_0x332b('0x5'),_0x332b('0x6')],'include':[{'model':_0x332b('0x7'),'as':_0x332b('0x8'),'attributes':['id','name','online','openchannelPause']}]},'log':'getOpenchannelQueues'});};};