Built motion from commit (unavailable).|2.5.18
[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 _0xe8ff=['CreateWhatsappQueueReport','UpdateWhatsappQueueReport','../client','create','Request'];(function(_0x35c337,_0x5edacd){var _0x527ea0=function(_0x52461f){while(--_0x52461f){_0x35c337['push'](_0x35c337['shift']());}};_0x527ea0(++_0x5edacd);}(_0xe8ff,0x1f1));var _0xfe8f=function(_0x320dd0,_0x266a5b){_0x320dd0=_0x320dd0-0x0;var _0x1ffb02=_0xe8ff[_0x320dd0];return _0x1ffb02;};'use strict';var client=require(_0xfe8f('0x0'));exports[_0xfe8f('0x1')]=function(_0x2cb087){return client[_0xfe8f('0x2')](_0xfe8f('0x3'),{'body':_0x2cb087,'log':_0xfe8f('0x3')});};exports['update']=function(_0x1eb0c8,_0xb3cd0b){return client[_0xfe8f('0x2')](_0xfe8f('0x4'),{'body':_0xb3cd0b,'options':{'where':{'uniqueid':_0x1eb0c8},'order':[['id','DESC']],'limit':0x1},'log':_0xfe8f('0x4')});};