Built motion from commit (unavailable).|2.5.6
[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 _0x4483=['util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','delete','multer'];(function(_0x398193,_0x156fc9){var _0x19d2be=function(_0x34c853){while(--_0x34c853){_0x398193['push'](_0x398193['shift']());}};_0x19d2be(++_0x156fc9);}(_0x4483,0x1a3));var _0x3448=function(_0x13426f,_0x226599){_0x13426f=_0x13426f-0x0;var _0xadb5c4=_0x4483[_0x13426f];return _0xadb5c4;};'use strict';var multer=require(_0x3448('0x0'));var util=require(_0x3448('0x1'));var path=require(_0x3448('0x2'));var timeout=require('connect-timeout');var express=require(_0x3448('0x3'));var router=express[_0x3448('0x4')]();var auth=require(_0x3448('0x5'));var interaction=require(_0x3448('0x6'));var config=require(_0x3448('0x7'));var controller=require('./smsTransferReport.controller');router[_0x3448('0x8')]('/',auth[_0x3448('0x9')](),controller[_0x3448('0xa')]);router[_0x3448('0x8')](_0x3448('0xb'),auth[_0x3448('0x9')](),controller[_0x3448('0xc')]);router[_0x3448('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x3448('0xd')]);router[_0x3448('0xe')]('/',auth[_0x3448('0x9')](),controller[_0x3448('0xf')]);router[_0x3448('0x10')](_0x3448('0x11'),auth[_0x3448('0x9')](),controller[_0x3448('0x12')]);router[_0x3448('0x13')](_0x3448('0x11'),auth[_0x3448('0x9')](),controller['destroy']);module['exports']=router;