Built motion from commit (unavailable).|2.5.23
[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 _0x4e81=['name','online','whatsappPause','../client','getWhatsappQueues','Request','strategy','User','Agents'];(function(_0x1196bd,_0xba4aea){var _0x26014f=function(_0x542a3d){while(--_0x542a3d){_0x1196bd['push'](_0x1196bd['shift']());}};_0x26014f(++_0xba4aea);}(_0x4e81,0x1bc));var _0x14e8=function(_0x172747,_0x1732bd){_0x172747=_0x172747-0x0;var _0x509692=_0x4e81[_0x172747];return _0x509692;};'use strict';var client=require(_0x14e8('0x0'));exports[_0x14e8('0x1')]=function(){return function(){return client[_0x14e8('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id','name','timeout',_0x14e8('0x3')],'include':[{'model':_0x14e8('0x4'),'as':_0x14e8('0x5'),'attributes':['id',_0x14e8('0x6'),_0x14e8('0x7'),_0x14e8('0x8')]}]},'log':'getWhatsappQueues'});};};