54f2f1b4a75b03a1b65f1d617f79fcb571732c54
[motion2.git] / server / api / smsTransferReport / 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 _0x106f=['./smsTransferReport.controller','get','isAuthenticated','index','describe','create','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x13ea00,_0x12f610){var _0x1f7347=function(_0x34ae63){while(--_0x34ae63){_0x13ea00['push'](_0x13ea00['shift']());}};_0x1f7347(++_0x12f610);}(_0x106f,0x162));var _0xf106=function(_0x52b13a,_0x51b9b0){_0x52b13a=_0x52b13a-0x0;var _0x1e8424=_0x106f[_0x52b13a];return _0x1e8424;};'use strict';var multer=require(_0xf106('0x0'));var util=require(_0xf106('0x1'));var path=require('path');var timeout=require(_0xf106('0x2'));var express=require(_0xf106('0x3'));var router=express['Router']();var fs_extra=require(_0xf106('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xf106('0x5'));var config=require(_0xf106('0x6'));var controller=require(_0xf106('0x7'));router[_0xf106('0x8')]('/',auth[_0xf106('0x9')](),controller[_0xf106('0xa')]);router[_0xf106('0x8')]('/describe',auth[_0xf106('0x9')](),controller[_0xf106('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xf106('0x9')](),controller[_0xf106('0xc')]);router[_0xf106('0xd')](_0xf106('0xe'),auth[_0xf106('0x9')](),controller[_0xf106('0xf')]);router[_0xf106('0x10')](_0xf106('0xe'),auth[_0xf106('0x9')](),controller[_0xf106('0x11')]);module[_0xf106('0x12')]=router;