05b36956c0c16ae8c3db8504abbbc77ec89a39e7
[motion2.git] / server / services / routing / rpc / smsQueueReport.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 _0xc935=['UpdateSmsQueueReport','DESC','../client','create','Request','CreateSmsQueueReport'];(function(_0x511b76,_0x4727fa){var _0x5424ff=function(_0x24b7c0){while(--_0x24b7c0){_0x511b76['push'](_0x511b76['shift']());}};_0x5424ff(++_0x4727fa);}(_0xc935,0x10a));var _0x5c93=function(_0x4dd128,_0x226469){_0x4dd128=_0x4dd128-0x0;var _0x490f86=_0xc935[_0x4dd128];return _0x490f86;};'use strict';var client=require(_0x5c93('0x0'));exports[_0x5c93('0x1')]=function(_0x8cdb60){return client[_0x5c93('0x2')](_0x5c93('0x3'),{'body':_0x8cdb60,'log':'CreateSmsQueueReport'});};exports['update']=function(_0x22a3c9,_0x520997){return client['Request'](_0x5c93('0x4'),{'body':_0x520997,'options':{'where':{'uniqueid':_0x22a3c9},'order':[['id',_0x5c93('0x5')]],'limit':0x1},'log':_0x5c93('0x4')});};