Built motion from commit (unavailable).|2.5.2
[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 _0x1ba2=['../client','Request','name','timeout','strategy','User','Agents','online','whatsappPause'];(function(_0x95974f,_0xafdc55){var _0x22f6c0=function(_0x1de733){while(--_0x1de733){_0x95974f['push'](_0x95974f['shift']());}};_0x22f6c0(++_0xafdc55);}(_0x1ba2,0xb4));var _0x21ba=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x1ba2[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x21ba('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0x21ba('0x1')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x21ba('0x2'),_0x21ba('0x3'),_0x21ba('0x4')],'include':[{'model':_0x21ba('0x5'),'as':_0x21ba('0x6'),'attributes':['id','name',_0x21ba('0x7'),_0x21ba('0x8')]}]},'log':'getWhatsappQueues'});};};