08d7fedf3d5062fa4d449d35ebefab628c4441b6
[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 _0x9d5b=['name','timeout','User','online','whatsappPause','getWhatsappQueues','Request','GetWhatsappQueue'];(function(_0x368fb9,_0x1a9895){var _0x4892fb=function(_0x28d735){while(--_0x28d735){_0x368fb9['push'](_0x368fb9['shift']());}};_0x4892fb(++_0x1a9895);}(_0x9d5b,0x14d));var _0xb9d5=function(_0x5df2e5,_0x1c20c8){_0x5df2e5=_0x5df2e5-0x0;var _0x152a43=_0x9d5b[_0x5df2e5];return _0x152a43;};'use strict';var client=require('../client');exports[_0xb9d5('0x0')]=function(){return function(){return client[_0xb9d5('0x1')](_0xb9d5('0x2'),{'options':{'raw':![],'attributes':['id',_0xb9d5('0x3'),_0xb9d5('0x4'),'strategy'],'include':[{'model':_0xb9d5('0x5'),'as':'Agents','attributes':['id',_0xb9d5('0x3'),_0xb9d5('0x6'),_0xb9d5('0x7')]}]},'log':_0xb9d5('0x0')});};};