Built motion from commit (unavailable).|2.4.20
[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 _0xd052=['CreateSmsQueueReport','Request','UpdateSmsQueueReport'];(function(_0x99b119,_0x4c4d2a){var _0x4792b8=function(_0x3587a5){while(--_0x3587a5){_0x99b119['push'](_0x99b119['shift']());}};_0x4792b8(++_0x4c4d2a);}(_0xd052,0x69));var _0x2d05=function(_0x51ebb3,_0x52ce46){_0x51ebb3=_0x51ebb3-0x0;var _0x36dc3c=_0xd052[_0x51ebb3];return _0x36dc3c;};'use strict';var client=require('../client');exports['create']=function(_0x1c40ac){return client['Request'](_0x2d05('0x0'),{'body':_0x1c40ac,'log':'CreateSmsQueueReport'});};exports['update']=function(_0x10f2ea,_0x51c856){return client[_0x2d05('0x1')](_0x2d05('0x2'),{'body':_0x51c856,'options':{'where':{'uniqueid':_0x10f2ea},'order':[['id','DESC']],'limit':0x1},'log':_0x2d05('0x2')});};