3ec7fa7aa387742a78b7b9d0758e6e767228d41f
[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 _0x9652=['./migration.controller','exports','multer','path','express','Router','../../config/environment'];(function(_0x21d0c3,_0x16c71c){var _0x4df18e=function(_0x576bfe){while(--_0x576bfe){_0x21d0c3['push'](_0x21d0c3['shift']());}};_0x4df18e(++_0x16c71c);}(_0x9652,0x198));var _0x2965=function(_0x1dd467,_0x4a19b4){_0x1dd467=_0x1dd467-0x0;var _0x106e44=_0x9652[_0x1dd467];return _0x106e44;};'use strict';var multer=require(_0x2965('0x0'));var util=require('util');var path=require(_0x2965('0x1'));var timeout=require('connect-timeout');var express=require(_0x2965('0x2'));var router=express[_0x2965('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2965('0x4'));var controller=require(_0x2965('0x5'));router['get']('/',controller['index']);module[_0x2965('0x6')]=router;