7dcdbf8cacd39e127d3b3979316da21088b435fa
[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 _0xf08d=['name','timeout','strategy','User','Agents','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0x2d4691,_0x4b1a5f){var _0x2001af=function(_0x3b61e8){while(--_0x3b61e8){_0x2d4691['push'](_0x2d4691['shift']());}};_0x2001af(++_0x4b1a5f);}(_0xf08d,0x80));var _0xdf08=function(_0x230611,_0x4b8a05){_0x230611=_0x230611-0x0;var _0x5b5722=_0xf08d[_0x230611];return _0x5b5722;};'use strict';var client=require(_0xdf08('0x0'));exports[_0xdf08('0x1')]=function(){return function(){return client[_0xdf08('0x2')](_0xdf08('0x3'),{'options':{'raw':![],'attributes':['id',_0xdf08('0x4'),_0xdf08('0x5'),_0xdf08('0x6')],'include':[{'model':_0xdf08('0x7'),'as':_0xdf08('0x8'),'attributes':['id','name',_0xdf08('0x9'),_0xdf08('0xa')]}]},'log':_0xdf08('0x1')});};};