Built motion from commit 85328c08.|2.5.50
[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 _0xcb36=['Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','create'];(function(_0x364e84,_0x1bd4d5){var _0x1468af=function(_0x191b95){while(--_0x191b95){_0x364e84['push'](_0x364e84['shift']());}};_0x1468af(++_0x1bd4d5);}(_0xcb36,0x176));var _0x6cb3=function(_0x51a975,_0x2b66ff){_0x51a975=_0x51a975-0x0;var _0x486bde=_0xcb36[_0x51a975];return _0x486bde;};'use strict';var client=require('../client');exports[_0x6cb3('0x0')]=function(_0x2d8fa8){return client[_0x6cb3('0x1')](_0x6cb3('0x2'),{'body':_0x2d8fa8,'log':'CreateWhatsappQueueReport'});};exports['update']=function(_0x267667,_0x403b86){return client[_0x6cb3('0x1')](_0x6cb3('0x3'),{'body':_0x403b86,'options':{'where':{'uniqueid':_0x267667},'order':[['id',_0x6cb3('0x4')]],'limit':0x1},'log':_0x6cb3('0x3')});};