Built motion from commit (unavailable).|2.5.11
[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 _0xd709=['Request','CreateSmsQueueReport','update','UpdateSmsQueueReport','DESC'];(function(_0x146484,_0x27a7f0){var _0x4c7aa3=function(_0x481b98){while(--_0x481b98){_0x146484['push'](_0x146484['shift']());}};_0x4c7aa3(++_0x27a7f0);}(_0xd709,0x104));var _0x9d70=function(_0x467be9,_0x23471d){_0x467be9=_0x467be9-0x0;var _0x47cbf5=_0xd709[_0x467be9];return _0x47cbf5;};'use strict';var client=require('../client');exports['create']=function(_0x2cb952){return client[_0x9d70('0x0')]('CreateSmsQueueReport',{'body':_0x2cb952,'log':_0x9d70('0x1')});};exports[_0x9d70('0x2')]=function(_0x4bdb69,_0x587d75){return client[_0x9d70('0x0')](_0x9d70('0x3'),{'body':_0x587d75,'options':{'where':{'uniqueid':_0x4bdb69},'order':[['id',_0x9d70('0x4')]],'limit':0x1},'log':_0x9d70('0x3')});};