ea7909f9267635a00264f347fff54de15cbfa039
[motion2.git] / server / services / routing / rpc / whatsappQueueReport.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 _0x7523=['create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x3bbb48,_0x30d1cd){var _0x5c0bdb=function(_0x3e5138){while(--_0x3e5138){_0x3bbb48['push'](_0x3bbb48['shift']());}};_0x5c0bdb(++_0x30d1cd);}(_0x7523,0x15d));var _0x3752=function(_0x489dc6,_0xbab839){_0x489dc6=_0x489dc6-0x0;var _0x214081=_0x7523[_0x489dc6];return _0x214081;};'use strict';var client=require(_0x3752('0x0'));exports[_0x3752('0x1')]=function(_0x211d72){return client[_0x3752('0x2')](_0x3752('0x3'),{'body':_0x211d72,'log':_0x3752('0x3')});};exports[_0x3752('0x4')]=function(_0x1cfca5,_0x1653ad){return client[_0x3752('0x2')](_0x3752('0x5'),{'body':_0x1653ad,'options':{'where':{'uniqueid':_0x1cfca5},'order':[['id',_0x3752('0x6')]],'limit':0x1},'log':_0x3752('0x5')});};