f10a5c8e8c4b19044e9da6610e338198e7769513
[motion2.git] / server / api / migration / 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 _0x7e02=['get','index','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment'];(function(_0x174737,_0xacc045){var _0x1efe59=function(_0x1aa058){while(--_0x1aa058){_0x174737['push'](_0x174737['shift']());}};_0x1efe59(++_0xacc045);}(_0x7e02,0x71));var _0x27e0=function(_0x31d012,_0x46b6f7){_0x31d012=_0x31d012-0x0;var _0x340687=_0x7e02[_0x31d012];return _0x340687;};'use strict';var multer=require(_0x27e0('0x0'));var util=require(_0x27e0('0x1'));var path=require(_0x27e0('0x2'));var timeout=require(_0x27e0('0x3'));var express=require(_0x27e0('0x4'));var router=express[_0x27e0('0x5')]();var fs_extra=require(_0x27e0('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x27e0('0x7'));var controller=require('./migration.controller');router[_0x27e0('0x8')]('/',controller[_0x27e0('0x9')]);module[_0x27e0('0xa')]=router;