fae1b50d12b6eaac1f06203fe5da82fb30aeb0f6
[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 _0x775c=['./smsTransferReport.controller','get','isAuthenticated','index','describe','/:id','show','post','put','update','delete','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x37275e,_0x1eb9b){var _0x6d3d27=function(_0x49dc06){while(--_0x49dc06){_0x37275e['push'](_0x37275e['shift']());}};_0x6d3d27(++_0x1eb9b);}(_0x775c,0x161));var _0xc775=function(_0x5400a1,_0x2275aa){_0x5400a1=_0x5400a1-0x0;var _0x4006c7=_0x775c[_0x5400a1];return _0x4006c7;};'use strict';var multer=require(_0xc775('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc775('0x1'));var express=require(_0xc775('0x2'));var router=express[_0xc775('0x3')]();var auth=require(_0xc775('0x4'));var interaction=require(_0xc775('0x5'));var config=require(_0xc775('0x6'));var controller=require(_0xc775('0x7'));router[_0xc775('0x8')]('/',auth[_0xc775('0x9')](),controller[_0xc775('0xa')]);router[_0xc775('0x8')]('/describe',auth[_0xc775('0x9')](),controller[_0xc775('0xb')]);router[_0xc775('0x8')](_0xc775('0xc'),auth[_0xc775('0x9')](),controller[_0xc775('0xd')]);router[_0xc775('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc775('0xf')](_0xc775('0xc'),auth[_0xc775('0x9')](),controller[_0xc775('0x10')]);router[_0xc775('0x11')](_0xc775('0xc'),auth[_0xc775('0x9')](),controller['destroy']);module['exports']=router;