7d6ee1b5650b6202a380f8b2c3d8b5ecb7c68574
[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 _0x81ff=['../client','Request','GetOpenchannelQueue','name','strategy','User','Agents'];(function(_0x5ea515,_0x12514c){var _0x13ff50=function(_0x3b3bc8){while(--_0x3b3bc8){_0x5ea515['push'](_0x5ea515['shift']());}};_0x13ff50(++_0x12514c);}(_0x81ff,0x149));var _0xf81f=function(_0x1ef028,_0x183281){_0x1ef028=_0x1ef028-0x0;var _0x52386a=_0x81ff[_0x1ef028];return _0x52386a;};'use strict';var client=require(_0xf81f('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0xf81f('0x1')](_0xf81f('0x2'),{'options':{'raw':![],'attributes':['id',_0xf81f('0x3'),'timeout',_0xf81f('0x4')],'include':[{'model':_0xf81f('0x5'),'as':_0xf81f('0x6'),'attributes':['id',_0xf81f('0x3'),'online','openchannelPause']}]},'log':'getOpenchannelQueues'});};};