6ce9d95e7f8757698eda732911607f9e98893c49
[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 _0xb57a=['delete','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update'];(function(_0x27df6a,_0x59e43c){var _0x25e655=function(_0x2cfee6){while(--_0x2cfee6){_0x27df6a['push'](_0x27df6a['shift']());}};_0x25e655(++_0x59e43c);}(_0xb57a,0x13d));var _0xab57=function(_0x44da09,_0x155beb){_0x44da09=_0x44da09-0x0;var _0x36c8db=_0xb57a[_0x44da09];return _0x36c8db;};'use strict';var multer=require(_0xab57('0x0'));var util=require(_0xab57('0x1'));var path=require(_0xab57('0x2'));var timeout=require(_0xab57('0x3'));var express=require(_0xab57('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xab57('0x5'));var interaction=require(_0xab57('0x6'));var config=require(_0xab57('0x7'));var controller=require(_0xab57('0x8'));router[_0xab57('0x9')]('/',auth[_0xab57('0xa')](),controller[_0xab57('0xb')]);router['get'](_0xab57('0xc'),auth[_0xab57('0xa')](),controller[_0xab57('0xd')]);router[_0xab57('0x9')](_0xab57('0xe'),auth[_0xab57('0xa')](),controller[_0xab57('0xf')]);router[_0xab57('0x10')]('/',auth[_0xab57('0xa')](),controller['create']);router[_0xab57('0x11')](_0xab57('0xe'),auth[_0xab57('0xa')](),controller[_0xab57('0x12')]);router[_0xab57('0x13')](_0xab57('0xe'),auth[_0xab57('0xa')](),controller[_0xab57('0x14')]);module['exports']=router;