46dd217841599f2fda4111bb06e0cc57c387a747
[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 _0xbc8a=['UpdateSmsQueueReport','create','Request','CreateSmsQueueReport','update','DESC'];(function(_0xe3f787,_0x3575bb){var _0x51e48b=function(_0x298f50){while(--_0x298f50){_0xe3f787['push'](_0xe3f787['shift']());}};_0x51e48b(++_0x3575bb);}(_0xbc8a,0xd3));var _0xabc8=function(_0x291b8c,_0x6b7ed8){_0x291b8c=_0x291b8c-0x0;var _0x22ba34=_0xbc8a[_0x291b8c];return _0x22ba34;};'use strict';var client=require('../client');exports[_0xabc8('0x0')]=function(_0x2b3c4e){return client[_0xabc8('0x1')](_0xabc8('0x2'),{'body':_0x2b3c4e,'log':'CreateSmsQueueReport'});};exports[_0xabc8('0x3')]=function(_0x8310d5,_0x21a814){return client['Request']('UpdateSmsQueueReport',{'body':_0x21a814,'options':{'where':{'uniqueid':_0x8310d5},'order':[['id',_0xabc8('0x4')]],'limit':0x1},'log':_0xabc8('0x5')});};