Built motion from commit (unavailable).|2.5.0
[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 _0xa738=['update','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','index','put','/:id','isAuthenticated'];(function(_0x25972f,_0x413623){var _0x2024ec=function(_0x4a6d4d){while(--_0x4a6d4d){_0x25972f['push'](_0x25972f['shift']());}};_0x2024ec(++_0x413623);}(_0xa738,0x160));var _0x8a73=function(_0x447f5f,_0x1e29f9){_0x447f5f=_0x447f5f-0x0;var _0x786043=_0xa738[_0x447f5f];return _0x786043;};'use strict';var multer=require(_0x8a73('0x0'));var util=require(_0x8a73('0x1'));var path=require(_0x8a73('0x2'));var timeout=require(_0x8a73('0x3'));var express=require(_0x8a73('0x4'));var router=express['Router']();var auth=require(_0x8a73('0x5'));var interaction=require(_0x8a73('0x6'));var config=require(_0x8a73('0x7'));var controller=require('./license.controller');router['get']('/',controller[_0x8a73('0x8')]);router[_0x8a73('0x9')](_0x8a73('0xa'),auth[_0x8a73('0xb')](),controller[_0x8a73('0xc')]);module[_0x8a73('0xd')]=router;