de7e32a8d53cd6aba91930f8085a2638beabda50
[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 _0xac4a=['Router','../../config/environment','./smsTransferReport.controller','get','index','/describe','describe','show','isAuthenticated','/:id','update','delete','exports','multer','util','path','connect-timeout','express'];(function(_0x3b94b5,_0x589987){var _0x1fd00a=function(_0x46d30a){while(--_0x46d30a){_0x3b94b5['push'](_0x3b94b5['shift']());}};_0x1fd00a(++_0x589987);}(_0xac4a,0x13f));var _0xaac4=function(_0x533f5d,_0x1547a5){_0x533f5d=_0x533f5d-0x0;var _0x22c6bc=_0xac4a[_0x533f5d];return _0x22c6bc;};'use strict';var multer=require(_0xaac4('0x0'));var util=require(_0xaac4('0x1'));var path=require(_0xaac4('0x2'));var timeout=require(_0xaac4('0x3'));var express=require(_0xaac4('0x4'));var router=express[_0xaac4('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xaac4('0x6'));var controller=require(_0xaac4('0x7'));router[_0xaac4('0x8')]('/',auth['isAuthenticated'](),controller[_0xaac4('0x9')]);router['get'](_0xaac4('0xa'),auth['isAuthenticated'](),controller[_0xaac4('0xb')]);router[_0xaac4('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xaac4('0xc')]);router['post']('/',auth[_0xaac4('0xd')](),controller['create']);router['put'](_0xaac4('0xe'),auth[_0xaac4('0xd')](),controller[_0xaac4('0xf')]);router[_0xaac4('0x10')](_0xaac4('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0xaac4('0x11')]=router;