c7f337cf8d7ba5624fce0fcaf136a6ebc245a058
[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 _0xbe2b=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','../client','create'];(function(_0x50477e,_0x381d80){var _0x55cd7e=function(_0x4e9cdb){while(--_0x4e9cdb){_0x50477e['push'](_0x50477e['shift']());}};_0x55cd7e(++_0x381d80);}(_0xbe2b,0xd6));var _0xbbe2=function(_0x4d893c,_0x4a3662){_0x4d893c=_0x4d893c-0x0;var _0x2d3bed=_0xbe2b[_0x4d893c];return _0x2d3bed;};'use strict';var client=require(_0xbbe2('0x0'));exports[_0xbbe2('0x1')]=function(_0x34f47f){return client['Request']('CreateWhatsappQueueReport',{'body':_0x34f47f,'log':_0xbbe2('0x2')});};exports[_0xbbe2('0x3')]=function(_0x3dc567,_0x1e0658){return client[_0xbbe2('0x4')](_0xbbe2('0x5'),{'body':_0x1e0658,'options':{'where':{'uniqueid':_0x3dc567},'order':[['id','DESC']],'limit':0x1},'log':_0xbbe2('0x5')});};