Built motion from commit (unavailable).|2.4.21
[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 _0xc9c5=['Agents','online','openchannelPause','../client','getOpenchannelQueues','GetOpenchannelQueue','name','timeout','User'];(function(_0x6ea81a,_0x5c03ed){var _0x371747=function(_0x39cc6f){while(--_0x39cc6f){_0x6ea81a['push'](_0x6ea81a['shift']());}};_0x371747(++_0x5c03ed);}(_0xc9c5,0x13e));var _0x5c9c=function(_0x185d8f,_0x16b7f1){_0x185d8f=_0x185d8f-0x0;var _0x39072b=_0xc9c5[_0x185d8f];return _0x39072b;};'use strict';var client=require(_0x5c9c('0x0'));exports[_0x5c9c('0x1')]=function(){return function(){return client['Request'](_0x5c9c('0x2'),{'options':{'raw':![],'attributes':['id',_0x5c9c('0x3'),_0x5c9c('0x4'),'strategy'],'include':[{'model':_0x5c9c('0x5'),'as':_0x5c9c('0x6'),'attributes':['id','name',_0x5c9c('0x7'),_0x5c9c('0x8')]}]},'log':_0x5c9c('0x1')});};};