d3dc34c6cb9d3b9a465f0714de710dec5f024ae6
[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 _0x7200=['update','Request','UpdateSmsQueueReport','DESC','../client','CreateSmsQueueReport'];(function(_0x5b36bd,_0x4dfb36){var _0x1614fe=function(_0x559b7c){while(--_0x559b7c){_0x5b36bd['push'](_0x5b36bd['shift']());}};_0x1614fe(++_0x4dfb36);}(_0x7200,0x1a8));var _0x0720=function(_0x19a173,_0x413f3a){_0x19a173=_0x19a173-0x0;var _0x197b3c=_0x7200[_0x19a173];return _0x197b3c;};'use strict';var client=require(_0x0720('0x0'));exports['create']=function(_0x1664ef){return client['Request'](_0x0720('0x1'),{'body':_0x1664ef,'log':_0x0720('0x1')});};exports[_0x0720('0x2')]=function(_0x2962b7,_0x51fc7f){return client[_0x0720('0x3')](_0x0720('0x4'),{'body':_0x51fc7f,'options':{'where':{'uniqueid':_0x2962b7},'order':[['id',_0x0720('0x5')]],'limit':0x1},'log':_0x0720('0x4')});};