Built motion from commit (unavailable).|2.5.17
[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 _0x9c30=['DESC','UpdateSmsQueueReport','../client','Request','CreateSmsQueueReport'];(function(_0x39fadf,_0x56e630){var _0x547414=function(_0x1a6883){while(--_0x1a6883){_0x39fadf['push'](_0x39fadf['shift']());}};_0x547414(++_0x56e630);}(_0x9c30,0x11a));var _0x09c3=function(_0x226493,_0x304352){_0x226493=_0x226493-0x0;var _0x129a8f=_0x9c30[_0x226493];return _0x129a8f;};'use strict';var client=require(_0x09c3('0x0'));exports['create']=function(_0xa74eac){return client[_0x09c3('0x1')](_0x09c3('0x2'),{'body':_0xa74eac,'log':_0x09c3('0x2')});};exports['update']=function(_0x3fdcd2,_0x489f45){return client['Request']('UpdateSmsQueueReport',{'body':_0x489f45,'options':{'where':{'uniqueid':_0x3fdcd2},'order':[['id',_0x09c3('0x3')]],'limit':0x1},'log':_0x09c3('0x4')});};