40f71d4d12dc84bcf95443ac750672ecaff8f140
[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 _0xcc8f=['Request','CreateSmsQueueReport','update','DESC','UpdateSmsQueueReport','../client'];(function(_0x4e9628,_0x250573){var _0x27bc8c=function(_0xb3b7ae){while(--_0xb3b7ae){_0x4e9628['push'](_0x4e9628['shift']());}};_0x27bc8c(++_0x250573);}(_0xcc8f,0x10d));var _0xfcc8=function(_0x123f74,_0x3a3996){_0x123f74=_0x123f74-0x0;var _0x165a85=_0xcc8f[_0x123f74];return _0x165a85;};'use strict';var client=require(_0xfcc8('0x0'));exports['create']=function(_0x5bc7d0){return client[_0xfcc8('0x1')](_0xfcc8('0x2'),{'body':_0x5bc7d0,'log':'CreateSmsQueueReport'});};exports[_0xfcc8('0x3')]=function(_0x37ab76,_0x32f523){return client[_0xfcc8('0x1')]('UpdateSmsQueueReport',{'body':_0x32f523,'options':{'where':{'uniqueid':_0x37ab76},'order':[['id',_0xfcc8('0x4')]],'limit':0x1},'log':_0xfcc8('0x5')});};