Built motion from commit 0900f080.|2.5.45
[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 _0x7ca3=['name','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','strategy','User','Agents'];(function(_0x44f9c0,_0x391085){var _0x241aa7=function(_0x369f23){while(--_0x369f23){_0x44f9c0['push'](_0x44f9c0['shift']());}};_0x241aa7(++_0x391085);}(_0x7ca3,0x17c));var _0x37ca=function(_0x4ab4a2,_0x41b416){_0x4ab4a2=_0x4ab4a2-0x0;var _0x57f331=_0x7ca3[_0x4ab4a2];return _0x57f331;};'use strict';var client=require(_0x37ca('0x0'));exports[_0x37ca('0x1')]=function(){return function(){return client[_0x37ca('0x2')](_0x37ca('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x37ca('0x4')],'include':[{'model':_0x37ca('0x5'),'as':_0x37ca('0x6'),'attributes':['id',_0x37ca('0x7'),'online',_0x37ca('0x8')]}]},'log':_0x37ca('0x1')});};};