Built motion from commit (unavailable).|2.5.12
[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 _0x9a4d=['update','Request','UpdateWhatsappQueueReport','DESC','../client','create','CreateWhatsappQueueReport'];(function(_0x5e86d5,_0x145724){var _0x46cbf9=function(_0x42ad64){while(--_0x42ad64){_0x5e86d5['push'](_0x5e86d5['shift']());}};_0x46cbf9(++_0x145724);}(_0x9a4d,0x1ee));var _0xd9a4=function(_0x31d6c2,_0x422dcd){_0x31d6c2=_0x31d6c2-0x0;var _0x295dd0=_0x9a4d[_0x31d6c2];return _0x295dd0;};'use strict';var client=require(_0xd9a4('0x0'));exports[_0xd9a4('0x1')]=function(_0x458f61){return client['Request'](_0xd9a4('0x2'),{'body':_0x458f61,'log':_0xd9a4('0x2')});};exports[_0xd9a4('0x3')]=function(_0x24b8db,_0x5442a0){return client[_0xd9a4('0x4')](_0xd9a4('0x5'),{'body':_0x5442a0,'options':{'where':{'uniqueid':_0x24b8db},'order':[['id',_0xd9a4('0x6')]],'limit':0x1},'log':_0xd9a4('0x5')});};