Built motion from commit (unavailable).|2.5.4
[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 _0x62b7=['CreateSmsQueueReport','UpdateSmsQueueReport','../client','create','Request'];(function(_0x754ab4,_0x56daa7){var _0x34079a=function(_0x295ec1){while(--_0x295ec1){_0x754ab4['push'](_0x754ab4['shift']());}};_0x34079a(++_0x56daa7);}(_0x62b7,0x179));var _0x762b=function(_0x5ec09d,_0x391827){_0x5ec09d=_0x5ec09d-0x0;var _0x304aae=_0x62b7[_0x5ec09d];return _0x304aae;};'use strict';var client=require(_0x762b('0x0'));exports[_0x762b('0x1')]=function(_0xf532e9){return client[_0x762b('0x2')](_0x762b('0x3'),{'body':_0xf532e9,'log':_0x762b('0x3')});};exports['update']=function(_0x25ea19,_0x587d18){return client[_0x762b('0x2')](_0x762b('0x4'),{'body':_0x587d18,'options':{'where':{'uniqueid':_0x25ea19},'order':[['id','DESC']],'limit':0x1},'log':_0x762b('0x4')});};