Built motion from commit (unavailable).|2.5.31
[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 _0x17ee=['../client','getChatQueues','Request','GetChatQueue','name','strategy','User','Agents','online'];(function(_0x13cfcf,_0x14b3a8){var _0x421f82=function(_0x287257){while(--_0x287257){_0x13cfcf['push'](_0x13cfcf['shift']());}};_0x421f82(++_0x14b3a8);}(_0x17ee,0x6c));var _0xe17e=function(_0x56e2a0,_0x13b891){_0x56e2a0=_0x56e2a0-0x0;var _0x1b3b78=_0x17ee[_0x56e2a0];return _0x1b3b78;};'use strict';var client=require(_0xe17e('0x0'));exports[_0xe17e('0x1')]=function(){return function(){return client[_0xe17e('0x2')](_0xe17e('0x3'),{'options':{'raw':![],'attributes':['id',_0xe17e('0x4'),'timeout',_0xe17e('0x5')],'include':[{'model':_0xe17e('0x6'),'as':_0xe17e('0x7'),'attributes':['id',_0xe17e('0x4'),_0xe17e('0x8'),'chatPause']}]},'log':_0xe17e('0x1')});};};