b07be93001b2214af4557c8548a44af206038336
[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 _0x3748=['../client','create','CreateSmsQueueReport','update','Request','UpdateSmsQueueReport','DESC'];(function(_0x508a0a,_0x3ed316){var _0x4acf06=function(_0x9cea61){while(--_0x9cea61){_0x508a0a['push'](_0x508a0a['shift']());}};_0x4acf06(++_0x3ed316);}(_0x3748,0x12d));var _0x8374=function(_0x4f6588,_0x34099a){_0x4f6588=_0x4f6588-0x0;var _0xc62e9f=_0x3748[_0x4f6588];return _0xc62e9f;};'use strict';var client=require(_0x8374('0x0'));exports[_0x8374('0x1')]=function(_0x25ead3){return client['Request'](_0x8374('0x2'),{'body':_0x25ead3,'log':_0x8374('0x2')});};exports[_0x8374('0x3')]=function(_0x31f8da,_0xf241a){return client[_0x8374('0x4')](_0x8374('0x5'),{'body':_0xf241a,'options':{'where':{'uniqueid':_0x31f8da},'order':[['id',_0x8374('0x6')]],'limit':0x1},'log':_0x8374('0x5')});};