6c2119e7bf0b1d7ca64c18314ddaa27ceac70953
[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 _0x6153=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','create'];(function(_0x3ee9f0,_0x2cf80d){var _0x339410=function(_0x140810){while(--_0x140810){_0x3ee9f0['push'](_0x3ee9f0['shift']());}};_0x339410(++_0x2cf80d);}(_0x6153,0x1f1));var _0x3615=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x6153[_0x40a045];return _0x1a687c;};'use strict';var client=require('../client');exports[_0x3615('0x0')]=function(_0x3294fb){return client['Request'](_0x3615('0x1'),{'body':_0x3294fb,'log':_0x3615('0x1')});};exports[_0x3615('0x2')]=function(_0x18db86,_0x4da023){return client[_0x3615('0x3')](_0x3615('0x4'),{'body':_0x4da023,'options':{'where':{'uniqueid':_0x18db86},'order':[['id',_0x3615('0x5')]],'limit':0x1},'log':_0x3615('0x4')});};