ae7f500116aa465ba16a12c49493dcaa770e9f50
[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 _0x92bc=['chatPause','../client','getChatQueues','Request','timeout','strategy','User','Agents','online'];(function(_0x48ec91,_0x212edc){var _0x22766c=function(_0x136751){while(--_0x136751){_0x48ec91['push'](_0x48ec91['shift']());}};_0x22766c(++_0x212edc);}(_0x92bc,0x106));var _0xc92b=function(_0x3f4c14,_0x115d20){_0x3f4c14=_0x3f4c14-0x0;var _0x4cdcc3=_0x92bc[_0x3f4c14];return _0x4cdcc3;};'use strict';var client=require(_0xc92b('0x0'));exports[_0xc92b('0x1')]=function(){return function(){return client[_0xc92b('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id','name',_0xc92b('0x3'),_0xc92b('0x4')],'include':[{'model':_0xc92b('0x5'),'as':_0xc92b('0x6'),'attributes':['id','name',_0xc92b('0x7'),_0xc92b('0x8')]}]},'log':_0xc92b('0x1')});};};