6f24206ac1a61168932bc3bd5b3ef40cf16756e4
[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 _0xa0fa=['name','online','../client','getOpenchannelQueues','Request','timeout','strategy','User','Agents'];(function(_0x331b0c,_0x455d0f){var _0x2051c9=function(_0x51530b){while(--_0x51530b){_0x331b0c['push'](_0x331b0c['shift']());}};_0x2051c9(++_0x455d0f);}(_0xa0fa,0xd1));var _0xaa0f=function(_0x34eeef,_0xb672df){_0x34eeef=_0x34eeef-0x0;var _0x4ab199=_0xa0fa[_0x34eeef];return _0x4ab199;};'use strict';var client=require(_0xaa0f('0x0'));exports[_0xaa0f('0x1')]=function(){return function(){return client[_0xaa0f('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id','name',_0xaa0f('0x3'),_0xaa0f('0x4')],'include':[{'model':_0xaa0f('0x5'),'as':_0xaa0f('0x6'),'attributes':['id',_0xaa0f('0x7'),_0xaa0f('0x8'),'openchannelPause']}]},'log':_0xaa0f('0x1')});};};