Built motion from commit (unavailable).|2.5.14
[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 _0x62cf=['CreateSmsQueueReport','Request','UpdateSmsQueueReport','DESC','../client'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0x62cf,0x81));var _0xf62c=function(_0x5af87e,_0x1beb15){_0x5af87e=_0x5af87e-0x0;var _0x1153f3=_0x62cf[_0x5af87e];return _0x1153f3;};'use strict';var client=require(_0xf62c('0x0'));exports['create']=function(_0x2bf55f){return client['Request'](_0xf62c('0x1'),{'body':_0x2bf55f,'log':_0xf62c('0x1')});};exports['update']=function(_0x49074e,_0x25a1a1){return client[_0xf62c('0x2')](_0xf62c('0x3'),{'body':_0x25a1a1,'options':{'where':{'uniqueid':_0x49074e},'order':[['id',_0xf62c('0x4')]],'limit':0x1},'log':_0xf62c('0x3')});};