ef4f8f9b3a6965479cfaf73a5b9095b1cf70375e
[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 _0xd5e8=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','create'];(function(_0x243e9e,_0x351601){var _0x4b7a68=function(_0x155cde){while(--_0x155cde){_0x243e9e['push'](_0x243e9e['shift']());}};_0x4b7a68(++_0x351601);}(_0xd5e8,0x1f1));var _0x8d5e=function(_0x340a73,_0x50664f){_0x340a73=_0x340a73-0x0;var _0x2c74f1=_0xd5e8[_0x340a73];return _0x2c74f1;};'use strict';var client=require('../client');exports[_0x8d5e('0x0')]=function(_0x135256){return client['Request'](_0x8d5e('0x1'),{'body':_0x135256,'log':'CreateWhatsappQueueReport'});};exports[_0x8d5e('0x2')]=function(_0x46f9b4,_0x17ed6f){return client[_0x8d5e('0x3')](_0x8d5e('0x4'),{'body':_0x17ed6f,'options':{'where':{'uniqueid':_0x46f9b4},'order':[['id',_0x8d5e('0x5')]],'limit':0x1},'log':'UpdateWhatsappQueueReport'});};