2583e854c1fe3dc6cbb45976a09822390d610f54
[motion2.git] / server / api / smsQueueReport / index.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 _0xab13=['post','create','update','delete','destroy','exports','multer','path','express','Router','fs-extra','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show'];(function(_0x38af13,_0x3949a1){var _0x56a221=function(_0xf457af){while(--_0xf457af){_0x38af13['push'](_0x38af13['shift']());}};_0x56a221(++_0x3949a1);}(_0xab13,0x8b));var _0x3ab1=function(_0x172e0a,_0x15d22a){_0x172e0a=_0x172e0a-0x0;var _0x4baf16=_0xab13[_0x172e0a];return _0x4baf16;};'use strict';var multer=require(_0x3ab1('0x0'));var util=require('util');var path=require(_0x3ab1('0x1'));var timeout=require('connect-timeout');var express=require(_0x3ab1('0x2'));var router=express[_0x3ab1('0x3')]();var fs_extra=require(_0x3ab1('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x3ab1('0x5'));var controller=require(_0x3ab1('0x6'));router[_0x3ab1('0x7')]('/',auth[_0x3ab1('0x8')](),controller[_0x3ab1('0x9')]);router[_0x3ab1('0x7')](_0x3ab1('0xa'),auth[_0x3ab1('0x8')](),controller['describe']);router[_0x3ab1('0x7')](_0x3ab1('0xb'),auth[_0x3ab1('0x8')](),controller[_0x3ab1('0xc')]);router[_0x3ab1('0xd')]('/',auth[_0x3ab1('0x8')](),controller[_0x3ab1('0xe')]);router['put']('/:id',auth[_0x3ab1('0x8')](),controller[_0x3ab1('0xf')]);router[_0x3ab1('0x10')](_0x3ab1('0xb'),auth['isAuthenticated'](),controller[_0x3ab1('0x11')]);module[_0x3ab1('0x12')]=router;