Built motion from commit 9d0783e6.|2.6.13
[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 _0xa3e6=['express','Router','fs-extra','../../components/interaction/service','./smsTransferReport.controller','get','isAuthenticated','index','describe','put','update','delete','/:id','destroy','multer','path'];(function(_0x5b278d,_0x1a3a8d){var _0x1777da=function(_0x37de6c){while(--_0x37de6c){_0x5b278d['push'](_0x5b278d['shift']());}};_0x1777da(++_0x1a3a8d);}(_0xa3e6,0xbe));var _0x6a3e=function(_0x395007,_0x23ee1d){_0x395007=_0x395007-0x0;var _0x1dc2d0=_0xa3e6[_0x395007];return _0x1dc2d0;};'use strict';var multer=require(_0x6a3e('0x0'));var util=require('util');var path=require(_0x6a3e('0x1'));var timeout=require('connect-timeout');var express=require(_0x6a3e('0x2'));var router=express[_0x6a3e('0x3')]();var fs_extra=require(_0x6a3e('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x6a3e('0x5'));var config=require('../../config/environment');var controller=require(_0x6a3e('0x6'));router[_0x6a3e('0x7')]('/',auth[_0x6a3e('0x8')](),controller[_0x6a3e('0x9')]);router[_0x6a3e('0x7')]('/describe',auth[_0x6a3e('0x8')](),controller[_0x6a3e('0xa')]);router['get']('/:id',auth[_0x6a3e('0x8')](),controller['show']);router['post']('/',auth[_0x6a3e('0x8')](),controller['create']);router[_0x6a3e('0xb')]('/:id',auth[_0x6a3e('0x8')](),controller[_0x6a3e('0xc')]);router[_0x6a3e('0xd')](_0x6a3e('0xe'),auth[_0x6a3e('0x8')](),controller[_0x6a3e('0xf')]);module['exports']=router;