Built motion from commit (unavailable).|2.5.3
[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 _0x765d=['openchannelPause','../client','getOpenchannelQueues','name','timeout','strategy','User','Agents','online'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x765d,0x172));var _0xd765=function(_0x5d95ba,_0x4f4d5d){_0x5d95ba=_0x5d95ba-0x0;var _0x375929=_0x765d[_0x5d95ba];return _0x375929;};'use strict';var client=require(_0xd765('0x0'));exports[_0xd765('0x1')]=function(){return function(){return client['Request']('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xd765('0x2'),_0xd765('0x3'),_0xd765('0x4')],'include':[{'model':_0xd765('0x5'),'as':_0xd765('0x6'),'attributes':['id',_0xd765('0x2'),_0xd765('0x7'),_0xd765('0x8')]}]},'log':_0xd765('0x1')});};};