1b7fad3af5a64610f28834f8cfbd9a1a9dddb3f0
[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 _0x70e2=['update','UpdateWhatsappQueueReport','DESC','../client','create','Request','CreateWhatsappQueueReport'];(function(_0x2383bc,_0x2d5ec9){var _0x283573=function(_0x157171){while(--_0x157171){_0x2383bc['push'](_0x2383bc['shift']());}};_0x283573(++_0x2d5ec9);}(_0x70e2,0x122));var _0x270e=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0x70e2[_0x3bf83f];return _0x22c4a9;};'use strict';var client=require(_0x270e('0x0'));exports[_0x270e('0x1')]=function(_0x5c8f31){return client[_0x270e('0x2')](_0x270e('0x3'),{'body':_0x5c8f31,'log':_0x270e('0x3')});};exports[_0x270e('0x4')]=function(_0x46e64a,_0x1c6b02){return client[_0x270e('0x2')](_0x270e('0x5'),{'body':_0x1c6b02,'options':{'where':{'uniqueid':_0x46e64a},'order':[['id',_0x270e('0x6')]],'limit':0x1},'log':_0x270e('0x5')});};