8a83ed906f61774586810783251d81577a8030ba
[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 _0x3612=['update','DESC','UpdateSmsQueueReport','../client','Request','CreateSmsQueueReport'];(function(_0x3277a1,_0x1b40b3){var _0x22fa7f=function(_0x1be8ba){while(--_0x1be8ba){_0x3277a1['push'](_0x3277a1['shift']());}};_0x22fa7f(++_0x1b40b3);}(_0x3612,0x189));var _0x2361=function(_0xf2682d,_0x48f012){_0xf2682d=_0xf2682d-0x0;var _0x53dea0=_0x3612[_0xf2682d];return _0x53dea0;};'use strict';var client=require(_0x2361('0x0'));exports['create']=function(_0x94bf0b){return client[_0x2361('0x1')](_0x2361('0x2'),{'body':_0x94bf0b,'log':_0x2361('0x2')});};exports[_0x2361('0x3')]=function(_0xc7e38,_0x428736){return client[_0x2361('0x1')]('UpdateSmsQueueReport',{'body':_0x428736,'options':{'where':{'uniqueid':_0xc7e38},'order':[['id',_0x2361('0x4')]],'limit':0x1},'log':_0x2361('0x5')});};