3bb10ddee307839b803a4a050780fae1bdb81920
[motion2.git] / server / services / routing / rpc / whatsappQueue.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 _0x712f=['../client','getWhatsappQueues','GetWhatsappQueue','name','timeout','strategy','Agents','online','whatsappPause'];(function(_0x4db3d2,_0x1d0a57){var _0x5c655c=function(_0x5975bb){while(--_0x5975bb){_0x4db3d2['push'](_0x4db3d2['shift']());}};_0x5c655c(++_0x1d0a57);}(_0x712f,0x129));var _0xf712=function(_0x5903c4,_0x3527af){_0x5903c4=_0x5903c4-0x0;var _0x4fce26=_0x712f[_0x5903c4];return _0x4fce26;};'use strict';var client=require(_0xf712('0x0'));exports[_0xf712('0x1')]=function(){return function(){return client['Request'](_0xf712('0x2'),{'options':{'raw':![],'attributes':['id',_0xf712('0x3'),_0xf712('0x4'),_0xf712('0x5')],'include':[{'model':'User','as':_0xf712('0x6'),'attributes':['id','name',_0xf712('0x7'),_0xf712('0x8')]}]},'log':_0xf712('0x1')});};};