6bce5d0626808bebc9f36a464f3d321b7df8a934
[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 _0x093a=['online','chatPause','getChatQueues','Request','GetChatQueue','strategy','User','Agents','name'];(function(_0x4df787,_0x337596){var _0x20fe58=function(_0x177bf2){while(--_0x177bf2){_0x4df787['push'](_0x4df787['shift']());}};_0x20fe58(++_0x337596);}(_0x093a,0x16a));var _0xa093=function(_0x2daef6,_0xcac228){_0x2daef6=_0x2daef6-0x0;var _0x62d030=_0x093a[_0x2daef6];return _0x62d030;};'use strict';var client=require('../client');exports[_0xa093('0x0')]=function(){return function(){return client[_0xa093('0x1')](_0xa093('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout',_0xa093('0x3')],'include':[{'model':_0xa093('0x4'),'as':_0xa093('0x5'),'attributes':['id',_0xa093('0x6'),_0xa093('0x7'),_0xa093('0x8')]}]},'log':_0xa093('0x0')});};};