8ff50f2bbc25fe49a2277e6bc8a075aa87bd5d0d
[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 _0xce50=['index','describe','/:id','show','post','create','update','delete','util','path','connect-timeout','express','Router','../../components/interaction/service','get','isAuthenticated'];(function(_0x577c78,_0x10bb5a){var _0x420964=function(_0x5a3546){while(--_0x5a3546){_0x577c78['push'](_0x577c78['shift']());}};_0x420964(++_0x10bb5a);}(_0xce50,0x1d8));var _0x0ce5=function(_0x1203f,_0x554bbc){_0x1203f=_0x1203f-0x0;var _0x365f0a=_0xce50[_0x1203f];return _0x365f0a;};'use strict';var multer=require('multer');var util=require(_0x0ce5('0x0'));var path=require(_0x0ce5('0x1'));var timeout=require(_0x0ce5('0x2'));var express=require(_0x0ce5('0x3'));var router=express[_0x0ce5('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x0ce5('0x5'));var config=require('../../config/environment');var controller=require('./smsTransferReport.controller');router[_0x0ce5('0x6')]('/',auth[_0x0ce5('0x7')](),controller[_0x0ce5('0x8')]);router[_0x0ce5('0x6')]('/describe',auth[_0x0ce5('0x7')](),controller[_0x0ce5('0x9')]);router['get'](_0x0ce5('0xa'),auth['isAuthenticated'](),controller[_0x0ce5('0xb')]);router[_0x0ce5('0xc')]('/',auth[_0x0ce5('0x7')](),controller[_0x0ce5('0xd')]);router['put'](_0x0ce5('0xa'),auth[_0x0ce5('0x7')](),controller[_0x0ce5('0xe')]);router[_0x0ce5('0xf')](_0x0ce5('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;