e45e96a07ae3732db977c8f78cba7e6ec4de0734
[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 _0x2b27=['DESC','UpdateWhatsappQueueReport','../client','create','CreateWhatsappQueueReport','update'];(function(_0x21cb7f,_0x48cd16){var _0x5a079a=function(_0x569a4f){while(--_0x569a4f){_0x21cb7f['push'](_0x21cb7f['shift']());}};_0x5a079a(++_0x48cd16);}(_0x2b27,0x176));var _0x72b2=function(_0x448bab,_0x25517b){_0x448bab=_0x448bab-0x0;var _0x5dc534=_0x2b27[_0x448bab];return _0x5dc534;};'use strict';var client=require(_0x72b2('0x0'));exports[_0x72b2('0x1')]=function(_0x29b307){return client['Request'](_0x72b2('0x2'),{'body':_0x29b307,'log':_0x72b2('0x2')});};exports[_0x72b2('0x3')]=function(_0x3e6715,_0x4cda36){return client['Request']('UpdateWhatsappQueueReport',{'body':_0x4cda36,'options':{'where':{'uniqueid':_0x3e6715},'order':[['id',_0x72b2('0x4')]],'limit':0x1},'log':_0x72b2('0x5')});};