Built motion from commit 87cd5f02.|2.5.48
[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 _0x70ba=['name','openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','timeout','User','Agents'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x70ba,0xc2));var _0xa70b=function(_0x277b04,_0x5821c8){_0x277b04=_0x277b04-0x0;var _0x3ce5db=_0x70ba[_0x277b04];return _0x3ce5db;};'use strict';var client=require('../client');exports[_0xa70b('0x0')]=function(){return function(){return client[_0xa70b('0x1')](_0xa70b('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xa70b('0x3'),'strategy'],'include':[{'model':_0xa70b('0x4'),'as':_0xa70b('0x5'),'attributes':['id',_0xa70b('0x6'),'online',_0xa70b('0x7')]}]},'log':_0xa70b('0x0')});};};