d0b513b6a4991e8276671523572b0fc0fc6e28c0
[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 _0x0127=['create','Request','CreateSmsQueueReport','UpdateSmsQueueReport','../client'];(function(_0xf481c2,_0x62dbc5){var _0x39eac4=function(_0xffe8f7){while(--_0xffe8f7){_0xf481c2['push'](_0xf481c2['shift']());}};_0x39eac4(++_0x62dbc5);}(_0x0127,0x1c1));var _0x7012=function(_0x48af4f,_0x1754bf){_0x48af4f=_0x48af4f-0x0;var _0x8a1147=_0x0127[_0x48af4f];return _0x8a1147;};'use strict';var client=require(_0x7012('0x0'));exports[_0x7012('0x1')]=function(_0x4f37a6){return client[_0x7012('0x2')](_0x7012('0x3'),{'body':_0x4f37a6,'log':'CreateSmsQueueReport'});};exports['update']=function(_0x6c5c81,_0x539779){return client[_0x7012('0x2')](_0x7012('0x4'),{'body':_0x539779,'options':{'where':{'uniqueid':_0x6c5c81},'order':[['id','DESC']],'limit':0x1},'log':'UpdateSmsQueueReport'});};