Built motion from commit (unavailable).|2.5.13
[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 _0x25d7=['../client','getChatQueues','GetChatQueue','name','timeout','User','Agents','online'];(function(_0x2437b0,_0x3c3194){var _0x2e5de9=function(_0x2d6ae3){while(--_0x2d6ae3){_0x2437b0['push'](_0x2437b0['shift']());}};_0x2e5de9(++_0x3c3194);}(_0x25d7,0xf0));var _0x725d=function(_0x559a80,_0x3d193d){_0x559a80=_0x559a80-0x0;var _0x42f555=_0x25d7[_0x559a80];return _0x42f555;};'use strict';var client=require(_0x725d('0x0'));exports[_0x725d('0x1')]=function(){return function(){return client['Request'](_0x725d('0x2'),{'options':{'raw':![],'attributes':['id',_0x725d('0x3'),_0x725d('0x4'),'strategy'],'include':[{'model':_0x725d('0x5'),'as':_0x725d('0x6'),'attributes':['id',_0x725d('0x3'),_0x725d('0x7'),'chatPause']}]},'log':_0x725d('0x1')});};};