Built motion from commit (unavailable).|2.5.19
[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 _0x791b=['name','timeout','strategy','User','Agents','online','../client','getChatQueues','Request','GetChatQueue'];(function(_0x48e979,_0x35c003){var _0xe8f4c8=function(_0x125f90){while(--_0x125f90){_0x48e979['push'](_0x48e979['shift']());}};_0xe8f4c8(++_0x35c003);}(_0x791b,0x9c));var _0xb791=function(_0x46698a,_0x8de1e4){_0x46698a=_0x46698a-0x0;var _0x356db0=_0x791b[_0x46698a];return _0x356db0;};'use strict';var client=require(_0xb791('0x0'));exports[_0xb791('0x1')]=function(){return function(){return client[_0xb791('0x2')](_0xb791('0x3'),{'options':{'raw':![],'attributes':['id',_0xb791('0x4'),_0xb791('0x5'),_0xb791('0x6')],'include':[{'model':_0xb791('0x7'),'as':_0xb791('0x8'),'attributes':['id',_0xb791('0x4'),_0xb791('0x9'),'chatPause']}]},'log':_0xb791('0x1')});};};