Built motion from commit 5ad77b03.|2.6.3
[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 _0x2d22=['Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x23c698,_0xd1b961){var _0x2df0fc=function(_0x26a823){while(--_0x26a823){_0x23c698['push'](_0x23c698['shift']());}};_0x2df0fc(++_0xd1b961);}(_0x2d22,0x1d2));var _0x22d2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2d22[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x22d2('0x0'));exports[_0x22d2('0x1')]=function(_0x5c1c2e){return client[_0x22d2('0x2')](_0x22d2('0x3'),{'body':_0x5c1c2e,'log':_0x22d2('0x3')});};exports['update']=function(_0xab3d,_0x557696){return client[_0x22d2('0x2')](_0x22d2('0x4'),{'body':_0x557696,'options':{'where':{'uniqueid':_0xab3d},'order':[['id',_0x22d2('0x5')]],'limit':0x1},'log':_0x22d2('0x4')});};