1f9cf1f37c9668d20b929177e7ef6590fe51b5b7
[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 _0x839b=['Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x366d38,_0x8336e7){var _0x5e91ef=function(_0xd4eb7a){while(--_0xd4eb7a){_0x366d38['push'](_0x366d38['shift']());}};_0x5e91ef(++_0x8336e7);}(_0x839b,0x95));var _0xb839=function(_0x270c1d,_0x2a61cc){_0x270c1d=_0x270c1d-0x0;var _0x1cd813=_0x839b[_0x270c1d];return _0x1cd813;};'use strict';var client=require(_0xb839('0x0'));exports['create']=function(_0x295ea1){return client[_0xb839('0x1')](_0xb839('0x2'),{'body':_0x295ea1,'log':'CreateWhatsappQueueReport'});};exports[_0xb839('0x3')]=function(_0x9a528,_0xf85ce6){return client[_0xb839('0x1')](_0xb839('0x4'),{'body':_0xf85ce6,'options':{'where':{'uniqueid':_0x9a528},'order':[['id',_0xb839('0x5')]],'limit':0x1},'log':_0xb839('0x4')});};