f44d3ac99cdb7c905cda1600c4e6bc037628fb3e
[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 _0xb675=['UpdateSmsQueueReport','DESC','../client','Request','CreateSmsQueueReport','update'];(function(_0x580576,_0x2f107d){var _0x3f55a0=function(_0x2e180b){while(--_0x2e180b){_0x580576['push'](_0x580576['shift']());}};_0x3f55a0(++_0x2f107d);}(_0xb675,0xe6));var _0x5b67=function(_0x11b8ae,_0x485fa8){_0x11b8ae=_0x11b8ae-0x0;var _0x35a448=_0xb675[_0x11b8ae];return _0x35a448;};'use strict';var client=require(_0x5b67('0x0'));exports['create']=function(_0x30dfd9){return client[_0x5b67('0x1')](_0x5b67('0x2'),{'body':_0x30dfd9,'log':'CreateSmsQueueReport'});};exports[_0x5b67('0x3')]=function(_0x18dbb0,_0x54d6ff){return client['Request'](_0x5b67('0x4'),{'body':_0x54d6ff,'options':{'where':{'uniqueid':_0x18dbb0},'order':[['id',_0x5b67('0x5')]],'limit':0x1},'log':_0x5b67('0x4')});};