552d606ca28b24a55b44cbc080626cc0b31747fa
[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 _0x135a=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','create'];(function(_0xd044d8,_0x67168d){var _0x1228e6=function(_0x456b94){while(--_0x456b94){_0xd044d8['push'](_0xd044d8['shift']());}};_0x1228e6(++_0x67168d);}(_0x135a,0x1c7));var _0xa135=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0x135a[_0x21a9d9];return _0x46adce;};'use strict';var client=require('../client');exports[_0xa135('0x0')]=function(_0x31f027){return client['Request'](_0xa135('0x1'),{'body':_0x31f027,'log':_0xa135('0x1')});};exports[_0xa135('0x2')]=function(_0x24190f,_0x53251b){return client[_0xa135('0x3')](_0xa135('0x4'),{'body':_0x53251b,'options':{'where':{'uniqueid':_0x24190f},'order':[['id',_0xa135('0x5')]],'limit':0x1},'log':_0xa135('0x4')});};