Built motion from commit (unavailable).|2.5.11
[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 _0x80c7=['Agents','openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout','strategy','User'];(function(_0x658a30,_0x492ba9){var _0x2bb962=function(_0x2532b3){while(--_0x2532b3){_0x658a30['push'](_0x658a30['shift']());}};_0x2bb962(++_0x492ba9);}(_0x80c7,0xb7));var _0x780c=function(_0x4561cf,_0x1fe710){_0x4561cf=_0x4561cf-0x0;var _0x2505d1=_0x80c7[_0x4561cf];return _0x2505d1;};'use strict';var client=require('../client');exports['getOpenchannelQueues']=function(){return function(){return client[_0x780c('0x0')](_0x780c('0x1'),{'options':{'raw':![],'attributes':['id',_0x780c('0x2'),_0x780c('0x3'),_0x780c('0x4')],'include':[{'model':_0x780c('0x5'),'as':_0x780c('0x6'),'attributes':['id',_0x780c('0x2'),'online',_0x780c('0x7')]}]},'log':_0x780c('0x8')});};};