ecf385b72b8e61a02619e1ba9eb8bfe8cd10012f
[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 _0x203f=['CreateWhatsappQueueReport','update','Request','UpdateWhatsappQueueReport','DESC','../client','create'];(function(_0x4f98a8,_0x435ade){var _0x4ec53a=function(_0x3801db){while(--_0x3801db){_0x4f98a8['push'](_0x4f98a8['shift']());}};_0x4ec53a(++_0x435ade);}(_0x203f,0x6e));var _0xf203=function(_0x118afa,_0x4bf0c1){_0x118afa=_0x118afa-0x0;var _0x167d76=_0x203f[_0x118afa];return _0x167d76;};'use strict';var client=require(_0xf203('0x0'));exports[_0xf203('0x1')]=function(_0xaa5b9d){return client['Request'](_0xf203('0x2'),{'body':_0xaa5b9d,'log':'CreateWhatsappQueueReport'});};exports[_0xf203('0x3')]=function(_0x1d818f,_0x50df89){return client[_0xf203('0x4')](_0xf203('0x5'),{'body':_0x50df89,'options':{'where':{'uniqueid':_0x1d818f},'order':[['id',_0xf203('0x6')]],'limit':0x1},'log':_0xf203('0x5')});};