Built motion from commit (unavailable).|2.5.14
[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 _0x4281=['GetOpenchannelQueue','timeout','User','Agents','online','openchannelPause','../client','getOpenchannelQueues','Request'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x4281,0x114));var _0x1428=function(_0x15ca1a,_0x30fc82){_0x15ca1a=_0x15ca1a-0x0;var _0x507626=_0x4281[_0x15ca1a];return _0x507626;};'use strict';var client=require(_0x1428('0x0'));exports[_0x1428('0x1')]=function(){return function(){return client[_0x1428('0x2')](_0x1428('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x1428('0x4'),'strategy'],'include':[{'model':_0x1428('0x5'),'as':_0x1428('0x6'),'attributes':['id','name',_0x1428('0x7'),_0x1428('0x8')]}]},'log':_0x1428('0x1')});};};