48d2e4e3861aaf67a53fec4c106677ea84080152
[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 _0xb08b=['online','openchannelPause','../client','getOpenchannelQueues','Request','name','timeout','strategy','User','Agents'];(function(_0x427d54,_0x34d8cb){var _0x22900e=function(_0x38255d){while(--_0x38255d){_0x427d54['push'](_0x427d54['shift']());}};_0x22900e(++_0x34d8cb);}(_0xb08b,0x174));var _0xbb08=function(_0x2788e2,_0x69ec90){_0x2788e2=_0x2788e2-0x0;var _0x5efd61=_0xb08b[_0x2788e2];return _0x5efd61;};'use strict';var client=require(_0xbb08('0x0'));exports[_0xbb08('0x1')]=function(){return function(){return client[_0xbb08('0x2')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xbb08('0x3'),_0xbb08('0x4'),_0xbb08('0x5')],'include':[{'model':_0xbb08('0x6'),'as':_0xbb08('0x7'),'attributes':['id',_0xbb08('0x3'),_0xbb08('0x8'),_0xbb08('0x9')]}]},'log':_0xbb08('0x1')});};};