25a0aefafbceb080fbaa0d66f327438b94b4ca7c
[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 _0xfd7b=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','util','path','connect-timeout','express'];(function(_0x551e97,_0x304c76){var _0x4fb87c=function(_0x4a3bb2){while(--_0x4a3bb2){_0x551e97['push'](_0x551e97['shift']());}};_0x4fb87c(++_0x304c76);}(_0xfd7b,0x1df));var _0xbfd7=function(_0x1e3671,_0x9ae4fc){_0x1e3671=_0x1e3671-0x0;var _0x48d5f5=_0xfd7b[_0x1e3671];return _0x48d5f5;};'use strict';var multer=require('multer');var util=require(_0xbfd7('0x0'));var path=require(_0xbfd7('0x1'));var timeout=require(_0xbfd7('0x2'));var express=require(_0xbfd7('0x3'));var router=express[_0xbfd7('0x4')]();var fs_extra=require(_0xbfd7('0x5'));var auth=require(_0xbfd7('0x6'));var interaction=require(_0xbfd7('0x7'));var config=require(_0xbfd7('0x8'));var controller=require(_0xbfd7('0x9'));router[_0xbfd7('0xa')]('/',auth[_0xbfd7('0xb')](),controller[_0xbfd7('0xc')]);router['get'](_0xbfd7('0xd'),auth['isAuthenticated'](),controller[_0xbfd7('0xe')]);router['get'](_0xbfd7('0xf'),auth[_0xbfd7('0xb')](),controller[_0xbfd7('0x10')]);router[_0xbfd7('0x11')]('/',auth['isAuthenticated'](),controller[_0xbfd7('0x12')]);router[_0xbfd7('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xbfd7('0x14')]);router[_0xbfd7('0x15')](_0xbfd7('0xf'),auth[_0xbfd7('0xb')](),controller[_0xbfd7('0x16')]);module['exports']=router;