19e50193a59559d8143458913c84e2f93e0cd0a6
[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 _0x1c3d=['create','Request','CreateSmsQueueReport','UpdateSmsQueueReport','DESC'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0x1c3d,0x1b8));var _0xd1c3=function(_0x5a4618,_0x31dc1d){_0x5a4618=_0x5a4618-0x0;var _0xdef321=_0x1c3d[_0x5a4618];return _0xdef321;};'use strict';var client=require('../client');exports[_0xd1c3('0x0')]=function(_0x4142b9){return client[_0xd1c3('0x1')](_0xd1c3('0x2'),{'body':_0x4142b9,'log':_0xd1c3('0x2')});};exports['update']=function(_0x577efa,_0xffc3d0){return client[_0xd1c3('0x1')](_0xd1c3('0x3'),{'body':_0xffc3d0,'options':{'where':{'uniqueid':_0x577efa},'order':[['id',_0xd1c3('0x4')]],'limit':0x1},'log':_0xd1c3('0x3')});};