fc40695b3767153abdec83461b91cc734a225438
[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 _0xb9f4=['update','UpdateSmsQueueReport','../client','Request','CreateSmsQueueReport'];(function(_0x1aa875,_0x506c4a){var _0x46d9b8=function(_0x766d35){while(--_0x766d35){_0x1aa875['push'](_0x1aa875['shift']());}};_0x46d9b8(++_0x506c4a);}(_0xb9f4,0x101));var _0x4b9f=function(_0xd2a94b,_0x5c2dff){_0xd2a94b=_0xd2a94b-0x0;var _0xfde4e8=_0xb9f4[_0xd2a94b];return _0xfde4e8;};'use strict';var client=require(_0x4b9f('0x0'));exports['create']=function(_0xb201f2){return client[_0x4b9f('0x1')]('CreateSmsQueueReport',{'body':_0xb201f2,'log':_0x4b9f('0x2')});};exports[_0x4b9f('0x3')]=function(_0x210a90,_0xb818c8){return client[_0x4b9f('0x1')](_0x4b9f('0x4'),{'body':_0xb818c8,'options':{'where':{'uniqueid':_0x210a90},'order':[['id','DESC']],'limit':0x1},'log':'UpdateSmsQueueReport'});};