38320b64b0cfed3af1363cef769dc05da9c94471
[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 _0xa596=['CreateSmsQueueReport','update','UpdateSmsQueueReport','../client','create','Request'];(function(_0x291b93,_0x44b715){var _0x4183c8=function(_0x228c59){while(--_0x228c59){_0x291b93['push'](_0x291b93['shift']());}};_0x4183c8(++_0x44b715);}(_0xa596,0x7b));var _0x6a59=function(_0x5a60c9,_0xd1eaa7){_0x5a60c9=_0x5a60c9-0x0;var _0x4ecce2=_0xa596[_0x5a60c9];return _0x4ecce2;};'use strict';var client=require(_0x6a59('0x0'));exports[_0x6a59('0x1')]=function(_0x5b127f){return client[_0x6a59('0x2')](_0x6a59('0x3'),{'body':_0x5b127f,'log':_0x6a59('0x3')});};exports[_0x6a59('0x4')]=function(_0x2922e5,_0xf0435f){return client[_0x6a59('0x2')](_0x6a59('0x5'),{'body':_0xf0435f,'options':{'where':{'uniqueid':_0x2922e5},'order':[['id','DESC']],'limit':0x1},'log':_0x6a59('0x5')});};