Built motion from commit (unavailable).|2.5.26
[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 _0x8c43=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','Request'];(function(_0x1deb03,_0xd05ad8){var _0x189fe7=function(_0x321225){while(--_0x321225){_0x1deb03['push'](_0x1deb03['shift']());}};_0x189fe7(++_0xd05ad8);}(_0x8c43,0xc4));var _0x38c4=function(_0x279acb,_0x4e2764){_0x279acb=_0x279acb-0x0;var _0x90cdd0=_0x8c43[_0x279acb];return _0x90cdd0;};'use strict';var client=require(_0x38c4('0x0'));exports['create']=function(_0x3d1aa5){return client[_0x38c4('0x1')](_0x38c4('0x2'),{'body':_0x3d1aa5,'log':_0x38c4('0x2')});};exports[_0x38c4('0x3')]=function(_0x4c9a0d,_0xc9fdbc){return client[_0x38c4('0x1')](_0x38c4('0x4'),{'body':_0xc9fdbc,'options':{'where':{'uniqueid':_0x4c9a0d},'order':[['id',_0x38c4('0x5')]],'limit':0x1},'log':_0x38c4('0x4')});};