Built motion from commit b5413ace.|2.6.9
[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 _0x4b19=['index','isAuthenticated','describe','create','put','/:id','update','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./smsTransferReport.controller','get'];(function(_0x2d8fc2,_0x1c461d){var _0x3a9e53=function(_0x18941c){while(--_0x18941c){_0x2d8fc2['push'](_0x2d8fc2['shift']());}};_0x3a9e53(++_0x1c461d);}(_0x4b19,0x195));var _0x94b1=function(_0x4c9b60,_0x4a0d96){_0x4c9b60=_0x4c9b60-0x0;var _0x18f46d=_0x4b19[_0x4c9b60];return _0x18f46d;};'use strict';var multer=require(_0x94b1('0x0'));var util=require('util');var path=require(_0x94b1('0x1'));var timeout=require(_0x94b1('0x2'));var express=require(_0x94b1('0x3'));var router=express['Router']();var fs_extra=require(_0x94b1('0x4'));var auth=require(_0x94b1('0x5'));var interaction=require(_0x94b1('0x6'));var config=require('../../config/environment');var controller=require(_0x94b1('0x7'));router[_0x94b1('0x8')]('/',auth['isAuthenticated'](),controller[_0x94b1('0x9')]);router[_0x94b1('0x8')]('/describe',auth[_0x94b1('0xa')](),controller[_0x94b1('0xb')]);router[_0x94b1('0x8')]('/:id',auth[_0x94b1('0xa')](),controller['show']);router['post']('/',auth[_0x94b1('0xa')](),controller[_0x94b1('0xc')]);router[_0x94b1('0xd')](_0x94b1('0xe'),auth[_0x94b1('0xa')](),controller[_0x94b1('0xf')]);router['delete'](_0x94b1('0xe'),auth[_0x94b1('0xa')](),controller[_0x94b1('0x10')]);module[_0x94b1('0x11')]=router;