Built motion from commit (unavailable).|2.0.78
[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 _0x201a=['GetOpenchannelQueue','name','timeout','strategy','User','Agents','online','openchannelPause','getOpenchannelQueues','Request'];(function(_0x1c2f8d,_0x20e381){var _0x27a067=function(_0x3a8873){while(--_0x3a8873){_0x1c2f8d['push'](_0x1c2f8d['shift']());}};_0x27a067(++_0x20e381);}(_0x201a,0x18e));var _0xa201=function(_0x198100,_0x244df9){_0x198100=_0x198100-0x0;var _0x241813=_0x201a[_0x198100];return _0x241813;};'use strict';var client=require('../client');exports[_0xa201('0x0')]=function(){return function(){return client[_0xa201('0x1')](_0xa201('0x2'),{'options':{'raw':![],'attributes':['id',_0xa201('0x3'),_0xa201('0x4'),_0xa201('0x5')],'include':[{'model':_0xa201('0x6'),'as':_0xa201('0x7'),'attributes':['id',_0xa201('0x3'),_0xa201('0x8'),_0xa201('0x9')]}]},'log':_0xa201('0x0')});};};