Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / license / 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 _0x70c2=['express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','put','isAuthenticated','update','exports','multer','util','path','connect-timeout'];(function(_0x483a46,_0x1a2fc8){var _0x15f360=function(_0x43a9d7){while(--_0x43a9d7){_0x483a46['push'](_0x483a46['shift']());}};_0x15f360(++_0x1a2fc8);}(_0x70c2,0x83));var _0x270c=function(_0x189d60,_0x5db550){_0x189d60=_0x189d60-0x0;var _0x500cf7=_0x70c2[_0x189d60];return _0x500cf7;};'use strict';var multer=require(_0x270c('0x0'));var util=require(_0x270c('0x1'));var path=require(_0x270c('0x2'));var timeout=require(_0x270c('0x3'));var express=require(_0x270c('0x4'));var router=express[_0x270c('0x5')]();var fs_extra=require(_0x270c('0x6'));var auth=require(_0x270c('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x270c('0x8'));var controller=require('./license.controller');router[_0x270c('0x9')]('/',controller[_0x270c('0xa')]);router[_0x270c('0xb')]('/:id',auth[_0x270c('0xc')](),controller[_0x270c('0xd')]);module[_0x270c('0xe')]=router;