Built motion from commit (unavailable).|2.4.21
[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 _0x6e1c=['UpdateSmsQueueReport','DESC','../client','Request','CreateSmsQueueReport','update'];(function(_0x3aaf0a,_0x450970){var _0x33e6bc=function(_0x1db54d){while(--_0x1db54d){_0x3aaf0a['push'](_0x3aaf0a['shift']());}};_0x33e6bc(++_0x450970);}(_0x6e1c,0xb6));var _0xc6e1=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x6e1c[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0xc6e1('0x0'));exports['create']=function(_0x4c5235){return client[_0xc6e1('0x1')](_0xc6e1('0x2'),{'body':_0x4c5235,'log':_0xc6e1('0x2')});};exports[_0xc6e1('0x3')]=function(_0x45a35f,_0x1905d7){return client[_0xc6e1('0x1')](_0xc6e1('0x4'),{'body':_0x1905d7,'options':{'where':{'uniqueid':_0x45a35f},'order':[['id',_0xc6e1('0x5')]],'limit':0x1},'log':_0xc6e1('0x4')});};