Built motion from commit (unavailable).|2.5.7
[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 _0x3f99=['DESC','create','Request','CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport'];(function(_0x2d454a,_0x1d6120){var _0x3ab5a7=function(_0x26b7a0){while(--_0x26b7a0){_0x2d454a['push'](_0x2d454a['shift']());}};_0x3ab5a7(++_0x1d6120);}(_0x3f99,0xa3));var _0x93f9=function(_0x28d18d,_0x55896b){_0x28d18d=_0x28d18d-0x0;var _0x470640=_0x3f99[_0x28d18d];return _0x470640;};'use strict';var client=require('../client');exports[_0x93f9('0x0')]=function(_0x584d8e){return client[_0x93f9('0x1')](_0x93f9('0x2'),{'body':_0x584d8e,'log':'CreateWhatsappQueueReport'});};exports[_0x93f9('0x3')]=function(_0x812aca,_0x360401){return client[_0x93f9('0x1')](_0x93f9('0x4'),{'body':_0x360401,'options':{'where':{'uniqueid':_0x812aca},'order':[['id',_0x93f9('0x5')]],'limit':0x1},'log':_0x93f9('0x4')});};