6eee4e9eb469f0a0e32105075b57717d63adf783
[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 _0x0f3c=['strategy','User','Agents','name','online','chatPause','../client','getChatQueues','timeout'];(function(_0xa002f7,_0x18fdf5){var _0x23ad9f=function(_0x55a9e8){while(--_0x55a9e8){_0xa002f7['push'](_0xa002f7['shift']());}};_0x23ad9f(++_0x18fdf5);}(_0x0f3c,0x189));var _0xc0f3=function(_0x316f57,_0x53b7c9){_0x316f57=_0x316f57-0x0;var _0x5324b6=_0x0f3c[_0x316f57];return _0x5324b6;};'use strict';var client=require(_0xc0f3('0x0'));exports[_0xc0f3('0x1')]=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id','name',_0xc0f3('0x2'),_0xc0f3('0x3')],'include':[{'model':_0xc0f3('0x4'),'as':_0xc0f3('0x5'),'attributes':['id',_0xc0f3('0x6'),_0xc0f3('0x7'),_0xc0f3('0x8')]}]},'log':_0xc0f3('0x1')});};};