7a9e21928411f56cf5070256079ab633d269318b
[motion2.git] / server / services / routing / rpc / chatQueue.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 _0xd03a=['strategy','User','Agents','name','online','chatPause','../client','getChatQueues','Request','GetChatQueue','timeout'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xd03a,0x1ea));var _0xad03=function(_0x5e56b3,_0x3f92f2){_0x5e56b3=_0x5e56b3-0x0;var _0x27d2db=_0xd03a[_0x5e56b3];return _0x27d2db;};'use strict';var client=require(_0xad03('0x0'));exports[_0xad03('0x1')]=function(){return function(){return client[_0xad03('0x2')](_0xad03('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xad03('0x4'),_0xad03('0x5')],'include':[{'model':_0xad03('0x6'),'as':_0xad03('0x7'),'attributes':['id',_0xad03('0x8'),_0xad03('0x9'),_0xad03('0xa')]}]},'log':'getChatQueues'});};};