Built motion from commit (unavailable).|2.5.31
[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 _0xff7c=['isAuthenticated','update','exports','connect-timeout','fs-extra','../../components/auth/service','./license.controller','get','put'];(function(_0x39e090,_0xbb5a69){var _0x1abd66=function(_0x55ab0c){while(--_0x55ab0c){_0x39e090['push'](_0x39e090['shift']());}};_0x1abd66(++_0xbb5a69);}(_0xff7c,0x174));var _0xcff7=function(_0x4a747d,_0x3b747f){_0x4a747d=_0x4a747d-0x0;var _0x3a5b5c=_0xff7c[_0x4a747d];return _0x3a5b5c;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xcff7('0x0'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xcff7('0x1'));var auth=require(_0xcff7('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcff7('0x3'));router[_0xcff7('0x4')]('/',controller['index']);router[_0xcff7('0x5')]('/:id',auth[_0xcff7('0x6')](),controller[_0xcff7('0x7')]);module[_0xcff7('0x8')]=router;