Built motion from commit 616d3211.|2.6.4
[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 _0x628a=['Agents','online','openchannelPause','../client','getOpenchannelQueues','GetOpenchannelQueue','name','timeout','strategy','User'];(function(_0x28eca0,_0x10a385){var _0x4dcca3=function(_0x23d3aa){while(--_0x23d3aa){_0x28eca0['push'](_0x28eca0['shift']());}};_0x4dcca3(++_0x10a385);}(_0x628a,0x1bb));var _0xa628=function(_0xd0d025,_0xb475fe){_0xd0d025=_0xd0d025-0x0;var _0x1bf1cf=_0x628a[_0xd0d025];return _0x1bf1cf;};'use strict';var client=require(_0xa628('0x0'));exports[_0xa628('0x1')]=function(){return function(){return client['Request'](_0xa628('0x2'),{'options':{'raw':![],'attributes':['id',_0xa628('0x3'),_0xa628('0x4'),_0xa628('0x5')],'include':[{'model':_0xa628('0x6'),'as':_0xa628('0x7'),'attributes':['id','name',_0xa628('0x8'),_0xa628('0x9')]}]},'log':_0xa628('0x1')});};};