2884dfbc7c6159569038593b8c4919ee359fbfbc
[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 _0x091c=['timeout','User','Agents','online','getOpenchannelQueues','Request','name'];(function(_0x2c0cca,_0x57056c){var _0x252ad9=function(_0x2eef4e){while(--_0x2eef4e){_0x2c0cca['push'](_0x2c0cca['shift']());}};_0x252ad9(++_0x57056c);}(_0x091c,0x1af));var _0xc091=function(_0x4ded73,_0x363d3c){_0x4ded73=_0x4ded73-0x0;var _0x2f6f37=_0x091c[_0x4ded73];return _0x2f6f37;};'use strict';var client=require('../client');exports[_0xc091('0x0')]=function(){return function(){return client[_0xc091('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xc091('0x2'),_0xc091('0x3'),'strategy'],'include':[{'model':_0xc091('0x4'),'as':_0xc091('0x5'),'attributes':['id',_0xc091('0x2'),_0xc091('0x6'),'openchannelPause']}]},'log':_0xc091('0x0')});};};