Built motion from commit (unavailable).|2.5.14
[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 _0x266c=['User','Agents','online','getChatQueues','Request','name','timeout'];(function(_0x54c695,_0x5d6677){var _0x3ce06b=function(_0x55bdf1){while(--_0x55bdf1){_0x54c695['push'](_0x54c695['shift']());}};_0x3ce06b(++_0x5d6677);}(_0x266c,0x1f4));var _0xc266=function(_0x575b2b,_0x56d131){_0x575b2b=_0x575b2b-0x0;var _0x107020=_0x266c[_0x575b2b];return _0x107020;};'use strict';var client=require('../client');exports[_0xc266('0x0')]=function(){return function(){return client[_0xc266('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xc266('0x2'),_0xc266('0x3'),'strategy'],'include':[{'model':_0xc266('0x4'),'as':_0xc266('0x5'),'attributes':['id',_0xc266('0x2'),_0xc266('0x6'),'chatPause']}]},'log':'getChatQueues'});};};