Built motion from commit (unavailable).|2.5.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 _0x87d4=['openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','User','online'];(function(_0x3d74ca,_0x3a8480){var _0x4a22b7=function(_0x5cde31){while(--_0x5cde31){_0x3d74ca['push'](_0x3d74ca['shift']());}};_0x4a22b7(++_0x3a8480);}(_0x87d4,0xbf));var _0x487d=function(_0x46a172,_0x364e45){_0x46a172=_0x46a172-0x0;var _0x9d5d08=_0x87d4[_0x46a172];return _0x9d5d08;};'use strict';var client=require(_0x487d('0x0'));exports[_0x487d('0x1')]=function(){return function(){return client[_0x487d('0x2')](_0x487d('0x3'),{'options':{'raw':![],'attributes':['id',_0x487d('0x4'),_0x487d('0x5'),_0x487d('0x6')],'include':[{'model':_0x487d('0x7'),'as':'Agents','attributes':['id',_0x487d('0x4'),_0x487d('0x8'),_0x487d('0x9')]}]},'log':_0x487d('0x1')});};};