Built motion from commit (unavailable).|2.4.3
[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 _0x4189=['update','UpdateSmsQueueReport','../client','Request','CreateSmsQueueReport'];(function(_0x7791d5,_0xdab65f){var _0x5ce288=function(_0x2b818d){while(--_0x2b818d){_0x7791d5['push'](_0x7791d5['shift']());}};_0x5ce288(++_0xdab65f);}(_0x4189,0x160));var _0x9418=function(_0x417e99,_0x4ac7c7){_0x417e99=_0x417e99-0x0;var _0xe451be=_0x4189[_0x417e99];return _0xe451be;};'use strict';var client=require(_0x9418('0x0'));exports['create']=function(_0x2c1b2e){return client[_0x9418('0x1')](_0x9418('0x2'),{'body':_0x2c1b2e,'log':'CreateSmsQueueReport'});};exports[_0x9418('0x3')]=function(_0x1d2ebb,_0x4b8970){return client[_0x9418('0x1')](_0x9418('0x4'),{'body':_0x4b8970,'options':{'where':{'uniqueid':_0x1d2ebb},'order':[['id','DESC']],'limit':0x1},'log':_0x9418('0x4')});};