Built motion from commit 616d3211.|2.6.4
[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 _0x46fb=['create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport'];(function(_0x54d4a8,_0x585a59){var _0x3b321b=function(_0x245c6a){while(--_0x245c6a){_0x54d4a8['push'](_0x54d4a8['shift']());}};_0x3b321b(++_0x585a59);}(_0x46fb,0x1ea));var _0xb46f=function(_0x45ac8d,_0x35bebc){_0x45ac8d=_0x45ac8d-0x0;var _0x382216=_0x46fb[_0x45ac8d];return _0x382216;};'use strict';var client=require('../client');exports[_0xb46f('0x0')]=function(_0x581f00){return client[_0xb46f('0x1')](_0xb46f('0x2'),{'body':_0x581f00,'log':_0xb46f('0x2')});};exports[_0xb46f('0x3')]=function(_0x3451b1,_0xc7a2cd){return client[_0xb46f('0x1')](_0xb46f('0x4'),{'body':_0xc7a2cd,'options':{'where':{'uniqueid':_0x3451b1},'order':[['id','DESC']],'limit':0x1},'log':_0xb46f('0x4')});};