47d8f4fb1a3c36cbea2736a5b433ee73734a9318
[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 _0x0560=['index','exports','multer','path','connect-timeout','../../components/interaction/service','get'];(function(_0x167346,_0x1c1dfc){var _0x41d4af=function(_0x7eac6e){while(--_0x7eac6e){_0x167346['push'](_0x167346['shift']());}};_0x41d4af(++_0x1c1dfc);}(_0x0560,0x95));var _0x0056=function(_0x551a1f,_0x38db7d){_0x551a1f=_0x551a1f-0x0;var _0x5a2822=_0x0560[_0x551a1f];return _0x5a2822;};'use strict';var multer=require(_0x0056('0x0'));var util=require('util');var path=require(_0x0056('0x1'));var timeout=require(_0x0056('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x0056('0x3'));var config=require('../../config/environment');var controller=require('./migration.controller');router[_0x0056('0x4')]('/',controller[_0x0056('0x5')]);module[_0x0056('0x6')]=router;