Built motion from commit da24aabd.|2.6.20
[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 _0xc481=['CreateWhatsappQueueReport','DESC','UpdateWhatsappQueueReport','../client','Request'];(function(_0x1c7682,_0x364e76){var _0x56aacc=function(_0x14950d){while(--_0x14950d){_0x1c7682['push'](_0x1c7682['shift']());}};_0x56aacc(++_0x364e76);}(_0xc481,0x1bb));var _0x1c48=function(_0x5c879e,_0xe58074){_0x5c879e=_0x5c879e-0x0;var _0x30942b=_0xc481[_0x5c879e];return _0x30942b;};'use strict';var client=require(_0x1c48('0x0'));exports['create']=function(_0x565130){return client[_0x1c48('0x1')](_0x1c48('0x2'),{'body':_0x565130,'log':_0x1c48('0x2')});};exports['update']=function(_0x8e89a6,_0x42d380){return client['Request']('UpdateWhatsappQueueReport',{'body':_0x42d380,'options':{'where':{'uniqueid':_0x8e89a6},'order':[['id',_0x1c48('0x3')]],'limit':0x1},'log':_0x1c48('0x4')});};