Built motion from commit c738b9ac.|2.6.25
[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 _0x4f80=['CreateWhatsappQueueReport','update','../client','Request'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0x4f80,0x1ce));var _0x04f8=function(_0x540fca,_0x54263f){_0x540fca=_0x540fca-0x0;var _0x15e0cc=_0x4f80[_0x540fca];return _0x15e0cc;};'use strict';var client=require(_0x04f8('0x0'));exports['create']=function(_0x3a24e0){return client[_0x04f8('0x1')](_0x04f8('0x2'),{'body':_0x3a24e0,'log':_0x04f8('0x2')});};exports[_0x04f8('0x3')]=function(_0x4b0f85,_0x3c976e){return client[_0x04f8('0x1')]('UpdateWhatsappQueueReport',{'body':_0x3c976e,'options':{'where':{'uniqueid':_0x4b0f85},'order':[['id','DESC']],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};